php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73799 [RU] Spelling mistake in documentation
Submitted: 2016-12-21 13:43 UTC Modified: 2016-12-22 09:00 UTC
From: enuser at rambler dot ru Assigned: rjhdby (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: enuser at rambler dot ru
New email:
PHP Version: OS:

 

 [2016-12-21 13:43 UTC] enuser at rambler dot ru
Description:
------------
---
From manual page: http://www.php.net/function.socket-set-option
---

Description:
------------
In text missing '

if (!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) {
    echo 'Не могу установить опцию на сокете: . socket_strerror(socket_last_error()) . PHP_EOL;
}

Should be so:

if (!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) {
    echo 'Не могу установить опцию на сокете: '. socket_strerror(socket_last_error()) . PHP_EOL;
}

Thank you.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-21 14:20 UTC] cmb@php.net
-Summary: Spelling mistake in documentation +Summary: [RU] Spelling mistake in documentation -Package: *General Issues +Package: Translation problem
 [2016-12-21 18:53 UTC] rjhdby@php.net
Automatic comment from SVN on behalf of rjhdby
Revision: http://svn.php.net/viewvc/?view=revision&revision=341431
Log: #73799
 [2016-12-21 18:55 UTC] rjhdby@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rjhdby
 [2016-12-21 18:55 UTC] rjhdby@php.net
fixed
 [2016-12-21 20:57 UTC] enuser at rambler dot ru
No it's not. I didn't see fixing

if (!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) {
    echo 'Не могу установить опцию на сокете: . socket_strerror(socket_last_error()) . PHP_EOL;
}

Still without '
 [2016-12-22 09:00 UTC] enuser at rambler dot ru
Hello.

Yes, fixed!

Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 04:01:30 2024 UTC