MCQs > IT & Programming > PHP 5 > What will be the output? declare(ticks=1); function t_handler() { echo 'Example function\n'; } register_tick_function( $x = 1; if ($x > 0) { $x += 2; print($x); } ?>

PHP 5 MCQs

What will be the output of the following PHP 7.1 code?

declare(ticks=1);

function t_handler()

{

echo "Example function\n";

}

register_tick_function( $x = 1;

if ($x > 0) {

$x += 2;

print($x);

}

?>

Answer

Correct Answer:

Example function

Example function

Example function

3Example function  


Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More PHP 5 MCQ Questions

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it