3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('alala'); var_dump($a); echo md5($a);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { [0]=> string(5) "alala" } Warning: md5() expects parameter 1 to be string, array given in /in/36iQr on line 4
Output for 4.3.0 - 4.4.9
array(1) { [0]=> string(5) "alala" } Notice: Array to string conversion in /in/36iQr on line 4 4410ec34d9e6c1a68100ca0ce033fb17