3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "\043\056\052\043\145" . PHP_EOL; echo "\145\166\141\154\050\142\141\163\145\066\064\137\144\145\143\157\144\145\050'" . PHP_EOL; echo "'\051\051\073" . PHP_EOL; echo preg_replace("#.*#e", "x", "");
based on vvQfq
Output for 7.0.0 - 7.2.0
#.*#e eval(base64_decode(' ')); Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/X5Giu on line 7
Output for 5.5.24 - 5.6.28
#.*#e eval(base64_decode(' ')); Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /in/X5Giu on line 7 Notice: Use of undefined constant x - assumed 'x' in /in/X5Giu(7) : regexp code on line 1 x
Output for 5.3.21 - 5.4.45
#.*#e eval(base64_decode(' ')); Notice: Use of undefined constant x - assumed 'x' in /in/X5Giu(7) : regexp code on line 1 x