R
Q. what is the output of below program?
<?php function hello(){ echo "hello"; hello(); } hello(); ?>
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Login to discuss.
Yes, Option (C) is correct because, hello() function is printing hello string and also calling itself inside that function so it will print hello infinite times. Your program may be crashed.
Q. Which function is used to get ASCII value of a character in PHP ?
Q. What is the difference between array_diff() and array_diff_assoc() functions?
Q. Which version of PHP introduced Try/catch Exception?
Q. What will be the output of the following PHP code ?
Q. What will be the output of the following PHP code ?
Q. PHP considers the following values as False
Q. Which PHP operator known as "Null coalescing" operator?
Q. Which is the correct way to call a method?
Ruchi Sharma · 3 y