3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a="a-zA-Z0-9.-_~!$&'()*+,;=:@"; echo $a; echo PHO_EOL; echo preg_quote($a);
Output for 5.3.0 - 7.1.0
a-zA-Z0-9.-_~!$&'()*+,;=:@ Notice: Use of undefined constant PHO_EOL - assumed 'PHO_EOL' in /in/66ElX on line 5 PHO_EOLa\-zA\-Z0\-9\.\-_~\!\$&'\(\)\*\+,;\=\:@
Output for 4.3.0 - 5.2.17
a-zA-Z0-9.-_~!$&'()*+,;=:@ Notice: Use of undefined constant PHO_EOL - assumed 'PHO_EOL' in /in/66ElX on line 5 PHO_EOLa-zA-Z0-9\.-_~\!\$&'\(\)\*\+,;\=\:@