I'm drowning in PHP

Daniel Barlow dan at coruskate.net
Tue May 15 12:36:50 BST 2007

Andy Armstrong wrote:
> That'd be fun! Scan forward until you get a value that matches how far 
> you've come. The worst of both worlds /and/ subtle bugs when the content 
> of the string happens to look like a plausible length. It's a winner.

For extra marks, decree that strings are encoded as utf8, but store the 
length in characters not length in octets


More information about the london.pm mailing list