xref: /PHP-5.3/ext/standard/tests/strings/unpack.phpt (revision 1fe8fded)
1--TEST--
2Invalid format type validation
3--FILE--
4<?php
5	var_dump(unpack("-2222", 1));
6	echo "Done\n";
7?>
8--EXPECTF--
9Warning: unpack(): Invalid format type - in %sunpack.php on line %d
10bool(false)
11Done