On Tue, May 15, 2007 at 11:20:15AM +0100, Andy Armstrong wrote: [...] > I imagine PHP stores the length of the string rather than using a sentinel > at the end. At least I really *hope* PHP stores the length... Given the quality of typical PHP code, I expect it stores the length at the end of the string.