#32312 [Fbk->Opn]: Error in PCRE
| From: | xanthor at xanthor dot tk | Date: | Fri, 18 Mar 2005 23:32:22 +0000 |
| Subject: | #32312 [Fbk->Opn]: Error in PCRE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77097@lists.php.net to get a copy of this message | ||
ID: 32312
User updated by: xanthor at xanthor dot tk
Reported By: xanthor at xanthor dot tk
-Status: Feedback
+Status: Open
Bug Type: PCRE related
Operating System: GNU/Linux
PHP Version: 4.3.10
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2005-03-16 00:47:24] sniper@php.net
And with what PHP version does this work with?
------------------------------------------------------------------------
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