Req #60408 [Asn]: Array/String element access on instantiation (same like class member in 5.4RC)

From: Date: Tue, 27 Dec 2011 09:36:25 +0000
Subject: Req #60408 [Asn]: Array/String element access on instantiation (same like class member in 5.4RC)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-166103@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60408&edit=1

 ID:                 60408
 Updated by:         dmitry@php.net
 Reported by:        bugzilla33 at gmail dot com
 Summary:            Array/String element access on instantiation (same
                     like class member in 5.4RC)
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            Scripting Engine problem
 PHP Version:        5.4.0RC2
-Assigned To:        dmitry
+Assigned To:        laruence
 Block user comment: N
 Private report:     N

 New Comment:

I would say the patch is wrong. It misses the possibility of container_ptr separation in
zend_fetch_dimension_address_read(). It also won't work with ZEND_FETCH_DIM_FUNC_ARG.


Previous Comments:
------------------------------------------------------------------------
[2011-11-30 09:46:38] laruence@php.net

The following patch has been added/updated:

Patch Name: const_dereference_002.phpt
Revision:   1322646398
URL:        https://bugs.php.net/patch-display.php?bug=60408&patch=const_dereference_002.phpt&revision=1322646398

------------------------------------------------------------------------
[2011-11-30 09:46:27] laruence@php.net

The following patch has been added/updated:

Patch Name: const_dereference_003.phpt
Revision:   1322646387
URL:        https://bugs.php.net/patch-display.php?bug=60408&patch=const_dereference_003.phpt&revision=1322646387

------------------------------------------------------------------------
[2011-11-30 09:46:09] laruence@php.net

The following patch has been added/updated:

Patch Name: const_dereference_001.phpt
Revision:   1322646369
URL:        https://bugs.php.net/patch-display.php?bug=60408&patch=const_dereference_001.phpt&revision=1322646369

------------------------------------------------------------------------
[2011-11-30 09:45:33] laruence@php.net

The following patch has been added/updated:

Patch Name: req60408.patch
Revision:   1322646333
URL:        https://bugs.php.net/patch-display.php?bug=60408&patch=req60408.patch&revision=1322646333

------------------------------------------------------------------------
[2011-11-30 08:55:21] laruence@php.net

Dmitry, could you look at this please? thanks
patch and test list in: https://wiki.php.net/rfc/constdereference

All existing test passed.

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


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=60408


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


Thread (17 messages)

« previous php.bugs (#166103) next »