Next Sep 28 Previous
Item 547239
What does the following code output:
<?php $s = str_split("abcdefghijklmnopqrstuvwxyz", 2); echo ($s[3][0]="e") ? $s[3][0].$s[2][0] : $s[1][0].$s[0][0]; ?>
A: "ca"
B: "ge"
C: "ga"
D: "ee"
E: Notice: Cannot use object of type string as array in test.php on line 3
F: Fatal error: Call to undefined function str_split() in test.php on line 2