Would the following code catch a parse error?
Would the following code catch a parse error?
<code>
try{
echo$label
} catch (Exception $e) {
echo$e->getMessage();
}
</code>
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
What function should be used to escape command line arguments that are passed to commands executed from PHP?
What function should be used to escape command line arguments that are passed to commands
executed from PHP?
$_SERVER consists of data provided by the web server and is therefore trustworthy.
$_SERVER consists of data provided by the web server and is therefore trustworthy.
What is the name of the PHP function used to automatically load non-yet defined classes?
What is the name of the PHP function used to automatically load non-yet defined classes?
After executing a SELECT query on a database server,
After executing a SELECT query on a database server,
Which of the following are valid identifiers (Choose 3)
Which of the following are valid identifiers (Choose 3)
What is the output of the following code? <code> 1 <?php 2 for ($i = 0; $i < 1.02; $i += 0.17) { 3
What is the output of the following code?
<code>
1 <?php
2 for ($i = 0; $i < 1.02; $i += 0.17) {
3 $a[$i] = $i;
4 }
5 echo count($a);
6 ?>
</code>
Transactions are used to:
Transactions are used to:
What is the output of the following code?
What is the output of the following code?
<code>
printf(‘%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s’, “bananas”, “monkeys”, 9, 99);
</code>