3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ch = gmp_mul(1, 2); var_dump(hash_copy($ch));
based on urBam
Output for 7.2.0
Warning: hash_copy() expects parameter 1 to be HashContext, object given in /in/EDmPq on line 5 NULL
Output for 5.6.7 - 5.6.20, 5.6.28 - 7.0.5, 7.0.20 - 7.1.10
Warning: hash_copy() expects parameter 1 to be resource, object given in /in/EDmPq on line 5 NULL
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function gmp_mul() in /in/EDmPq:3 Stack trace: #0 {main} thrown in /in/EDmPq on line 3
Process exited with code 255.
Output for 5.3.18 - 5.3.29, 5.5.35, 5.6.21
Fatal error: Call to undefined function gmp_mul() in /in/EDmPq on line 3
Process exited with code 255.
Output for 5.4.2 - 5.5.34
Warning: hash_copy(): supplied resource is not a valid Hash Context resource in /in/EDmPq on line 5 bool(false)