|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-08 02:39 UTC] derick@php.net
[2002-03-08 06:21 UTC] sander@php.net
[2002-03-08 08:26 UTC] alindeman@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 11:00:01 2025 UTC |
On fgets() document is write string fgets ( int fp [, int length]) bug is you just write php code like $string = fget($fp); it will print out some warn info about "Wrong parameter count". when I check the source code on fgets(), it writed if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &arg1, &arg2) == FAILURE) { WRONG_PARAM_COUNT; } I think it must not ARG_COUNT(ht) != 2