Re: Broken compatibility with escaping { in php 5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :-).


> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux