Allow $num=0 in array_fill()

Implemented request #49824.
Merge branch 'PHP-5.6'