3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo preg_replace('/(?:(?!dog).)++/', '<$0>', 'where my dog is now?'); echo preg_replace('/(?!ba)..|(*SKIP)../', '<$0>', 'aabaabaaaaabbb');
Output for 5.3.4 - 5.3.29, 5.4.0 - 5.4.45, 5.6.28, 7.0.14, 7.1.0, 7.2.29 - 7.2.33, 7.3.16 - 7.3.33, 7.4.3 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
<aa><ba><ab><aa><aa><ab><bb>
Output for 5.3.0 - 5.3.3

Process exited with code 137.

preferences:
159.1 ms | 401 KiB | 214 Q