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.

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

Reply via email to