preg_match() occurence position

From: Date: Thu, 25 Jul 2002 12:40:32 +0000
Subject: preg_match() occurence position
Groups: php.general 
Request: Send a blank email to php-general+get-109474@lists.php.net to get a copy of this message
Hello, Can I get the starting position of my string occurence when using any regexps searching functions in PHP ? for example: $mem='this is a test'; preg_match('/test/', ...) should return me somehow: 10 Thanks

« previous php.general (#109474) next »