3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'a b'; print_r(explode(" ", $s)); $s = 'c d'; print_r(explode(" ", $s));

preferences:
34.32 ms | 402 KiB | 5 Q