3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fingerprint = 'F039FE048987CED48BA22E12B61F5D272984605E'; $passphrase = 'thibaudfayardatelierdeschefscomcom'; //echo "yep" . __LINE__ ; $gpg = new gnupg(); //echo "yep" . __LINE__ ; $gpg->adddecryptkey($fingerprint,$passphrase); //echo "yep" . __LINE__ ; ?>
based on S0CDb
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'gnupg' not found in /in/9KcHN:9 Stack trace: #0 {main} thrown in /in/9KcHN on line 9
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Class 'gnupg' not found in /in/9KcHN on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: gnupg in /in/9KcHN on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: gnupg in /in/9KcHN on line 9