#43480 [Asn->Opn]: current,next,prev with objects

From: Date: Mon, 03 Dec 2007 15:56:58 +0000
Subject: #43480 [Asn->Opn]: current,next,prev with objects
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120328@lists.php.net to get a copy of this message
ID: 43480 Updated by: jani@php.net Reported By: nicholsr@php.net -Status: Assigned +Status: Open Bug Type: Arrays related Operating System: all PHP Version: 5.3CVS-2007-12-02 (snap) Assigned To: jani New Comment: This was merely MFH'd. If it's wrong in HEAD, that should be dealt with. I have nothing to do with how this works in HEAD. Previous Comments: ------------------------------------------------------------------------ [2007-12-02 22:57:55] tony2001@php.net The BC break is minimal, if at all. I've never heard of such usage before. ------------------------------------------------------------------------ [2007-12-02 22:50:25] nicholsr@php.net I do not have an opinion on whether this behaviour should be dropped. I just noticed that the behaviour had changed. I asked Johannes if this was a deliberate decision and he advised me to open this bug. I dont know the source of enough PHP apps to know if this is likely to be a major BC hit moving from PHP 5.2 to 5.3. I dont know how common this idiom is. ------------------------------------------------------------------------ [2007-12-02 22:48:37] derick@php.net I don't see why we should unnecessarily break BC for this though.. ------------------------------------------------------------------------ [2007-12-02 22:24:10] tony2001@php.net The change makes sense to me. Using array funcs with objects is quite useless feature that should be dropped IMO. ------------------------------------------------------------------------ [2007-12-02 22:22:57] johannes@php.net Jani, I'd say it's related to your zend_parse_parameters MFH'ing. ------------------------------------------------------------------------ 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/43480 -- Edit this bug report at http://bugs.php.net/?id=43480&edit=1

« previous php.bugs (#120328) next »