What is the purpose of adding a lowercase “u” as a modifier after the final delimiter in a Perl-compatible regular expression?
The **_ operator is useful for sorting operations. It compares two values and returns an integer less than, equal to, or greater than 0 depending on whether on whether the value on the _**is less than, equal to, or greater than the other.
In a conditional statement, you want to execute the code only if both value are true. Which comparison operator should you use?
The ignore_user_abort( ) function sets whether a client disconnect should abort a script execution. In what scenario would you, as a web developer, use this function?
Both self and this are keywords that can be used to refer to member variables of an enclosing class. The difference is that $this->member should be used for __ members and self::$member should be used for __ members.
PHP supports multiple types of loops. If you wanted to loop through a block of code if and as long a specified condition is true, which type of loop would you use?
Both triple === and double == can be used to **_ variables in php. If you want to hear that string “33” and the number 33 are equal, you would use ** . If you want to check if an array contains a particular string value at a particular index, you would use ___
The PHP function array_reduce() takes a callback function that accepts a value carried over each iteration and the current item in the array, and reduces an array to a single value. Which code sample will sum and output the values in the provided array?
Why does this code trigger an error?: $string = ‘Shylock in a Shakespeare’s “Merchant of Venice” demands his pound of flesh.’;
For the HTML form below, what is the correct functioning script that checks the input “mail” to be sure it is filled before proceeding?
Which php control structure is used inside a loop to skip the rest of the current loops code and go back to the start of the loop for the next iteration
A PDO object called $db has been set up to use for database operations, including user authentication. All user-related properties are set. The script line public function __construct(&$db) shows a constructor that initializes all user-related properties to ____ if no user has logged in. These parameters will be properly set by the login functions when a user logs in.
You are using the following code to find a users band, but it is returning false. Which step(s) would solve the problem?
In PHP 7, What is the correct way to import multiple classes from namespace in a single declaration ?!