PHP - String Functions
What is the output of the following PHP code?
$str = "one,two,three,four";
$result = explode(",", $str, 3);
print_r($result);$str = "one,two,three,four";
$result = explode(",", $str, 3);
print_r($result);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions