What is a difference between the ?? operator and the ?: operator?
FILL BLANK -What function can be used to determine the type of an object property?
Given the following PHP function:function doSomething(?string $s) {// "¦}Which of the following values for the $s parameter do NOT yield a type error when calling the doSomething() function?
True or false: you can catch fatal errors (e.g., parse errors, out of memory errors, compilation errors) in PHP 7 using try/catch.
Youd like to use the class MyDBConnection thats defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize*as much as possible* the length of the class name you have to type. What would you do?
Consider the following two files. When you run test.php, what would the output look like?