3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $www = 'SomeCode'; $x = preg_replace('/ad/e' , '@'.str_rot13('riny').'('.$www.')', 'add'); echo $x; // echo preg_replace('/ad/e','@'.str_rot13('riny').'('$www')', 'add');
Output for 7.0.0 - 7.3.1
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/bf1u5 on line 3
Output for 5.5.0 - 5.6.28
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /in/bf1u5 on line 3 d
Output for 5.4.11 - 5.4.45
d
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.4.10
d
Process exited with code 255.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/bf1u5 on line 5
Process exited with code 255.