3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int = 50; $arr['some' . ' complex' . ' index? with int ' . $int] = [[ 'type' => 'urls', 'urls' => ['url', 'murl', 'purl', 'turl']]]; $arrRef = &$arr['some' . ' complex' . ' index? with int ' . $int];

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0150.00618.40
8.3.50.0110.00922.11
8.3.40.0090.00618.68
8.3.30.0090.00618.68
8.3.20.0080.00018.73
8.3.10.0030.00520.53
8.3.00.0070.00317.48
8.2.180.0140.00716.50
8.2.170.0090.00622.96
8.2.160.0000.01422.08
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0070.00019.95
8.2.110.0060.00322.18
8.2.100.0090.00317.91
8.2.90.0000.00917.75
8.2.80.0000.00817.97
8.2.70.0090.00017.80
8.2.60.0000.00718.34
8.2.50.0050.00318.10
8.2.40.0000.00720.61
8.2.30.0040.00419.30
8.2.20.0030.00517.70
8.2.10.0030.00517.79
8.2.00.0070.00017.69
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.00928.09
8.1.240.0000.00920.69
8.1.230.0040.00719.04
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0060.00317.48
8.1.190.0030.00617.36
8.1.180.0050.00318.10
8.1.170.0080.00018.58
8.1.160.0040.00422.14
8.1.150.0040.00418.53
8.1.140.0070.00017.35
8.1.130.0050.00317.75
8.1.120.0000.00717.43
8.1.110.0000.00817.23
8.1.100.0030.00517.25
8.1.90.0070.00017.42
8.1.80.0040.00317.28
8.1.70.0030.00317.29
8.1.60.0060.00317.57
8.1.50.0000.00817.36
8.1.40.0020.00517.44
8.1.30.0060.00317.52
8.1.20.0040.00417.65
8.1.10.0000.00717.43
8.1.00.0070.00017.40
8.0.300.0040.00419.68
8.0.290.0050.00216.63
8.0.280.0000.00818.32
8.0.270.0030.00617.29
8.0.260.0000.00716.69
8.0.250.0020.00516.96
8.0.240.0030.00616.97
8.0.230.0040.00416.92
8.0.220.0030.00316.78
8.0.210.0000.00716.80
8.0.200.0000.00716.88
8.0.190.0000.00716.98
8.0.180.0000.00716.91
8.0.170.0110.00016.89
8.0.160.0000.00816.81
8.0.150.0040.00416.79
8.0.140.0040.00416.74
8.0.130.0030.00313.33
8.0.120.0040.00416.75
8.0.110.0000.00816.77
8.0.100.0040.00416.96
8.0.90.0050.00216.74
8.0.80.0070.00716.73
8.0.70.0070.00016.77
8.0.60.0000.00816.82
8.0.50.0000.00716.83
8.0.30.0080.01316.98
8.0.20.0080.01117.40
8.0.10.0050.00316.89
8.0.00.0100.01116.70
7.4.330.0060.00014.71
7.4.320.0060.00016.55
7.4.300.0000.00616.42
7.4.290.0080.00016.44
7.4.280.0050.00316.53
7.4.270.0040.00416.44
7.4.260.0030.00313.21
7.4.250.0080.00016.43
7.4.240.0070.00016.43
7.4.230.0000.00716.56
7.4.220.0100.00716.63
7.4.210.0080.00516.50
7.4.200.0000.00716.65
7.4.190.0000.00716.36
7.4.160.0060.01016.59
7.4.150.0080.01217.40
7.4.140.0100.00717.86
7.4.130.0120.00816.61
7.4.120.0100.00716.56
7.4.110.0110.00616.30
7.4.100.0030.01316.51
7.4.90.0030.01316.50
7.4.80.0110.01119.03
7.4.70.0090.00916.39
7.4.60.0090.00816.50
7.4.50.0000.00916.49
7.4.40.0100.00622.27
7.4.30.0030.01516.61
7.4.00.0070.00714.95
7.3.330.0030.00313.21
7.3.320.0030.00313.11
7.3.310.0030.00316.34
7.3.300.0020.00516.29
7.3.290.0070.00716.22
7.3.280.0040.01016.23
7.3.270.0120.00617.40
7.3.260.0120.00618.24
7.3.250.0100.00916.46
7.3.240.0120.00316.36
7.3.230.0060.00916.39
7.3.210.0000.01716.53
7.3.200.0060.01219.39
7.3.190.0110.00616.45
7.3.180.0090.00616.57
7.3.170.0100.01016.33
7.3.160.0060.00916.64
7.3.120.0100.00714.59
7.3.110.0070.01014.52
7.3.100.0000.01714.43
7.3.90.0030.01014.61
7.3.80.0000.01314.11
7.3.70.0120.00014.69
7.3.60.0130.00314.16
7.3.50.0080.00414.59
7.3.40.0070.00714.86
7.3.30.0040.00714.61
7.3.20.0030.01516.59
7.3.10.0090.00616.35
7.3.00.0000.01316.34
7.2.330.0060.01116.62
7.2.320.0120.00416.71
7.2.310.0090.01316.37
7.2.300.0030.01416.55
7.2.290.0160.00016.42
7.2.250.0040.01114.19
7.2.240.0120.00815.02
7.2.230.0000.01714.70
7.2.220.0070.01114.51
7.2.210.0090.00614.65
7.2.200.0070.01014.58
7.2.190.0030.01014.73
7.2.180.0070.00714.63
7.2.170.0090.00614.64
7.2.00.0100.00318.88
7.1.330.0090.00615.28
7.1.320.0070.00715.43
7.1.310.0070.00715.69
7.1.300.0030.01415.46
7.1.290.0040.00815.27
7.1.280.0040.00415.11
7.1.270.0070.00715.45
7.1.260.0000.01615.67
7.1.100.0060.00618.04
7.1.70.0000.00917.10
7.1.60.0140.00019.40
7.1.50.0070.01316.61
7.1.00.0070.07322.51
7.0.200.0140.00714.55
7.0.140.0070.07022.16
7.0.60.0300.07719.91
7.0.50.0270.04320.23
7.0.40.0270.08020.03
7.0.30.0170.08720.12
7.0.20.0200.08720.03
7.0.10.0270.07020.18
7.0.00.0270.08320.18
5.6.280.0030.07021.03
5.6.210.0300.06720.69
5.6.200.0330.06721.01
5.6.190.0330.07321.00
5.6.180.0300.07320.97
5.6.170.0270.07321.09
5.6.160.0230.08321.05
5.6.150.0200.05720.99
5.6.140.0300.07020.99
5.6.130.0370.06320.98
5.6.120.0270.07320.96
5.6.110.0200.06020.99
5.6.100.0300.04321.13
5.6.90.0170.04321.10
5.6.80.0400.06020.37
5.6.70.0230.03720.37
5.6.60.0230.07320.36
5.6.50.0200.04020.37
5.6.40.0270.07020.25
5.6.30.0230.03720.37
5.6.20.0130.03320.47
5.6.10.0100.03720.46
5.6.00.0130.03320.32
5.5.350.0230.07720.43
5.5.340.0300.05320.98
5.5.330.0230.08720.87
5.5.320.0300.06720.64
5.5.310.0230.06720.89
5.5.300.0270.07020.86
5.5.290.0230.07020.79
5.5.280.0230.07320.84
5.5.270.0300.06720.63
5.5.260.0130.05020.75
5.5.250.0270.07020.57
5.5.240.0200.05320.11
5.5.230.0200.08320.17
5.5.220.0130.04320.34
5.5.210.0270.04720.09
5.5.200.0200.03720.11
5.5.190.0200.03320.11
5.5.180.0170.03320.00
5.5.160.0270.06720.08
5.5.150.0230.07020.07
5.5.140.0230.07020.11
5.5.130.0200.04020.21
5.5.120.0300.05020.14
5.5.110.0200.08720.29
5.5.100.0270.07020.00
5.5.90.0230.07020.07
5.5.80.0270.07019.98
5.5.70.0200.07719.96
5.5.60.0270.06720.12
5.5.50.0130.04320.00
5.5.40.0270.05019.96
5.5.30.0370.06020.02
5.5.20.0200.04019.99
5.5.10.0200.04019.96
5.5.00.0270.07320.03
5.4.450.0270.07319.53
5.4.440.0270.05019.49
5.4.430.0230.07719.52
5.4.420.0230.06719.33
5.4.410.0170.07719.05
5.4.400.0200.03718.95
5.4.390.0200.04318.85
5.4.380.0170.04719.16
5.4.370.0230.03718.97
5.4.360.0270.03319.17
5.4.350.0170.06319.00
5.4.340.0170.03019.16
5.4.320.0230.07319.07
5.4.310.0330.06018.98
5.4.300.0170.04019.10
5.4.290.0300.06318.97
5.4.280.0170.05719.05
5.4.270.0300.07018.98
5.4.260.0270.07019.15
5.4.250.0200.07019.07
5.4.240.0270.07318.98
5.4.230.0270.06718.98
5.4.220.0270.07718.94
5.4.210.0130.04319.09
5.4.200.0330.05318.92
5.4.190.0200.03719.15
5.4.180.0270.07318.93
5.4.170.0230.06318.84
5.4.160.0330.06318.98
5.4.150.0270.07318.83
5.4.140.0270.06316.36
5.4.130.0230.07316.28
5.4.120.0230.07016.36
5.4.110.0270.06316.25
5.4.100.0230.06016.36
5.4.90.0330.06716.30
5.4.80.0270.03016.23
5.4.70.0270.03716.43
5.4.60.0130.04016.45
5.4.50.0130.04016.16
5.4.40.0170.03716.19
5.4.30.0230.02716.42
5.4.20.0200.03716.28
5.4.10.0200.02716.27
5.4.00.0170.04315.71
5.3.290.0270.03714.51
5.3.280.0170.05714.42
5.3.270.0230.08014.58
5.3.260.0200.05714.53
5.3.250.0300.06314.57
5.3.240.0170.04714.52
5.3.230.0270.07014.56
5.3.220.0270.06714.51
5.3.210.0170.07714.52
5.3.200.0270.07014.52
5.3.190.0270.06314.50
5.3.180.0230.05014.50
5.3.170.0170.04014.35
5.3.160.0200.03714.39
5.3.150.0200.03714.53
5.3.140.0170.03014.50
5.3.130.0170.03714.48
5.3.120.0170.03014.52
5.3.110.0230.02714.50
5.3.100.0100.05013.87
5.3.90.0170.03013.87
5.3.80.0100.03314.01
5.3.70.0130.03714.00
5.3.60.0170.02713.93
5.3.50.0270.03013.84
5.3.40.0130.03013.79
5.3.30.0130.03313.84
5.3.20.0170.02713.62
5.3.10.0200.02313.61
5.3.00.0130.03013.61
5.2.170.0170.03011.15
5.2.160.0170.02711.05
5.2.150.0130.02311.18
5.2.140.0070.03011.14
5.2.130.0100.03011.09
5.2.120.0070.02710.94
5.2.110.0170.01711.09
5.2.100.0170.01710.88
5.2.90.0100.02711.14
5.2.80.0130.02311.08
5.2.70.0070.02711.04
5.2.60.0100.02310.97
5.2.50.0070.02711.01
5.2.40.0070.02710.84
5.2.30.0130.02010.95
5.2.20.0100.02310.96
5.2.10.0100.02310.85
5.2.00.0030.02710.61
5.1.60.0130.02010.61
5.1.50.0030.03010.61
5.1.40.0100.02710.61
5.1.30.0070.02310.61
5.1.20.0070.02310.61
5.1.10.0100.02010.61
5.1.00.0100.02010.61
5.0.50.0030.01710.61
5.0.40.0070.01310.61
5.0.30.0030.04010.61
5.0.20.0000.03010.61
5.0.10.0000.01710.61
5.0.00.0030.03310.61
4.4.90.0030.01310.61
4.4.80.0030.01310.61
4.4.70.0030.01310.61
4.4.60.0030.01310.61
4.4.50.0000.01310.61
4.4.40.0070.02010.61
4.4.30.0070.01310.61
4.4.20.0030.01010.61
4.4.10.0070.00710.61
4.4.00.0030.02010.61
4.3.110.0100.03010.61
4.3.100.0030.01710.61
4.3.90.0000.03710.61
4.3.80.0030.04010.61
4.3.70.0030.03010.61
4.3.60.0070.03310.61
4.3.50.0070.03710.61
4.3.40.0070.05310.61
4.3.30.0000.03010.61
4.3.20.0030.03310.61
4.3.10.0070.03310.61
4.3.00.0000.03710.61

preferences:
44.36 ms | 401 KiB | 5 Q