3v4l.org

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