3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ReflectionMethod::export('ReflectionClass', 'isAnonymous');
Output for 7.0.0 - 7.2.0
Method [ <internal:Reflection> public method isAnonymous ] { - Parameters [0] { } }
Output for 5.3.21 - 5.6.28
Fatal error: Uncaught exception 'ReflectionException' with message 'Method ReflectionClass::isAnonymous() does not exist' in /in/cQe15:3 Stack trace: #0 [internal function]: ReflectionMethod->__construct('ReflectionClass', 'isAnonymous') #1 /in/cQe15(3): ReflectionMethod::export('ReflectionClass', 'isAnonymous') #2 {main} thrown in /in/cQe15 on line 3
Process exited with code 255.