3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(chr(e2), chr(99), ord(ab));
Output for 7.2.0
Warning: Use of undefined constant e2 - assumed 'e2' (this will throw an Error in a future version of PHP) in /in/tncQf on line 2 Warning: Use of undefined constant ab - assumed 'ab' (this will throw an Error in a future version of PHP) in /in/tncQf on line 2 string(1) "" string(1) "c" int(97)
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant e2 - assumed 'e2' in /in/tncQf on line 2 Notice: Use of undefined constant ab - assumed 'ab' in /in/tncQf on line 2 string(1) "" string(1) "c" int(97)