3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function(int $severity, string $message, string $filename, int $lineNumber) : void { throw new ErrorException($message, 0, $severity, $filename, $lineNumber); }); function test() : string { return $test; } test();

Abusive script

This script was stopped while abusing our resources

Output for rfc.property-hooks, git.master, git.master_jit
Fatal error: Uncaught ErrorException: Undefined variable $test in /in/Z0bT9:8 Stack trace: #0 /in/Z0bT9(8): {closure}(2, 'Undefined varia...', '/in/Z0bT9', 8) #1 /in/Z0bT9(11): test() #2 {main} thrown in /in/Z0bT9 on line 8
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:
44.38 ms | 650 KiB | 4 Q