1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 08:33:06 +02:00

add edge case test

This commit is contained in:
Stanislav Malyshev
2007-06-06 22:21:59 +00:00
parent 4cf17cfc33
commit bc35767b46

View File

@@ -96,8 +96,9 @@ print_r(unpack("v", pack("v", 0)));
print_r(unpack("v", pack("v", -1000)));
print_r(unpack("v", pack("v", -64434)));
print_r(unpack("v", pack("v", -65535)));
print_r(unpack(-2147483647, "junk"));
?>
--EXPECT--
--EXPECTF--
Array
(
[1] => h
@@ -383,3 +384,5 @@ Array
(
[1] => 1
)
Warning: unpack(): Invalid format type - in %s on line %d