PHP 4.0 Bug #5164 Updated: PCRE function preg_match returns null [0] in matches

From: Date: Wed, 21 Jun 2000 13:40:32 +0000
Subject: PHP 4.0 Bug #5164 Updated: PCRE function preg_match returns null [0] in matches
Groups: php.dev 
Request: Send a blank email to php-dev+get-22152@lists.php.net to get a copy of this message
ID: 5164 Updated by: andrei Reported By: pzb@lightningcast.net Status: Analyzed Bug Type: Misbehaving function Assigned To: Comments: I can't reproduce this. Try: <? preg_match("/<(.+?)>/", "<blockquote> this", $match); var_dump($match); ?> For me it outputs: array(2) { [0]=> string(12) "<blockquote>" [1]=> string(10) "blockquote" } Full Bug description available at: http://bugs.php.net/version4/?id=5164

« previous php.dev (#22152) next »