3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = new ReflectionClass(Closure::class); var_dump($r->getMethod('__get'));
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught ReflectionException: Method Closure::__get() does not exist in /in/e2TJO:4 Stack trace: #0 /in/e2TJO(4): ReflectionClass->getMethod('__get') #1 {main} thrown in /in/e2TJO on line 4
Process exited with code 255.
Output for 7.0.0 - 7.0.23, 7.1.0 - 7.1.33, 7.2.6 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught ReflectionException: Method __get does not exist in /in/e2TJO:4 Stack trace: #0 /in/e2TJO(4): ReflectionClass->getMethod('__get') #1 {main} thrown in /in/e2TJO on line 4
Process exited with code 255.

preferences:
172.49 ms | 402 KiB | 203 Q