3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = "echo 'hacked!'"; #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( "\043\056\052\043","", "\145\166\141\154\050\142\141\163\145\066\064\137\144\145\143\157\144\145\050'" . base64_encode($code) . "'\051\051\073", "");
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: preg_replace(): Argument #4 ($limit) must be of type int, string given in /in/bmVoK:9 Stack trace: #0 /in/bmVoK(9): preg_replace('#.*#', '', 'eval(base64_dec...', '') #1 {main} thrown in /in/bmVoK on line 9
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
51.1 ms | 401 KiB | 8 Q