Bug #60362 [PATCH]: non-existent sub-sub keys should not have values
| From: | alan_k@php.net | Date: | Wed, 21 Dec 2011 14:34:03 +0000 |
| Subject: | Bug #60362 [PATCH]: non-existent sub-sub keys should not have values | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166016@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60362&edit=1
ID: 60362
Patch added by: alan_k@php.net
Reported by: danielc at analysisandsolutions dot com
Summary: non-existent sub-sub keys should not have values
Status: Closed
Type: Bug
Package: Arrays related
Operating System: linux
PHP Version: 5.4SVN-2011-11-23 (SVN)
Assigned To: stas
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: fix_to_prevent_warning_on_isset_empty_for_55_and_a_half.patch
Revision: 1324478042
URL: https://bugs.php.net/patch-display.php?bug=60362&patch=fix_to_prevent_warning_on_isset_empty_for_55_and_a_half.patch&revision=1324478042
Previous Comments:
------------------------------------------------------------------------
[2011-12-19 02:10:17] stas@php.net
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Applied patch making isset return false and access produce warning on invalid
offsets.
------------------------------------------------------------------------
[2011-12-19 02:04:42] stas@php.net
Automatic comment from SVN on behalf of stas
Revision: http://svn.php.net/viewvc/?view=revision&revision=321145
Log: implement the solution for isset/string offsets, fix bug #60362
------------------------------------------------------------------------
[2011-12-18 05:08:03] alan_k@php.net
The following patch has been added/updated:
Patch Name: isset_changed_warning_only_on_access.patch
Revision: 1324184882
URL: https://bugs.php.net/patch-display.php?bug=60362&patch=isset_changed_warning_only_on_access.patch&revision=1324184882
------------------------------------------------------------------------
[2011-12-05 07:34:36] alan_k@php.net
I don't think the error trigger on isset() will work, isset() is used to avoid
the errors....
------------------------------------------------------------------------
[2011-12-05 05:17:20] laruence@php.net
The following patch has been added/updated:
Patch Name: string_offset_trigger_notice.patch
Revision: 1323062240
URL: https://bugs.php.net/patch-display.php?bug=60362&patch=string_offset_trigger_notice.patch&revision=1323062240
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60362
--
Edit this bug report at https://bugs.php.net/bug.php?id=60362&edit=1