]> granicus.if.org Git - php/commit
Promote pack/unpack format errors
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 12:08:13 +0000 (14:08 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 13:12:05 +0000 (15:12 +0200)
commitde77344de27ae2d913432832b4c4484682d15be1
tree0c7ab2734b90966cfdff676ab51dc09a4761675d
parent048cc9ba78f740e4dcd400f372b9ca2876a26117
Promote pack/unpack format errors

Errors related to invalid format strings (unlike data mismatch
errors) should throw ValueError.

Closes GH-6185.
ext/opcache/Optimizer/zend_func_info.c
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h
ext/standard/pack.c
ext/standard/tests/strings/bug78833.phpt
ext/standard/tests/strings/pack64_32.phpt
ext/standard/tests/strings/unpack.phpt [deleted file]
ext/standard/tests/strings/unpack_error.phpt