Shortcut Navigation:

Code XA0 Lt Quiz

What will be the output of PHP code below?  
PHP Code
 
<?php
$str = "3dollars";
$a = 20;
$a += $str;
print($a);
?>

What will be the output of PHP code below? 
PHP Code
 
<?php
function zz(& $x)
{
$x=$x+5;
}
 
$x=10;
zz($x);
echo $x;
?>

What will be the output of PHP code below?

What will be the output of PHP code below? 
PHP Code
 
<?php
$x=dir(".");
while($y=$x->read())
{
echo $y."
"
}
$y->close();
?>
 

What will be the output of PHP code below?  
PHP Code
 
<?php
$qpt = 'QualityPointTechnologies';
echo preg_match("/^Quality/", $qpt);
?>

What will be the output of PHP code below?  
PHP Code
 
<?php
$test="3.5seconds";
settype($test,"double");
settype($test,"integer");
settype($test,"string");
print($test);
?>

What will be the output of PHP code below? 
PHP Code
 
<?php
$x=array(2=>"mouse",7=>"keyboard");
$y=array_keys($x);
echo $y[1];
?>

What will be the output of PHP code below?  
PHP Code
 
<?php
$data="98.8degrees";
(double)$data;
(int)$data;
(string)$string;
echo $data;
?>

PHP is _____________

What will be the output of PHP code below? 
PHP Code
 
<?php
$x="101.5degrees";
(double)$x;
(int)$x;
echo (string)$x;
?>