Allow $num=0 in array_fill()

Implemented request #49824.
Merge branch 'PHP-5.6'
Merge branch 'master' into str_size_and_int64