Date: 01/12/03
- Next message: Gabor Hojtsy: "Re: [PHP-DOC] Re: "Description""
- Previous message: ikml <email protected>: "[PHP-DOC] #4821 [Com]: how clear this messages -> X-Powered-By: PHP/4.0.0 Content-type: text/html"
- In reply to: Sara Golemon: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetc.xml fgetcsv.xml fgets.xml fgetss.xml flock.xml fopen.xml fpassthru.xml fputs.xml fread.xml fscanf.xml fseek.xml fstat.xml ftell.xml ftruncate.xml fwrite.xml p"
- Next in thread: Derick Rethans: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetc.xml fgetcsv.xml fgets.xml fgetss.xml flock.xml fopen.xml fpassthru.xml fputs.xml fread.xml fscanf.xml"
- Reply: Derick Rethans: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetc.xml fgetcsv.xml fgets.xml fgetss.xml flock.xml fopen.xml fpassthru.xml fputs.xml fread.xml fscanf.xml"
- Reply: Tularis: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >> Changed <type>int</type> to <type>resource</type> for file handles.
> >> Also renamed <parameter>handle</parameter> to <parameter>fp</parameter>
> >> for consistency.
> >
> > I do think, that handle is much better than fp for beginners, so I would
> > do the other way...
> >
> I changed handle to fp (rather than the other way 'round) because all of
> those files listed used "fp" except for the ONE that used "handle".
> That's of course not to say that we can't still change 'em all to
> "handle", but there are several examples peppered throughout the manual
> which use $fp as the resource variable.
>
> I'm personnally -1 on using "handle" as the parameter name, but it's a
> weak -1... maybe more of a -0.5
Well, $fp is something kinda "leftover" for "file pointer". As fopen opens
many more things then files (eg. STDIN :), it technically not a
file pointer anymore. Therefore I think handle is better ;)
Goba
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Gabor Hojtsy: "Re: [PHP-DOC] Re: "Description""
- Previous message: ikml <email protected>: "[PHP-DOC] #4821 [Com]: how clear this messages -> X-Powered-By: PHP/4.0.0 Content-type: text/html"
- In reply to: Sara Golemon: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetc.xml fgetcsv.xml fgets.xml fgetss.xml flock.xml fopen.xml fpassthru.xml fputs.xml fread.xml fscanf.xml fseek.xml fstat.xml ftell.xml ftruncate.xml fwrite.xml p"
- Next in thread: Derick Rethans: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetc.xml fgetcsv.xml fgets.xml fgetss.xml flock.xml fopen.xml fpassthru.xml fputs.xml fread.xml fscanf.xml"
- Reply: Derick Rethans: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetc.xml fgetcsv.xml fgets.xml fgetss.xml flock.xml fopen.xml fpassthru.xml fputs.xml fread.xml fscanf.xml"
- Reply: Tularis: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

