From d886d2df8d807de47a58aa9482be9f32392ee72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?100=E3=81=AE=E4=BA=BA?= <100@pokemori.jp> Date: Wed, 15 Feb 2023 09:58:42 +0900 Subject: [PATCH] Migrate removed curly brace array access syntax to bracket syntax --- Net/IPv6.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Net/IPv6.php b/Net/IPv6.php index 3cc05dc..75df176 100644 --- a/Net/IPv6.php +++ b/Net/IPv6.php @@ -843,7 +843,7 @@ function SplitV64($ip, $uncompress = true) if (strstr($ip, '.')) { $pos = strrpos($ip, ':'); - $ip{$pos} = '_'; + $ip[$pos] = '_'; $ipPart = explode('_', $ip); return $ipPart;