3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "LOA_SANTANDER_PERSONAL_LOAN_TIER1"; $split = explode($str); foreach($split as $chr){ echo $chr . " - " . ord($chr) . "<br>"; }
Output for 5.3.0 - 7.2.0
Warning: explode() expects at least 2 parameters, 1 given in /in/GTi0q on line 5 Warning: Invalid argument supplied for foreach() in /in/GTi0q on line 7
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.2.17
Warning: Wrong parameter count for explode() in /in/GTi0q on line 5 Warning: Invalid argument supplied for foreach() in /in/GTi0q on line 7
Output for 4.3.11
Warning: Wrong parameter count for explode() in /in/GTi0q on line 5