3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Source: https://bugs.php.net/bug.php?id=70237 ini_set('opcache.enable_cli', true); if ((int) ini_get('opcache.enable_cli') !== 1) { throw new Exception('Opcode cache must be enabled on CLI environment'); } function neverUsed() { $bool = false; while ($bool) { }; // Same with: do { } while ($bool); } echo "OK";
Output for git.master, rfc.property-hooks
Fatal error: Uncaught Exception: Opcode cache must be enabled on CLI environment in /in/sJa3q:7 Stack trace: #0 {main} thrown in /in/sJa3q on line 7
Process exited with code 255.
Output for git.master_jit
OK

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:
61.44 ms | 401 KiB | 8 Q