#47657 [Bgs]: str_replace() should not call replace-functions when needle missing

2009-03-14 Thread h dot reindl at thelounge dot net
ID: 47657 User updated by: h dot reindl at thelounge dot net Reported By: h dot reindl at thelounge dot net Status: Bogus Bug Type:Performance problem PHP Version: 5.2.9 New Comment: Thank for your interal details I understand this well and its ok I do

#47657 [Bgs]: str_replace() should not call replace-functions when needle missing

2009-03-14 Thread mattwil
ID: 47657 Updated by: matt...@php.net Reported By: h dot reindl at thelounge dot net Status: Bogus Bug Type:Performance problem PHP Version: 5.2.9 New Comment: str_replace() is not "calling the replacement function." Your f1() and f2() functions are called BEFORE str_repl

#47657 [Bgs]: str_replace() should not call replace-functions when needle missing

2009-03-14 Thread h dot reindl at thelounge dot net
ID: 47657 User updated by: h dot reindl at thelounge dot net Reported By: h dot reindl at thelounge dot net Status: Bogus Bug Type:Performance problem PHP Version: 5.2.9 New Comment: And you think it is best practice every possible optimzing that is sug