php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #23849 Errors in various doc pages
Submitted: 2003-05-28 06:51 UTC Modified: 2004-05-21 15:43 UTC
From: davey@php.net Assigned: davey (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.3.2 OS: N/A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: davey@php.net
New email:
PHP Version: OS:

 

 [2003-05-28 06:51 UTC] davey@php.net
OK, these are just small errors I've been noticing:

socket_set_timeout() - last argument is optional and is no shown as such

declare() - does not need to be called as a statement, this is valid:

declare(ticks=1);
rest of pages code here;

in which case its the same as doing:
declare(ticks=1) {
    rest of pages code here;
}

meaning that in the first, the ticks is on all the code following, whereas with the second you can have it only work for the code inside the statement.

register_tick_function - this does not state you use an object method as the callback method (using array(&$object,'method')

pcntl_waitpid - second argument should be noted as a reference (i.e. int &status)

Thats all I can remember right now, apart from the following need full docs:

pcntl_exec()
posix_ctermid()
posix_getcwd()
posix_getgrgid()
posix_getgrname()
posix_getrlimit()
posix_isatty()
posix_ttyname()
socket_get_option()
socket_iovec_*()
socket_readv()
socket_recv*()
socket_send*()
socket_set_nonblock()
socket_set_option()
socket_shutdown()
socket_writev()

quite a list. I would gladly help provide some documentation either as DocBook XML (as best I can, I'm still very new to it) or plaintext for you convert to DocBook...

- Davey

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-17 18:07 UTC] davey@php.net
socket_set_timeout - fixed in CVS
declare - fixed in CVS
register_tick_function - fixed in CVS
pcntl_waitpic - fixed in CVS
socket_send - fixed in CVS
socket_sendto - fixed in CVS
socket_shutdown - fixed in CVS

still working on the rest

- Davey
 [2004-05-21 15:43 UTC] nlopess@php.net
Closing this...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 01 18:01:28 2025 UTC