Remove func_num_args calls from ext_hash
commit0e7748efa015a790d59d07a88b3a643875b4b2f6
authorEmil Hesslow <emil@fb.com>
Thu, 7 Mar 2019 00:04:57 +0000 (6 16:04 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 7 Mar 2019 00:08:44 +0000 (6 16:08 -0800)
treea577b5e9d909e11c8260264ab9f00e17e158b863
parentfc06db3fd1e642ded8de53aabae2e5accdf51441
Remove func_num_args calls from ext_hash

Summary: - Now that functions throws if they get to few args we don't need to use func_num_args to check

Reviewed By: paulbiss

Differential Revision: D14238273

fbshipit-source-id: 06ea045fa248c5223f2c1be1e3f5e0072ea00c07
hphp/runtime/ext/hash/ext_hash.php
hphp/test/zend/good/ext/hash/tests/hash_hmac_error.php
hphp/test/zend/good/ext/hash/tests/hash_hmac_error.php.expectf
hphp/test/zend/good/ext/hash/tests/hash_hmac_file_error.php
hphp/test/zend/good/ext/hash/tests/hash_hmac_file_error.php.expectf