3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $payload = ';echo "foo";'; var_dump(\preg_replace("<[JQ4Go]>ei", $payload, "eC1tb3o="));
based on vB3RO
Output for 7.0.0 - 7.3.0alpha1
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/p1iZO on line 5 NULL
Output for 5.5.0 - 5.6.28
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /in/p1iZO on line 5 string(7) "eC1tb3="
Output for 5.3.0 - 5.4.45
string(7) "eC1tb3="
Output for 4.3.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/p1iZO on line 5 string(7) "eC1tb3="