note 80622 deleted from function.preg-replace by nlopess

From: Date: Fri, 25 Jan 2008 15:17:34 +0000
Subject: note 80622 deleted from function.preg-replace by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135408@lists.php.net to get a copy of this message
Note Submitter: dimkaben at gmail dot com ---- $val = preg_replace('/^[^>]([.])*[^<]$/', '$1', '<blablablablablablabla>str</blablablablablablabla>'); var_dump($val); result: string(50) "str" Why length is 50? :)

« previous php.notes (#135408) next »