summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug78833.phpt
blob: 763b6ec4eac322c3beec6a6dc91279087a51af32 (plain)
1
2
3
4
5
6
7
8
9
--TEST--
Bug #78833 (Integer overflow in pack causes out-of-bound access)
--FILE--
<?php
var_dump(pack("E2E2147483647H*", 0x0, 0x0, 0x0));
?>
--EXPECTF--
Warning: pack(): Type E: too few arguments in %s on line %d
bool(false)