3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.32, 8.2.0 - 8.2.28, 8.3.0 - 8.3.19, 8.4.1 - 8.4.5
Array ( [0] => Array ( [0] => loc1 [1] => A1 [2] => A2 [3] => A3 [4] => A4 [5] => A5 ) [1] => Array ( [0] => loc1 [1] => B1 [2] => B2 [3] => B3 [4] => B4 [5] => B5 ) [2] => Array ( [0] => loc1 [1] => C1 [2] => C2 [3] => C3 [4] => C4 [5] => C5 ) [3] => Array ( [0] => loc2 [1] => A1 [2] => A2 [3] => A3 [4] => A4 [5] => A5 ) [4] => Array ( [0] => loc2 [1] => B1 [2] => B2 [3] => B3 [4] => B4 [5] => B5 ) [5] => Array ( [0] => loc2 [1] => C1 [2] => C2 [3] => C3 [4] => C4 [5] => C5 ) [6] => Array ( [0] => loc3 [1] => A1 [2] => A2 [3] => A3 [4] => A4 [5] => A5 ) [7] => Array ( [0] => loc3 [1] => B1 [2] => B2 [3] => B3 [4] => B4 [5] => B5 ) [8] => Array ( [0] => loc3 [1] => C1 [2] => C2 [3] => C3 [4] => C4 [5] => C5 ) [9] => Array ( [0] => loc4 [1] => A1 [2] => A2 [3] => A3 [4] => A4 [5] => A5 ) [10] => Array ( [0] => loc4 [1] => B1 [2] => B2 [3] => B3 [4] => B4 [5] => B5 ) [11] => Array ( [0] => loc4 [1] => C1 [2] => C2 [3] => C3 [4] => C4 [5] => C5 ) )

preferences:
169.05 ms | 422 KiB | 5 Q