3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($c) { try { if ($c) { return 0; } else { return 1; } } finally { try { // NOOP } finally { // NOOP } } } var_dump(test(true), test(false));

Abusive script

This script was stopped while abusing our resources

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
163.7 ms | 2019 KiB | 11 Q