Edit report at http://bugs.php.net/bug.php?id=51268&edit=1
ID: 51268
User updated by: arlo at arlomedia dot com
Reported by: arlo at arlomedia dot com
Summary: fsockopen+fread behaves differently with port 443 vs.
port 80
St
From:
Operating system: Red Hat Linux
PHP version: 5.2.13
Package: Network related
Bug Type: Bug
Bug description:fsockopen+fread behaves differently with port 443 vs. port 80
Description:
If I open a network connection with fsockopen on port 80, then
ot;, -1) returns
"embed-b-," as expected.
But str_replace("-embed-a-", "hey", "-embed-aa-", -1) hangs
the script until the max execution time.
Removing the extraneous argument made my script work
properly, but I would expect PHP to either igno