3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getTime(): DateTimeInterface { return $time; } echo __LINE__; // OK getTime(); // Segfault echo __LINE__; // We aren't getting here

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
157.97 ms | 2174 KiB | 11 Q