|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-06-21 01:27 UTC] pzb at lightningcast dot net
preg_matches is no longer putting the text that matches the full pattern in the 0th element of the 3rd parameter. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 11 17:00:01 2026 UTC |
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" }