Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something $_10 ${“MyVar”} $aVaR $10_somethings &$something $_10 ${“MyVar”} $aVaR $10_somethings ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False the one-character string 0 All of Above both A and B constant NULL the integer 0 the one-character string 0 All of Above both A and B constant NULL the integer 0 ANSWER DOWNLOAD EXAMIANS APP