ID: 32312 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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