3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = array(1,array(array(array()))); $x[1] = md5($x[1]); var_dump($x);
based on SF6J7
Output for 5.0.0 - 7.2.0
Warning: md5() expects parameter 1 to be string, array given in /in/DGsei on line 4 array(2) { [0]=> int(1) [1]=> NULL }
Output for 4.3.0 - 4.4.9
Notice: Array to string conversion in /in/DGsei on line 4 array(2) { [0]=> int(1) [1]=> string(32) "4410ec34d9e6c1a68100ca0ce033fb17" }