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

 ID:               50613
 Updated by:       ar...@php.net
 Reported by:      felix at amerimerchant dot com
 Summary:          Expected warnings/notices not outputed by PHP on
                   simple array access.
 Status:           Open
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Linux
 PHP Version:      5.3.1

 New Comment:

I think there is a bug here as an error is raised when writing to ints
and floats as arrays but not when reading from them. 

The fix is trivial however it's a BC break. This exists in at least 5.2,
5.3 and HEAD.


Previous Comments:
------------------------------------------------------------------------
[2010-03-04 16:31:21] ahar...@php.net

There was an option in the old bug tracker to flick it back to Open. I'm
not sure if the new and improved bug tracker does the same.



Anyway, reopening.

------------------------------------------------------------------------
[2010-03-04 16:13:58] rbetta at amerimerchant dot com

Is there any further step we need to perform to get this out of the "No
Feedback" status? Felix's 2010-01-02 00:08 UTC comment answered Jani's
question, but we did not see any option for updating the bug status out
of the feedback stage ourselves. Is there a manual status change
required by Jani, or did we miss an option on the bug reporting form?

------------------------------------------------------------------------
[2010-01-07 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2010-01-02 02:08:41] felix at amerimerchant dot com

Same behavior using the most recent build I just tried:

 

C:\php5.3.3-dev>php.exe -v

PHP 5.3.3-dev (cli) (built: Jan  2 2010 01:06:43)

Copyright (c) 1997-2009 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies



C:\php5.3.3-dev>php.exe "C:\Documents and
Settings\Administrator\Desktop\test.php"



Notice: Uninitialized string offset: 9 in C:\Documents and
Settings\Administrator\Desktop

test.php on line 6



Notice: Undefined offset: 9 in C:\Documents and
Settings\Administrator\Desktop\test.php o

 line 9



Fatal error: Cannot use object of type stdClass as array in C:\Documents
and Settings\Adm

nistrator\Desktop\test.php on line 24



C:\php5.3.3-dev>

------------------------------------------------------------------------
[2009-12-30 23:47:50] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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


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

    http://bugs.php.net/bug.php?id=50613


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50613&edit=1

Reply via email to