Bug #53191 [Opn->Bgs]: var_dump a regex failes
| From: | salathe@php.net | Date: | Thu, 28 Oct 2010 12:15:31 +0000 |
| Subject: | Bug #53191 [Opn->Bgs]: var_dump a regex failes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-155598@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53191&edit=1
ID: 53191
Updated by: salathe@php.net
Reported by: michelmulder at gmail dot com
Summary: var_dump a regex failes
-Status: Open
+Status: Bogus
Type: Bug
Package: Strings related
Operating System: Windows XP SP3
PHP Version: 5.3.3
Block user comment: N
New Comment:
Looks like you're viewing the page as HTML. View the source, or send it
out as
plain text. Not a bug.
Previous Comments:
------------------------------------------------------------------------
[2010-10-28 14:07:12] michelmulder at gmail dot com
Description:
------------
When i run the code i get a wrong result. var_dump stops outputting but
i don't know why.
Test script:
---------------
<?php
var_dump('#(?<![\p{Nd}\p{L}_])(test)(?![\p{Nd}\p{L}_])#iu');
?>
Expected result:
----------------
string(47) "#(?<![\p{Nd}\p{L}_])(test)(?![\p{Nd}\p{L}_])#iu"
Actual result:
--------------
string(47) "#(?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53191&edit=1