3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo sha1(array());
based on kRvUl
Output for 5.0.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.0
Warning: sha1() expects parameter 1 to be string, array given in /in/LZ1gC on line 2
Output for 4.3.0 - 4.4.9
Notice: Array to string conversion in /in/LZ1gC on line 2 107004472b7ba4e5e31f3082ee1fb5a1239eec61