What will be the value of $a?
After performing the following operations:
<code>
$a = array(‘a’, ‘b’, ‘c’);
$a = array_keys(array_flip($a));
</code>
What will be the value of $a?
Which of the following statements about exceptions are correct?
Which of the following statements about exceptions are correct? (Choose 2)
If such functions do not return any rows, it means: (Choose 2)
After executing a query on a database server, PHP offers several functions to read the resulting
lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions do not return
any rows, it means: (Choose 2)
An unbuffered query will: (Choose 2)
An unbuffered query will: (Choose 2)
What parsing methodology is utilized by the SimpleXML extension?
What parsing methodology is utilized by the SimpleXML extension?
Which of the following is NOT possible using reflection?
Which of the following is NOT possible using reflection?
what statement is correct?
Given the following two functions, what statement is correct?
<code>
functiondynamicNew($name) {
returnnew $name;
}
functionreflectionNew($name) {
$r = new ReflectionClass($name);
return$r->newInstanceArgs();
}
</code>
Which string will be returned by the following function call?
Which string will be returned by the following function call?
<code>
$test = ‘/etc/conf.d/wireless’;
substr($test, strrpos($test, ‘/’));
</code>
Which of the following statements about Reflection are correct?
Which of the following statements about Reflection are correct? (Choose 2)
what super-global will contain the command line arguments specified?
When PHP is running on a command line, what super-global will contain the command line
arguments specified?