12m 00s
ID: 666
When checking to see if two variables contain the same instance of an object, which of the following comparisons should be used?
ID: 288
Which of the following is an associative array of items uploaded by the current PHP script via the HTTP POST method?
$_ENV
$_REQUEST
$_FILES
$_COOKIE
ID: 257
Which of the following joins retrieves all rows from one table and only the matching rows from the joined table?
ID: 164
Which of the following functions is the best choice to retrieve the fingerprint of a string?
hash()
md5()
crypt()
fingerprint()
ID: 169
Which of the following settings will you use to secure your application? Each correct answer represents a complete solution. (Choose all that apply)
ID: 478
What is the output of the following?
$a = 0xf2 + 0x09; $b = $a >> 3; echo $b;
ID: 171
Which of the following functions wraps a string to a given number of characters?
ID: 71
What will be the output of the PHP script given below?
$array1 = array("orange", "banana", "apple", "raspberry"); $array2 = array(0 => "pineapple", 4 => "cherry"); $array3 = array(0 => "grape"); $array4 = array_replace($array1, $array2, $array3); print_r($array4);
Array ( [0] => orange [1] => banana [2] => apple [3] => raspberry [4] => grape )
Array ( [0] => orange [1] => banana [2] => apple [3] => raspberry [4] => cherry )
Array ( [0] => grape [1] => banana [2] => apple [3] => raspberry [4] => cherry )
Array ( [0] => banana [1] => cherry [2] => grape )
ID: 343
What is the output of the following PHP script?
$myArray = array('a', 'b', 'c'); foreach ($myArray as $k => $v) { echo $v; for ($i = 1; $i < 5; $i++) { if ($i == $k) { break(2); } echo $i; } }
Enter the exact script output
ID: 611
Which of the following functions could be used to break a string into an array?
preg_match_all()
string_split()
array_split()
explode()