3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function(function () { $error = error_get_last(); if ($error !== null) { throw new ErrorException($error['message'], 0, $error['type'], $error['file'], $error['line']); } }); ini_set('memory_limit',1); $a = range(1,100000);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Failed to set memory limit to 1 bytes (Current memory usage is 2097152 bytes) in /in/eTOaQ on line 13 Fatal error: Uncaught ErrorException: Failed to set memory limit to 1 bytes (Current memory usage is 2097152 bytes) in /in/eTOaQ:13 Stack trace: #0 [internal function]: {closure}() #1 {main} thrown in /in/eTOaQ on line 13
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:
129.67 ms | 406 KiB | 5 Q