|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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: Wed Feb 24 17:01:24 2021 UTC