3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $lol =array("vew","mew"); echo sha1(sha1($lol)); ?>
Output for 5.0.0 - 7.1.0
Warning: sha1() expects parameter 1 to be string, array given in /in/X028G on line 3 da39a3ee5e6b4b0d3255bfef95601890afd80709
Output for 4.3.0 - 4.4.9
Notice: Array to string conversion in /in/X028G on line 3 635e3b8907da02955c5b516169b708ea9dd1b467