Edit report at https://bugs.php.net/bug.php?id=60362&edit=1

 ID:                 60362
 Updated by:         s...@php.net
 Reported by:        danielc at analysisandsolutions dot com
 Summary:            non-existent sub-sub keys should not have values
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Arrays related
 Operating System:   linux
 PHP Version:        5.4SVN-2011-11-23 (SVN)
-Assigned To:        
+Assigned To:        stas
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2011-12-19 02:04:42] s...@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] ala...@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] ala...@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] larue...@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

------------------------------------------------------------------------
[2011-12-04 17:27:28] larue...@php.net

submit a new patch, which only trigger notice when string offset cast occurred.

------------------------------------------------------------------------


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

Reply via email to