#32312 [Opn->Fbk]: Error in PCRE
| From: | sniper@php.net | Date: | Fri, 18 Mar 2005 23:39:58 +0000 |
| Subject: | #32312 [Opn->Fbk]: Error in PCRE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76803@lists.php.net to get a copy of this message | ||
ID: 32312
Updated by: sniper@php.net
Reported By: xanthor at xanthor dot tk
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: GNU/Linux
PHP Version: 4.3.10
New Comment:
Yes, it makes a difference when I add a regression test to this bug. I
need to know the exact correct output.
So, it returns int(1) with PHP 4.3.2 ? (only 1 match)
Previous Comments:
------------------------------------------------------------------------
[2005-03-19 00:32:14] xanthor at xanthor dot tk
Well, then it's int(0) instead of false, and int(1) instead of true.
Does that really make a difference ?
(By the way, I tested on 4 different computers, and the bug is
verified)
------------------------------------------------------------------------
[2005-03-19 00:07:33] sniper@php.net
No, it doesn't return 'bool(true)' as preg_match() returns an integer.
Try with something like 'var_dump(preg_match...'
Also RTFM.
------------------------------------------------------------------------
[2005-03-18 22:50:07] xanthor at xanthor dot tk
As I just said before, it returns true...
------------------------------------------------------------------------
[2005-03-17 10:02:00] sniper@php.net
What DOES it return with PHP 4.3.2 ?
------------------------------------------------------------------------
[2005-03-16 21:31:52] xanthor at xanthor dot tk
It works with 4.3.2
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32312
--
Edit this bug report at http://bugs.php.net/?id=32312&edit=1