PHP Part-III
Sign in to Google to save your progress. Learn more
What are the recommended settings in the PHP configuration file, php.ini, for a testing environment? *
1 point
Which PHP script finds the earliest and latest dates from an array? *
1 point
Which command will extract the domain suffix ("com") from the string $string = "https://cat-bounce.com";? *
1 point
Where is PHP code executed? *
1 point
Imagine a web application, built following a MVC architecture, that contains a quiz and a button to score it, When the user presses the Score button, which component should handle the request? *
1 point
Which script might be used to continue a user's search for music, across different webpages? *
1 point
What below script will print? *
1 point
Captionless Image
Which PHP variable name is invalid? *
1 point
What type of computer language is PHP? *
1 point
What is the output of this script? *
1 point
Captionless Image
Which is not a valid magic constant? *
1 point
What is the output of this script? *
1 point
Captionless Image
Create an associative array using $array1 as the keys and $array2 as the values: *
1 point
Captionless Image
A PHP "variable variable" takes the value of a variable and treats that as the name of a variable. For example, if $var is a variable then $$var is a variable variable whose name is the value of $var. Which script produces the output below, using variable variables? *
1 point
Captionless Image
In PHP 7, What is the correct way to import multiple classes from namespace in a single declaration ?! *
1 point
What is the resulting output of this for statement? *
1 point
Captionless Image
Which is the most complete list of data types that PHP supports? *
1 point
Which loop displays all numbers from 1 to 10 inclusive? *
1 point
Assume that $r is 255, and $g and $b are both 0. What is the correct code to output "#ff0000"? *
1 point
Which superglobal variable holds information about headers, paths, and script locations? *
1 point
When should this php script be used? *
1 point
Captionless Image
Submit
Clear form
This content is neither created nor endorsed by Google.