3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fullArr= array('aaa','bbb','ccc'); echo array_pad($fullArr); foreach($fullArr as $arr){ echo $arr; } ?>
Output for 5.3.0 - 7.1.0
Warning: array_pad() expects exactly 3 parameters, 1 given in /in/UpPKE on line 3 aaabbbccc
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for array_pad() in /in/UpPKE on line 3 aaabbbccc