php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
The bug was updated successfully.
Doc Bug #70936 Undocumented function aliases: socket_(g|s)etopt
Submitted: 2015-11-18 13:45 UTC Modified: 2015-12-16 18:58 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: marcosptf at yahoo dot com dot br Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [2015-11-18 13:45 UTC] marcosptf at yahoo dot com dot br
Description:
------------
i had wrote test to two functions where i just know there exist about gcov uncovered functions and about c code source.

socket_getopt(); is alias of socket_get_option(); 
socket_setopt(); is alias of socket_set_option();

http://php.net/manual/en/function.socket-get-option.php
http://php.net/manual/en/function.socket-set-option.php

https://github.com/php/php-src/blob/655e266440bc65d2b3b6c69b433fc9b6e70aa4da/ext/sockets/sockets.c#L347

https://github.com/php/php-src/blob/655e266440bc65d2b3b6c69b433fc9b6e70aa4da/ext/sockets/sockets.c#L348





Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-18 13:49 UTC] marcosptf at yahoo dot com dot br
in these links need to add alias to these functions respectivelly
 [2015-12-16 18:55 UTC] cmb@php.net
-Summary: This function don't exist in official docs php +Summary: Undocumented function aliases: socket_(g|s)etopt -Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2015-12-16 18:55 UTC] cmb@php.net
Good catch! Thanks for reporting, Marco.
 [2015-12-16 18:57 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=338269
Log: fixed #70936: Undocumented function aliases: socket_(g|s)etopt
 [2015-12-16 18:58 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2015-12-16 18:58 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5a190b2b92bc0ef004654dfb88b8e9fd3d3dbea7
Log: fixed #70936: Undocumented function aliases: socket_(g|s)etopt
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC