3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $chars = str_split("The quick brown fox jumps over the lazy dog."); foreach ($chars as $char) { switch (strtoupper($char)) { case "A": case "E": case "I": case "O": case "U": case "Y": continue; } print $char; }
Output for 5.0.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.2.8
The quick brown fox jumps over the lazy dog.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/qBcK4 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: str_split() in /in/qBcK4 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_split() in /in/qBcK4 on line 2