3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = []; $foo['bar'] = 'baz'; echo $foo;

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.0060.00916.88
8.3.50.0060.01216.35
8.3.40.0070.00719.00
8.3.30.0110.00318.75
8.3.20.0000.00720.21
8.3.10.0070.00023.65
8.3.00.0050.00321.84
8.2.180.0140.01016.50
8.2.170.0110.00322.96
8.2.160.0150.00019.08
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00021.04
8.2.120.0040.00426.35
8.2.110.0060.00322.16
8.2.100.0090.00317.90
8.2.90.0040.00419.21
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0040.00418.05
8.2.50.0040.00418.10
8.2.40.0000.00720.55
8.2.30.0060.00321.01
8.2.20.0000.00817.99
8.2.10.0040.00418.02
8.2.00.0040.00417.98
8.1.270.0040.00422.07
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0060.00320.89
8.1.230.0070.00319.20
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0090.00017.35
8.1.190.0080.00017.23
8.1.180.0000.00718.10
8.1.170.0040.00418.88
8.1.160.0000.00718.92
8.1.150.0040.00418.83
8.1.140.0040.00419.38
8.1.130.0000.00718.80
8.1.120.0000.00717.40
8.1.110.0080.00017.38
8.1.100.0070.00017.31
8.1.90.0000.00717.39
8.1.80.0070.00017.42
8.1.70.0070.00017.40
8.1.60.0030.00517.45
8.1.50.0040.00417.37
8.1.40.0040.00417.43
8.1.30.0000.00817.60
8.1.20.0000.00817.48
8.1.10.0000.00917.45
8.1.00.0060.00317.46
8.0.300.0000.00720.02
8.0.290.0040.00416.75
8.0.280.0040.00418.44
8.0.270.0030.00317.30
8.0.260.0040.00416.92
8.0.250.0040.00416.98
8.0.240.0040.00716.91
8.0.230.0070.00016.88
8.0.220.0000.00616.89
8.0.210.0000.00716.79
8.0.200.0000.00716.91
8.0.190.0040.00416.84
8.0.180.0080.00016.77
8.0.170.0040.00416.85
8.0.160.0030.00316.75
8.0.150.0030.00316.85
8.0.140.0070.00016.84
8.0.130.0060.00013.35
8.0.120.0040.00416.86
8.0.110.0000.00716.78
8.0.100.0030.00516.83
8.0.90.0000.00816.87
8.0.80.0100.01316.83
8.0.70.0040.00416.82
8.0.60.0040.00416.97
8.0.50.0040.00416.89
8.0.30.0100.00817.32
8.0.20.0060.02317.40
8.0.10.0060.00317.00
8.0.00.0110.00517.00
7.4.330.0030.00315.55
7.4.320.0000.00616.43
7.4.300.0030.00316.43
7.4.290.0000.00716.40
7.4.280.0060.00316.57
7.4.270.0030.00316.36
7.4.260.0000.00716.52
7.4.250.0000.00616.38
7.4.240.0000.00716.38
7.4.230.0060.00016.51
7.4.220.0110.00716.51
7.4.210.0050.00916.53
7.4.200.0080.00016.64
7.4.160.0100.00716.41
7.4.150.0160.00617.40
7.4.140.0080.01317.86
7.4.130.0100.01416.38
7.4.120.0090.00816.52
7.4.110.0070.01016.51
7.4.100.0110.00616.41
7.4.90.0100.00916.74
7.4.80.0140.00719.39
7.4.70.0080.00816.56
7.4.60.0070.01616.57
7.4.50.0000.01716.39
7.4.40.0090.00616.39
7.4.30.0130.00616.39
7.4.00.0070.00714.80
7.3.330.0030.00313.07
7.3.320.0060.00013.25
7.3.310.0040.00416.27
7.3.300.0030.00316.31
7.3.290.0070.00016.32
7.3.280.0090.00716.30
7.3.270.0060.01217.40
7.3.260.0130.00716.29
7.3.250.0080.01216.36
7.3.240.0100.01016.40
7.3.230.0130.00616.35
7.3.210.0100.00716.40
7.3.200.0060.00916.55
7.3.190.0190.00016.41
7.3.180.0030.01316.32
7.3.170.0100.01016.42
7.3.160.0060.01016.38
7.2.330.0100.00616.60
7.2.320.0070.01016.66
7.2.310.0090.00916.43
7.2.300.0000.01616.66
7.2.290.0120.00616.38
7.2.60.0000.01416.79
7.2.00.0000.01419.14
7.1.200.0060.00615.67
7.1.100.0060.00617.66
7.1.70.0120.00016.98
7.1.60.0160.01034.73
7.1.50.0200.00734.66
7.1.40.0190.00934.48
7.1.30.0140.01434.36
7.1.20.0210.00734.40
7.1.10.0070.00716.29
7.1.00.0070.00716.50
7.0.200.0060.00616.75
7.0.190.0000.01316.80
7.0.180.0000.01216.12
7.0.170.0110.00416.28
7.0.160.0070.00716.45
7.0.150.0070.00916.13
7.0.140.0090.00316.13
7.0.130.0060.00616.36
7.0.120.0060.00616.42
7.0.110.0090.00416.26
7.0.100.0030.02016.30
7.0.90.0030.00916.17
7.0.80.0080.00416.10
7.0.70.0100.00316.14
7.0.60.0070.00716.02
7.0.50.0030.01016.39
7.0.40.0060.00616.25
7.0.30.0090.00316.21
7.0.20.0130.00016.33
7.0.10.0070.00716.20
7.0.00.0030.01016.19

preferences:
64.98 ms | 400 KiB | 5 Q