Doc #67823 [NEW]: posix_* $fd documented as int, should be resource.

From: Date: Mon, 11 Aug 2014 22:08:22 +0000
Subject: Doc #67823 [NEW]: posix_* $fd documented as int, should be resource.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11426@lists.php.net to get a copy of this message
From: donatj at gmail dot com Operating system: N/A PHP version: Irrelevant Package: POSIX related Bug Type: Documentation Problem Bug description:posix_* $fd documented as int, should be resource. Description: ------------ posix_isatty and posix_ttyname are documented as taking an int parameter, when more specifically they take a *resource*; namely STDOUT, STDERR, STDIN, etc. Methods such as fread and frwite which take similar resources document this as *resource* rather than int and I think its more correct to change the posix methods to being documented as *resource* http://docs.php.net/manual/en/function.posix-isatty.php http://docs.php.net/manual/en/function.posix-ttyname.php http://us3.php.net/manual/en/function.fread.php Expected result: ---------------- resource Actual result: -------------- int -- Edit bug report at https://bugs.php.net/bug.php?id=67823&edit=1 --

« previous php.doc.bugs (#11426) next »