Above usleep() function pauses PHP for .usleep(1000000); 10 seconds 100 microseconds 1 microseconds 1 second TRUE ANSWER : ? YOUR ANSWER : ?
Type Hinting was introduced in which version of PHP? PHP 5 PHP 5.3 PHP 6 PHP 4 TRUE ANSWER : ? YOUR ANSWER : ?
A function in PHP which starts with ______ (double underscore) is know as. Default Function Magic Function Inbuilt Function User Defined Function TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo ucwords("i love all country"); I love all Country i love all Country I love all country I Love All Country TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>function addFunction($num1, $num2)<br/>{<br/>$sum = $num1 + $num2;<br/>return $sum;<br/>}<br/>$return_value = addFunction(10, 20);<br/>echo "Returned value from the function : " .$return_value Returned value from the function : Returned value from the function : $return_value Error Returned value from the function : 30 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo(atan(0.50)); 0.46364760900081 1 0.23568451142521 0.11845976421345 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>function 2myfunc()<br/>{<br/>echo "Hello World";<br/>}<br/>2myfunc(); None of the mentioned No Output ERROR Hello World TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo "chr(52)"; 4 2 3 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>function a() {<br/>function b() {<br/>echo 'I am b';<br/>}<br/>echo 'I am a';<br/>}<br/>b();<br/>a(); I am bI am a I am b Error I am a Error TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following functions can be used to compress a string? compress() gzcompress() zip_compress() zip() TRUE ANSWER : ? YOUR ANSWER : ?