Re[2]: [PHP-DEV] feature request

2002-04-25 Thread Daniel Lorch
Hi, > Anyway. There were some discussions lately to implement > something like word_count() and similar friends. Though I > don't remember what has happened, you might want to look it > up in the archive an join the discussion (It was just a week > ago or so I think). There w

Re[2]: [PHP-DEV] feature request

2002-04-24 Thread Daniel Lorch
Hi, > $wc = strlen(preg_replace('/\W*\w*/', 'x', file_get_contents($file)); > Look, no arrays! :-) > - Stig is this faster than the array-based solution? -daniel -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php