3v4l.org

run code in 300+ PHP versions simultaneously
<?php $what = "hey@hey.com"; $test = $array(); $test[$what]; ?>

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.00616.86
8.3.50.0110.00417.96
8.3.40.0110.00418.76
8.3.30.0120.00318.67
8.3.20.0040.00420.22
8.3.10.0070.00022.09
8.3.00.0000.00823.57
8.2.180.0100.01018.28
8.2.170.0100.01022.96
8.2.160.0150.00419.41
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00021.20
8.2.120.0040.00426.35
8.2.110.0030.00620.85
8.2.100.0090.00317.84
8.2.90.0050.00317.70
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0000.00817.38
8.2.50.0040.00417.55
8.2.40.0040.00420.39
8.2.30.0070.00019.15
8.2.20.0040.00417.99
8.2.10.0030.00517.92
8.2.00.0000.01118.09
8.1.280.0100.01025.92
8.1.270.0070.00023.91
8.1.260.0120.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00423.98
8.1.230.0090.00322.70
8.1.220.0080.00017.78
8.1.210.0050.00318.77
8.1.200.0050.00317.23
8.1.190.0050.00517.23
8.1.180.0040.00418.10
8.1.170.0070.00318.52
8.1.160.0040.00418.73
8.1.150.0030.00320.02
8.1.140.0020.00519.55
8.1.130.0000.00718.77
8.1.120.0000.00717.43
8.1.110.0030.00617.42
8.1.100.0000.00817.42
8.1.90.0030.00517.35
8.1.80.0040.00417.39
8.1.70.0040.00417.29
8.1.60.0030.00717.39
8.1.50.0080.00017.41
8.1.40.0040.00417.36
8.1.30.0000.00817.57
8.1.20.0040.00417.64
8.1.10.0060.00317.58
8.1.00.0030.00517.43
8.0.300.0070.00019.86
8.0.290.0040.00416.63
8.0.280.0070.00018.28
8.0.270.0030.00317.10
8.0.260.0030.00318.82
8.0.250.0030.00316.88
8.0.240.0070.00017.01
8.0.230.0030.00316.89
8.0.220.0000.00716.81
8.0.210.0000.00716.91
8.0.200.0040.00716.90
8.0.190.0040.00716.91
8.0.180.0000.00816.96
8.0.170.0000.00816.93
8.0.160.0040.00416.90
8.0.150.0070.00016.83
8.0.140.0030.00516.75
8.0.130.0060.00013.19
8.0.120.0000.00816.77
8.0.110.0040.00416.86
8.0.100.0000.00816.75
8.0.90.0000.00716.66
8.0.80.0000.01416.85
8.0.70.0070.00016.91
8.0.60.0000.00816.73
8.0.50.0030.00516.78
8.0.30.0070.00816.94
8.0.20.0100.00917.40
8.0.10.0000.00717.04
8.0.00.0100.01016.59
7.4.330.0030.00315.55
7.4.320.0060.00016.54
7.4.300.0000.00716.48
7.4.290.0000.00616.49
7.4.280.0080.00016.59
7.4.270.0000.00716.63
7.4.260.0040.00416.61
7.4.250.0000.00716.50
7.4.240.0070.00016.63
7.4.230.0030.00316.45
7.4.220.0030.01616.66
7.4.210.0100.00816.57
7.4.200.0030.00316.66
7.4.160.0080.01116.62
7.4.150.0120.00617.40
7.4.140.0120.01017.86
7.4.130.0190.00616.66
7.4.120.0130.00716.51
7.4.110.0100.01016.35
7.4.100.0150.00416.57
7.4.90.0130.00316.58
7.4.80.0080.00819.39
7.4.70.0070.01016.46
7.4.60.0100.00716.57
7.4.50.0090.00616.32
7.4.40.0060.00916.39
7.4.30.0150.00616.54
7.4.00.0030.01014.80
7.3.330.0030.00313.09
7.3.320.0050.00013.00
7.3.310.0070.00016.05
7.3.300.0000.00616.16
7.3.290.0000.00716.30
7.3.280.0090.00716.25
7.3.270.0090.00917.40
7.3.260.0120.00416.24
7.3.250.0100.01016.34
7.3.240.0030.01516.33
7.3.230.0130.00316.52
7.3.210.0050.01816.20
7.3.200.0140.00316.30
7.3.190.0100.00616.36
7.3.180.0000.01616.25
7.3.170.0110.00616.25
7.3.160.0090.00616.31
7.3.120.0100.00014.94
7.3.110.0100.00714.40
7.3.100.0000.01314.73
7.3.90.0080.00415.02
7.3.80.0130.00314.92
7.3.70.0030.00614.92
7.3.60.0030.01014.84
7.3.50.0070.00714.89
7.3.40.0000.00814.71
7.3.30.0070.00714.66
7.3.20.0050.00316.75
7.3.10.0040.00816.35
7.3.00.0000.00916.36
7.2.330.0110.00816.44
7.2.320.0120.00416.45
7.2.310.0070.01016.44
7.2.300.0100.00716.31
7.2.290.0040.01316.23
7.2.240.0140.00314.54
7.2.230.0030.00915.04
7.2.220.0040.00414.91
7.2.210.0100.00715.16
7.2.200.0070.00714.94
7.2.190.0030.00615.02
7.2.180.0070.00714.88
7.2.170.0040.01214.90
7.2.160.0030.00914.84
7.2.150.0000.01116.72
7.2.140.0070.00416.73
7.2.130.0090.00616.82
7.2.120.0060.00916.53
7.2.110.0080.00816.61
7.2.100.0060.00916.83
7.2.90.0110.00416.90
7.2.80.0090.00616.76
7.2.70.0070.00416.84
7.2.60.0090.00416.73
7.2.50.0030.00516.85
7.2.40.0060.00316.50
7.2.30.0040.01116.69
7.2.20.0060.00916.80
7.2.10.0060.00616.57
7.2.00.0030.00916.91
7.1.330.0060.00915.41
7.1.320.0030.00915.66
7.1.310.0100.00315.56
7.1.300.0030.00715.33
7.1.290.0050.00515.32
7.1.280.0040.01115.73
7.1.270.0090.00315.42
7.1.260.0000.01115.69
7.1.250.0040.00715.55
7.1.200.0060.00615.70
7.1.90.0070.00717.83
7.1.80.0030.01018.20
7.1.70.0090.00816.94
7.1.60.0150.01234.73
7.1.50.0220.01534.63
7.1.40.0160.01334.20
7.1.30.0210.00734.40
7.1.20.0170.01034.59
7.1.10.0070.01016.35
7.1.00.0030.01016.44
7.0.230.0070.00717.79
7.0.220.0060.00617.62
7.0.210.0040.01416.68
7.0.200.0070.00616.84
7.0.190.0090.00616.63
7.0.180.0070.00716.11
7.0.170.0070.00716.06
7.0.160.0070.01016.20
7.0.150.0060.00616.11
7.0.140.0030.01016.15
7.0.130.0030.00916.48
7.0.120.0090.00316.50
7.0.110.0060.00616.16
7.0.100.0030.01116.18
7.0.90.0060.00616.20
7.0.80.0030.00916.30
7.0.70.0060.00616.13
7.0.60.0060.00616.07
7.0.50.0030.00916.41
7.0.40.0100.00316.38
7.0.30.0000.01216.34
7.0.20.0000.01216.23
7.0.10.0030.00916.32
7.0.00.0030.00916.36

preferences:
71.23 ms | 401 KiB | 5 Q