ID: 37662
Updated by: [EMAIL PROTECTED]
Reported By: mg at evolution515 dot net
-Status: Feedback
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Debian/Sarge
PHP Version: 5.1.4
New Comment:
Bug update collision, setting back to bogus.
Previous Comments:
------------------------------------------------------------------------
[2006-06-01 08:47:33] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2006-06-01 08:42:38] [EMAIL PROTECTED]
# php /tmp/2.php
strpos() has been successfuly run!
I'm sure you don't need a class to check if strpos() finds '\r' or '\n'
in strings.
------------------------------------------------------------------------
[2006-06-01 08:38:52] mg at memedia dot de
Have you replaced...
$lfPos = strpos($this->magicBuffer, "\n");
....with...
$lfPos = strpos($this->magicBuffer, "\r");
...?
------------------------------------------------------------------------
[2006-06-01 08:37:36] mg at evolution515 dot net
Ok, and strpos() doesn't find any \n on the search string although
there are surely \n in there.
I've just seen that was another bug. So this bug is surely realted, but
please fix that "undefined function ()" in "if ($a || $b)" at last!!
------------------------------------------------------------------------
[2006-06-01 08:36:23] [EMAIL PROTECTED]
Works just fine here.
------------------------------------------------------------------------
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/37662
--
Edit this bug report at http://bugs.php.net/?id=37662&edit=1