Re: New String Function: str_replace_limit
Hi all,
I'm a strict follower of this list and havent posted (as of yet) due to the fact that i'd like to be in the loop, but am not a C developer... :)
But on this discussion i'd like to give my 2c: As a PHP developer i'd regret to see yet another function added to the language instead of adding a new parameter. (this it does the same thing just limited) Also with the other discussion on being able to skip default parameters (using the keyword 'default') this shouldnt be a problem should it?
Thanks, i'll butt out now :D
Op maandag 16 juli 2012 10:05:02, Gustavo Lopes schreef:
On Sun, 15 Jul 2012 20:59:10 +0100, Paul Dragoonis wrote:
The 4th param to str_replace is a by-ref param, so you can't just skip
over it, can you ?
I don't think so, but we could make it so that you could by using
optional passing by reference.
Thread (8 messages)