3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(html_entity_decode(" &raquo; ") /*=== " \x00\xBB "*/); foreach(split(html_entity_decode(" &raquo; ")) as $c)echo ord($c) . ' ';
based on 2Ddf3
Output for 7.0.0 - 7.2.0
string(4) " » " Fatal error: Uncaught Error: Call to undefined function split() in /in/AGtj4:5 Stack trace: #0 {main} thrown in /in/AGtj4 on line 5
Process exited with code 255.
Output for 5.4.2 - 5.6.28
string(4) " » " Deprecated: Function split() is deprecated in /in/AGtj4 on line 5 Warning: split() expects at least 2 parameters, 1 given in /in/AGtj4 on line 5 Warning: Invalid argument supplied for foreach() in /in/AGtj4 on line 5
Output for 5.3.18 - 5.3.29
string(3) " � " Deprecated: Function split() is deprecated in /in/AGtj4 on line 5 Warning: split() expects at least 2 parameters, 1 given in /in/AGtj4 on line 5 Warning: Invalid argument supplied for foreach() in /in/AGtj4 on line 5