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";

preferences:
53.38 ms | 402 KiB | 5 Q