On Fri, 10 Jan 2003, Sara Golemon wrote: > I notice that the current manual pages for the filesystem function refer > to file pointer resources as ints. Am I the only one who thinks this > could be confusing to end-users? Wouldn't "resource" be a better type to > present? or "stream"?
Some functions are still labeled as int because they used to return int. For example in PHP3 there was no such thing as type "resource" so that's the reason. So go ahead and change it and if a change from int->resource happened fairly recently then make a <note> of it. Be sure it correctly notes what it returns on failure too. Regards, Philip -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php