SplFixedArray::FromArray() throws InvalidArgumentException not Exception
commit796f986aba300b3f00b9ece0bf654c452ee217be
authorTim Siebels <tim_siebels_aurich@yahoo.de>
Wed, 12 Nov 2014 04:39:59 +0000 (11 20:39 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 12 Nov 2014 05:00:42 +0000 (11 21:00 -0800)
tree95272ba480f40bad76f08bafb5cd48301d6a1cff
parent79d1d45d1b1aaf67b26acfcb39c86929db1c0a66
SplFixedArray::FromArray() throws InvalidArgumentException not Exception

Summary: Fixed #4211
Closes https://github.com/facebook/hhvm/pull/4213

Reviewed By: @JoelMarcey

Differential Revision: D1673801

Signature: t1:1673801:1415767159:cb5f6929704ac56e0c0568e7108c88d13af0b366
hphp/system/php/spl/datastructures/SplFixedArray.php
hphp/test/slow/ext_spl/fixedarr_fromarr_invalidarg.php [new file with mode: 0644]
hphp/test/slow/ext_spl/fixedarr_fromarr_invalidarg.php.expect [new file with mode: 0644]