-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Inform the type when reporting the error: Illegal offset type #10450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
marcosmarcolin
wants to merge
144
commits into
php:master
from
marcosmarcolin:array-illegal-offset-message
Closed
Changes from 38 commits
Commits
Show all changes
144 commits
Select commit
Hold shift + click to select a range
91227c5
chore: unnecessary parentheses.
marcosmarcolin 009945f
Merge branch 'php:master' into master
marcosmarcolin ba36a49
Merge branch 'php:master' into master
marcosmarcolin 0386041
Merge branch 'php:master' into master
marcosmarcolin d6e7c73
Merge branch 'php:master' into master
marcosmarcolin d47eca9
Merge branch 'php:master' into master
marcosmarcolin b131d30
Merge branch 'php:master' into master
marcosmarcolin b84c549
Merge branch 'php:master' into master
marcosmarcolin 64a9793
Merge branch 'php:master' into master
marcosmarcolin 1afee9a
Merge branch 'php:master' into master
marcosmarcolin 072c44e
Merge branch 'php:master' into master
marcosmarcolin fa8ace8
Merge branch 'php:master' into master
marcosmarcolin 20a34b7
Merge branch 'php:master' into master
marcosmarcolin 431c1b3
Merge branch 'php:master' into master
marcosmarcolin 9d5d563
Merge branch 'php:master' into master
marcosmarcolin a42d498
Merge branch 'php:master' into master
marcosmarcolin 053f026
Merge branch 'php:master' into master
marcosmarcolin 93ebbd5
Merge branch 'php:master' into master
marcosmarcolin 62d6514
Merge branch 'php:master' into master
marcosmarcolin e649783
Merge branch 'php:master' into master
marcosmarcolin 70892a7
Merge branch 'php:master' into master
marcosmarcolin dbef9c3
Merge branch 'php:master' into master
marcosmarcolin 7a9c2b4
Merge branch 'php:master' into master
marcosmarcolin 6567de0
Merge branch 'php:master' into master
marcosmarcolin 366b22a
Merge branch 'php:master' into master
marcosmarcolin f684963
Revert "chore: unnecessary parentheses."
marcosmarcolin cedca52
Merge branch 'php:master' into master
marcosmarcolin 80aa081
Merge branch 'php:master' into master
marcosmarcolin aaff3fa
Merge branch 'php:master' into master
marcosmarcolin 8707dec
Merge branch 'php:master' into master
marcosmarcolin f553344
Merge branch 'php:master' into master
marcosmarcolin 0f72482
Merge branch 'php:master' into master
marcosmarcolin 8de0e9d
Merge branch 'php:master' into master
marcosmarcolin cf523fa
Merge branch 'php:master' into master
marcosmarcolin cb12bed
inform the type in the array displacement error message.
marcosmarcolin 0717f23
inform the type in the array displacement error message.
marcosmarcolin dba7099
inform the type in the array displacement error message.
marcosmarcolin 9416328
inform the type in the array displacement error message.
marcosmarcolin 821d856
chore: unnecessary parentheses.
marcosmarcolin f96b1aa
Revert "chore: unnecessary parentheses."
marcosmarcolin a8ad5c8
chore: unnecessary parentheses.
marcosmarcolin 45c755c
Revert "chore: unnecessary parentheses."
marcosmarcolin 1173c2e
Prevent dtor of generator in suspended fiber (#10462)
arnaud-lb d7de73b
Fix overflow check in OnUpdateMemoryConsumption (#10456)
nielsdos a24ac59
[ci skip] NEWS
arnaud-lb 6c22dea
Merge branch 'PHP-8.1' into PHP-8.2
arnaud-lb cfb6e82
[ci skip] NEWS
arnaud-lb 479b47c
Merge branch 'PHP-8.2'
arnaud-lb 4901fd6
Merge branch 'master' of https://github.com/marcosmarcolin/php-src in…
marcosmarcolin aeca4d2
Prevent dtor of generator in suspended fiber (#10462)
arnaud-lb 63cac95
Fix overflow check in OnUpdateMemoryConsumption (#10456)
nielsdos be68ced
chore: unnecessary parentheses.
marcosmarcolin 2e1d1f0
Revert "chore: unnecessary parentheses."
marcosmarcolin f9e5a17
chore: unnecessary parentheses.
marcosmarcolin 4b812e4
Revert "chore: unnecessary parentheses."
marcosmarcolin 1d4b18e
inform the type in the array displacement error message.
marcosmarcolin adf0d4f
Revert "Fix overflow check in OnUpdateMemoryConsumption (#10456)"
marcosmarcolin 4e3808b
Revert "Prevent dtor of generator in suspended fiber (#10462)"
marcosmarcolin e789645
fix: handle JIT helper.
marcosmarcolin dc6fbec
Fix missing zend_shared_alloc_unlock() (#10405)
nielsdos 306a72a
Add test for GH-10405
arnaud-lb d5e4ec4
fix: also treat isset and empty
marcosmarcolin 284c293
Fix GH-10437: Set active fiber to null on bailout (#10443)
trowski 0c4aee4
Merge branch 'PHP-8.1' into PHP-8.2
trowski 5e1b966
[ci skip] NEWS
trowski ff84598
Merge branch 'PHP-8.2'
trowski ec4939b
Fix incorrect check in phar tar parsing
nielsdos 08f654b
Merge branch 'PHP-8.1' into PHP-8.2
Girgias 231ffaf
Merge branch 'PHP-8.2'
Girgias 908d954
sockets updlite protocol support, with checksum coverage settings.
devnexen 81607a6
Fix type inference
dstogov 55e3f73
Merge branch 'PHP-8.1' into PHP-8.2
dstogov ea37abd
Merge branch 'PHP-8.2'
dstogov b9bca2d
Fix resetting ZEND_GENERATOR_IN_FIBER flag
bwoebi e746b89
Merge branch 'PHP-8.1' into PHP-8.2
bwoebi 1679235
Merge branch 'PHP-8.2'
bwoebi 00be6e1
Look at executing generator for fiber destructor behaviour
bwoebi f732486
Merge branch 'PHP-8.1' into PHP-8.2
bwoebi 8076ca2
Merge branch 'PHP-8.2'
bwoebi 3eb9dd4
Use bool and zend_result where it makes sense in sockets extension
Girgias 735edd1
Voidify php_sock_array_from_fd_set() as result is never used
Girgias f71e8bf
fix: change function name for standardization.
marcosmarcolin 85fbc6e
Fix GH-10152: Custom properties of Date's child classes are not seria…
derickr 322425e
Merge remote-tracking branch 'derickr/GH-10152-serialise-datetime' in…
derickr 71766d7
Merge branch 'PHP-8.2'
derickr a42bf93
Fixed GH-10447: 'p' format specifier does not yield 'Z' for 00:00
derickr d17175c
Merge remote-tracking branch 'derickr/GH-10447-p-format-specifier' in…
derickr cb907d5
Merge branch 'PHP-8.1' into PHP-8.2
derickr 8d5953c
Merge branch 'PHP-8.2'
derickr 328cce4
fix: change location of functions and apply in ext/spl.
marcosmarcolin f0ff97b
chore: unnecessary parentheses.
marcosmarcolin 7efd90a
Revert "chore: unnecessary parentheses."
marcosmarcolin 92edc84
inform the type in the array displacement error message.
marcosmarcolin 7eba815
inform the type in the array displacement error message.
marcosmarcolin a63e9de
inform the type in the array displacement error message.
marcosmarcolin be17096
inform the type in the array displacement error message.
marcosmarcolin a19d295
chore: unnecessary parentheses.
marcosmarcolin 6d24bb7
Revert "chore: unnecessary parentheses."
marcosmarcolin e51f09d
chore: unnecessary parentheses.
marcosmarcolin 998a5dd
Revert "chore: unnecessary parentheses."
marcosmarcolin 2d73ebb
chore: unnecessary parentheses.
marcosmarcolin 6271040
Revert "chore: unnecessary parentheses."
marcosmarcolin 74bf5d8
chore: unnecessary parentheses.
marcosmarcolin 6dbaa72
Revert "chore: unnecessary parentheses."
marcosmarcolin f8cd06f
inform the type in the array displacement error message.
marcosmarcolin e04ccc9
Revert "Fix overflow check in OnUpdateMemoryConsumption (#10456)"
marcosmarcolin 83d8284
Revert "Prevent dtor of generator in suspended fiber (#10462)"
marcosmarcolin 3238768
fix: handle JIT helper.
marcosmarcolin 620b5f6
fix: also treat isset and empty
marcosmarcolin 9b70b6e
fix: change function name for standardization.
marcosmarcolin 58d12ad
fix: change location of functions and apply in ext/spl.
marcosmarcolin dcca7e8
Merge remote-tracking branch 'origin/array-illegal-offset-message' in…
marcosmarcolin 959f395
chore: unnecessary parentheses.
marcosmarcolin 1e77b4e
Revert "chore: unnecessary parentheses."
marcosmarcolin 0890300
chore: unnecessary parentheses.
marcosmarcolin a352953
Revert "chore: unnecessary parentheses."
marcosmarcolin 2a70b36
chore: unnecessary parentheses.
marcosmarcolin 7354aa5
Revert "chore: unnecessary parentheses."
marcosmarcolin 90360f4
chore: unnecessary parentheses.
marcosmarcolin ce0ecc9
Revert "chore: unnecessary parentheses."
marcosmarcolin 0776d35
chore: unnecessary parentheses.
marcosmarcolin 4503ff7
Revert "chore: unnecessary parentheses."
marcosmarcolin 1232aaf
inform the type in the array displacement error message.
marcosmarcolin 4f3991a
inform the type in the array displacement error message.
marcosmarcolin e6c4efe
chore: unnecessary parentheses.
marcosmarcolin 9d43616
Revert "chore: unnecessary parentheses."
marcosmarcolin 15d2132
chore: unnecessary parentheses.
marcosmarcolin c62de15
Revert "chore: unnecessary parentheses."
marcosmarcolin 1bf8ce7
Prevent dtor of generator in suspended fiber (#10462)
arnaud-lb fc6b26a
chore: unnecessary parentheses.
marcosmarcolin b9d6b6b
Revert "chore: unnecessary parentheses."
marcosmarcolin f7bb931
chore: unnecessary parentheses.
marcosmarcolin 7bc2583
Revert "chore: unnecessary parentheses."
marcosmarcolin 71540ea
inform the type in the array displacement error message.
marcosmarcolin 3fd18aa
Revert "Prevent dtor of generator in suspended fiber (#10462)"
marcosmarcolin 84f9c49
fix: handle JIT helper.
marcosmarcolin 8dba14a
fix: also treat isset and empty
marcosmarcolin 7209798
fix: change function name for standardization.
marcosmarcolin 1c1d822
chore: unnecessary parentheses.
marcosmarcolin f983b02
Revert "chore: unnecessary parentheses."
marcosmarcolin dca199d
chore: unnecessary parentheses.
marcosmarcolin e9a048a
Revert "chore: unnecessary parentheses."
marcosmarcolin 14b6e34
fix: test
marcosmarcolin 1396f8f
Merge branch 'array-illegal-offset-message' into offset-illegal-array…
marcosmarcolin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ try { | |
|
||
?> | ||
--EXPECT-- | ||
Illegal offset type | ||
Illegal offset type: cannot be of type object | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ try { | |
|
||
?> | ||
--EXPECT-- | ||
Illegal offset type | ||
Illegal offset type: cannot be of type object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ try { | |
} | ||
?> | ||
--EXPECT-- | ||
Illegal offset type | ||
Illegal offset type: cannot be of type object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Illegal array offset type of object
would be shorter and sound better in my opinionThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the idea, it really gets better.
I defaulted to zend_illegal_string_offset, but that's up for debate.