3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = new ReflectionClass('SoapClient'); var_dump($a->getProperties());
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught ReflectionException: Class SoapClient does not exist in /in/flFTI:3 Stack trace: #0 /in/flFTI(3): ReflectionClass->__construct('SoapClient') #1 {main} thrown in /in/flFTI on line 3
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Uncaught exception 'ReflectionException' with message 'Class SoapClient does not exist' in /in/flFTI:3 Stack trace: #0 /in/flFTI(3): ReflectionClass->__construct('SoapClient') #1 {main} thrown in /in/flFTI on line 3
Process exited with code 255.
Output for 5.0.0 - 5.3.29
array(0) { }
Output for 4.3.2 - 4.4.9
<br /> <b>Fatal error</b>: Cannot instantiate non-existent class: reflectionclass in <b>/in/flFTI</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Cannot instantiate non-existent class: reflectionclass in <b>/in/flFTI</b> on line <b>3</b><br />