3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '12345'; $result = sscanf($str, '%1d%1d%1d%1d%1d'); echo $result;
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/4ooaS on line 4 Array
Output for 4.3.0 - 5.3.29
Array