|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78427 IPv6 brackets
Submitted: 2019-08-18 08:28 UTC Modified: 2019-08-18 08:38 UTC
From: php at achterstraat dot com Assigned:
Status: Open Package: Variables related
PHP Version: 7.3.7 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.
Block user comment
Status: Assign to:
Bug Type:
From: php at achterstraat dot com
New email:
PHP Version: OS:


 [2019-08-18 08:28 UTC] php at achterstraat dot com
For IPv6 in $_SERVER['REMOTE_ADDR'] returns '[::1]' again, instead of expected '::1'

See also and

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-18 08:30 UTC]
-Status: Open +Status: Feedback
 [2019-08-18 08:30 UTC]
Which SAPI are you using?
 [2019-08-18 08:38 UTC] php at achterstraat dot com
-Status: Feedback +Status: Open -PHP Version: 7.3.9RC1 +PHP Version: 7.3.7
 [2019-08-18 08:38 UTC] php at achterstraat dot com
Using litespeed, correct version is 7.3.7. instead of 7.3.9
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 06:01:24 2021 UTC