3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $func = new ReflectionFunction('openssl_seal'); print_r($func->getParameters());
based on DbPXT
Output for 7.0.0 - 7.2.0
Array ( [0] => ReflectionParameter Object ( [name] => data ) [1] => ReflectionParameter Object ( [name] => sealdata ) [2] => ReflectionParameter Object ( [name] => ekeys ) [3] => ReflectionParameter Object ( [name] => pubkeys ) [4] => ReflectionParameter Object ( [name] => method ) [5] => ReflectionParameter Object ( [name] => iv ) )
Output for 5.6.14 - 5.6.28
Array ( [0] => ReflectionParameter Object ( [name] => data ) [1] => ReflectionParameter Object ( [name] => sealdata ) [2] => ReflectionParameter Object ( [name] => ekeys ) [3] => ReflectionParameter Object ( [name] => pubkeys ) [4] => ReflectionParameter Object ( [name] => method ) )
Output for 5.4.15 - 5.4.19, 5.4.21 - 5.6.13
Array ( [0] => ReflectionParameter Object ( [name] => data ) [1] => ReflectionParameter Object ( [name] => sealdata ) [2] => ReflectionParameter Object ( [name] => ekeys ) [3] => ReflectionParameter Object ( [name] => pubkeys ) )
Output for 5.0.3 - 5.4.14, 5.4.20
Fatal error: Uncaught exception 'ReflectionException' with message 'Function openssl_seal() does not exist' in /in/FaprH:3 Stack trace: #0 /in/FaprH(3): ReflectionFunction->__construct('openssl_seal') #1 {main} thrown in /in/FaprH on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.2
Fatal error: Uncaught exception 'ReflectionException' with message 'Function openssl_seal() does not exist' in /in/FaprH:3 Stack trace: #0 {main} thrown in /in/FaprH on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: reflectionfunction in /in/FaprH on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: reflectionfunction in /in/FaprH on line 3