[dev] [commits] Horde branch master updated.

Michael M Slusarz slusarz at horde.org
Tue Jul 14 16:24:44 UTC 2009


Quoting Jan Schneider <jan at horde.org>:

> Uh, since when did this work? My apologies. For clarity, I'm still  
> in favor of using "\0" instead.

I think you are partially correct - in a string context, it does  
resolve to '' (e.g. "A" . null . "B" = "AB" [length 2]).  I've used  
that strpos() way for some time now.

I've always used null there because it *is* more clear.  But you are  
probably also correct that at a deeper level, it may be confusing  
since 'nul'l in PHP differs based on context.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list