note 38627 added to function.preg-match-all

From: Date: Tue, 30 Dec 2003 21:24:30 +0000
Subject: note 38627 added to function.preg-match-all
Groups: php.notes 
Request: Send a blank email to php-notes+get-62696@lists.php.net to get a copy of this message
I think this should be int preg_match_all ( string pattern, string subject, [array matches [, int flags]]) in future versions of php, like preg_match is. This confused me because I just wanted the count of matches, so did not supply an matches array, which crashed my apache :) ---- Manual Page -- http://www.php.net/manual/en/function.preg-match-all.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38627 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38627&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38627&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62696) next »