PHP does not support numbers written in hexadecimal, octal or scientific notation. False True TRUE ANSWER : ? YOUR ANSWER : ?
PHP files have a default file extension of_______. .ph .html .php .xml TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following php code?<br/>$num = 1;<br/>$num1 = 2;<br/>print $num . "+". $num1; Error 1.+.2 1+2 3 TRUE ANSWER : ? YOUR ANSWER : ?
If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 1 Error 5 12 TRUE ANSWER : ? YOUR ANSWER : ?
PHP ..... demand that you declare a data type when you create a variable. does not does TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$score = 1234;<br/>$scoreboard = (array) $score;<br/>echo $scoreboard[0]; 1 1234 2 Error TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following PHP statements will output Hello World on the screen?<br/>1. echo (“Hello World”);<br/>2. print (“Hello World”);<br/>3. printf (“Hello World”);<br/>4. sprintf (“Hello World”); All of the mentioned 1, 2 and 4 1 and 2 1, 2 and 3 TRUE ANSWER : ? YOUR ANSWER : ?
Assigning the empty string (like ' ') to a variable automatically renders it empty. False True TRUE ANSWER : ? YOUR ANSWER : ?
All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE ANSWER : ? YOUR ANSWER : ?
Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. asterix backslash percent ampersand TRUE ANSWER : ? YOUR ANSWER : ?