php-src/tests
George Peter Banyard 99fa740acb
Use common function for TypeError on illegal offset access (#10544)
This merges all usages of emitting an offset TypeError into a new ZEND_API function
zend_illegal_container_offset(const zend_string* container, const zval *offset, int type);

Where the container should represent the type on which the access is attempted (e.g. string, array)
The offset zval that is used, where the error message will display its type
The type of access, which should be a BP_VAR_* constant, to get special message for isset/empty/unset
2023-06-06 11:28:19 +01:00
..
basic Fix GH-10489: run-tests.php does not escape path when building cmd (#10560) 2023-02-25 14:02:06 +00:00
classes Use common function for TypeError on illegal offset access (#10544) 2023-06-06 11:28:19 +01:00
func Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
lang Allow arbitrary expressions in static variable initializer 2023-05-24 20:17:31 +02:00
output Slightly clean up is_callable implementation 2021-09-02 10:37:13 +02:00
run-test Fix GH-10489: run-tests.php does not escape path when building cmd (#10560) 2023-02-25 14:02:06 +00:00
security Merge branch 'PHP-8.0' 2021-08-17 11:32:24 +02:00
strings Merge branch 'PHP-8.0' into PHP-8.1 2021-09-29 12:21:49 +02:00