diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-11-04 19:44:48 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-11-06 12:56:47 +0100 |
| commit | 14bdb0cfc7b62205c75f6d5c783e343259796776 (patch) | |
| tree | 3286c308a90d7dcc88989a641f87bf4bd6152435 /main/streams/php_streams_int.h | |
| parent | 0b0d4eb0eb4336d50c6d5d645a1838e26ca9c181 (diff) | |
| download | php-git-14bdb0cfc7b62205c75f6d5c783e343259796776.tar.gz | |
Fix consistency issues with array accesses warnings/exceptions
* Change a number of "resource used as offset" notices to warnings,
which were previously missed.
* Throw the "resource used as offset" warning for isset() as well.
* Make array_key_exists() behavior with regard to different key
types consistent with isset() and normal array accesses. All key
types now use the usual coercions and array/object keys throw
TypeError.
Closes GH-4887.
Diffstat (limited to 'main/streams/php_streams_int.h')
0 files changed, 0 insertions, 0 deletions
