When exit() is called
0 Comments
It returns True only if they are both of the same type and value
All of the above are correct <?php
$myarray = array ("My String", "Another String", "Hi, Mom!"); ?>
Using a foreach loop <?php
if($a == 'a') { somefunction(); } else if ($a == 'b') { anotherfunction(); } else if ($a == 'c') { dosomething(); } else { donothing(); } ?>
A switch statement using a default case
print() can be used as part of an expression, while echo() can’t
A String
It deletes a file
The string is discarded and the integer is preserved <?php
$s = '12345'; $s[$s[1]] = '2'; echo $s; ?>
12245 |