Add some parameter checks
Merge branch 'PHP-5.5'
relax the check
Merge branch 'PHP-5.5'