#26519 [Bgs->Opn]: Using embedded PHP fails
| From: | sniper@php.net | Date: | Thu, 04 Dec 2003 12:06:27 +0000 |
| Subject: | #26519 [Bgs->Opn]: Using embedded PHP fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51682@lists.php.net to get a copy of this message | ||
ID: 26519
Updated by: sniper@php.net
Reported By: osvetlik at kerio dot com
-Status: Bogus
+Status: Open
Bug Type: Compile Failure
Operating System: LInux Fedora Core 1
PHP Version: 4.3.4
New Comment:
..in HEAD, but there is in PHP_4_3 branch. :)
Previous Comments:
------------------------------------------------------------------------
[2003-12-04 07:05:29] sniper@php.net
There is no such line in php_string.h..
------------------------------------------------------------------------
[2003-12-04 06:53:57] osvetlik at kerio dot com
I'm sorry I forgot the file name:
include/php/ext/standard/php_string.h
------------------------------------------------------------------------
[2003-12-04 06:50:25] osvetlik at kerio dot com
Description:
------------
line 142 should read:
if ((p = (char *)memchr(p, *needle, (end-p+1))) && ne ==
p[needle_len-1]) {
instead of:
if ((p = memchr(p, *needle, (end-p+1))) && ne == p[needle_len-1]) {
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26519&edit=1