- What is the output of the following code:
$a = '1';
$b = &$a;
$b = "2$b";
echo $a.", ".$b;
- What is the difference between
$_GET
and$_POST
? - What does the
isset()
function mean? - Convert bellow conditional statements to ternary conditional operator?
if ($val > 8) {
echo 'bad';
} else {
echo 'good';
}
- Explain how we handle exceptions in PHP?
- What are the uses of
explode()
andimplode()
functions? - How can we load and call library in CodeIgniter framework?