|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-31 07:17 UTC] sarun37823 at bigfoot dot com
[2009-12-31 07:43 UTC] sarun37823 at bigfoot dot com
[2009-12-31 07:51 UTC] sarun37823 at bigfoot dot com
[2009-12-31 12:42 UTC] [email protected]
[2010-01-08 01:00 UTC] php-bugs at lists dot php dot net
[2010-04-25 20:34 UTC] [email protected]
-Status: No Feedback
+Status: Bogus
[2010-04-25 20:34 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jan 05 04:00:02 2026 UTC |
Description: ------------ I use preg_replace It work fine for most subject(data) except one. Reproduce code: --------------- <?php $page_c=implode('', file('phpbug1.data')); //download test file at //http://www.greatduo.da.ru/files/phpbug1.data $page_c=preg_replace('/<li[^<>]*>(?:.(?!made an edit|<\/?li))*.made[^<>]*<\/div><\/li>/sim', '', $page_c); ?> Expected result: ---------------- blank page Actual result: -------------- Error: Zero Sized Reply