3v4l.org

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