|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-09 12:54 UTC] nlopess@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ It seems that stream_get_contents() isn't respecting the second paramether, limit. I think this only happen for http wrappers. Reproduce code: --------------- <? $fp = fopen('http://www.php.net/', 'r'); echo strlen(stream_get_contents($fp, 50)); fclose($fp); ?> Expected result: ---------------- 50 Actual result: -------------- 30094