Re: Broken compatibility with escaping { in php 5.2

From: Date: Thu, 18 Jan 2007 15:47:59 +0000
Subject: Re: Broken compatibility with escaping { in php 5.2
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-247343@lists.php.net to get a copy of this message
Bogdan Ribic wrote: > >> >> be pragmatic - fix your script :-) > > I did :) > > It was a part of code generator, and I had something like : > $res .= "function $this->insert_prefix() \{$this->_global_db\n"; > > and replaced it with > > $res .= "function $this->insert_prefix() {{$this->_global_db}\n"; > > ... in about 20 locations. > > But the complaint is that whichever is "correct" version, it cannot be > much more correct than the other, and certainly not worth breaking > existing functionality. Mine was easy to fix, but this might introduce > weird bugs somewhere else. I'm not the authority that could comment on that one way or the other, no doubt there is a good & complicated explanation as to why this changed - you might try asking the internals list (don't tell them I sent you :-). >

« previous php.general (#247343) next »