[PHP] [please ignore!] Re: [PHP] [from internals] Re: ref fix revisited

2005-09-13 Thread Jochem Maas
Rasmus please ignore my last mail, I was being blind and stupid. Jasper Bryant-Greene wrote: Jochem Maas wrote: hello Rasmus, sorry to interrupt ... but ... could you possibly spare a moment to explain why the SquirrelMail example you gave is 'dumb' code? (I for one would like to avoid writin

[PHP] Re: [please ignore!] Re: [PHP] [from internals] Re: ref fix revisited

2005-09-13 Thread Jasper Bryant-Greene
Jochem Maas wrote: Jasper Bryant-Greene wrote: ... which has the advantage of being a bit more readable too. debatable ... no bog deal either way ... $value = split('/\w/', trim($value)); $value = strtolower($value[0]); ... saves a var, no? Yeah, but not as readable. $value is first a

Re: [PHP] [from internals] Re: ref fix revisited

2005-09-13 Thread Jasper Bryant-Greene
Jochem Maas wrote: hello Rasmus, sorry to interrupt ... but ... could you possibly spare a moment to explain why the SquirrelMail example you gave is 'dumb' code? (I for one would like to avoid writing dumb code wherever possible, and it looks a lot like I line I could have written!) many thank

[PHP] [from internals] Re: ref fix revisited

2005-09-13 Thread Jochem Maas
hello Rasmus, sorry to interrupt ... but ... could you possibly spare a moment to explain why the SquirrelMail example you gave is 'dumb' code? (I for one would like to avoid writing dumb code wherever possible, and it looks a lot like I line I could have written!) many thanks and regards, joche