3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print get_resource_type(openssl_pkey_new());
Output for 7.0.20, 7.1.5 - 7.2.0
Warning: get_resource_type() expects parameter 1 to be resource, boolean given in /in/kkAEq on line 2
Output for 5.4.15 - 7.0.6, 7.1.0
OpenSSL key
Output for 5.3.19 - 5.4.14
Fatal error: Call to undefined function openssl_pkey_new() in /in/kkAEq on line 2
Process exited with code 255.