What is the outcome of this piece of code:
<?php
$webmull= decoct(125);
echo $webmull;
?>
Correct!
Wrong!
What is the outcome of this piece of code:
<?php
$webmull = "true";
echo gettype($webmull);
echo empty($webmull);
echo is_null($webmull);
echo isset($webmull);
?>
Correct!
Wrong!
What is the output of the following code?
<?php
for ($php = 0; $php < 1.02; $php += 0.17) {
$webmull[$php] = $php;
}
echo count($webmull);
?>
Correct!
Wrong!
What is the output of the following script?
<?php
function webmull ($web = 20, $mull)
{
if (isset ($mull)) {
return $mull / $web;
}
}
echo webmull (0);
?>
Correct!
Wrong!
What is the outcome of this piece of code?
<?php
namespace version\one;
function strlen($str) {
echo \strlen($str);
}
use version\one;
echo strlen('book');
?>
Correct!
Wrong!
Output of the following script will be ?
<?php
$phpcount = 50;
function webmull() {
$phpcount++;
echo $phpcount;
}
webmull();
?>
Correct!
Wrong!
what would be output of following php code?
<?php
$a = 10;
echo 'Value of a = $a'
?>
Correct!
Wrong!
what would be output of following php code?
<?php
$php_var = 18;
echo "Value of php_var = $php_var";
?>
Correct!
Wrong!
The output of ofllowing script would be?
<?php
function webmull () {
global $php_webmull;
$php_webmull++ ;
echo "php_webmull is $php_webmull";
}
webmull ();
?>
Correct!
Wrong!
Output of the following code will be?
<?php
$php_var = 20;
function webmull() {
$php_var = 40;
return $php_var;
}
webmull();
echo $php_var;
?>
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
I got %%score%% of %%total%% right
Loading...