3v4l.org

run code in 300+ PHP versions simultaneously
<?php $coolarray = [ 'test' => 123 ]; $coolarrat['test2'] = 321; ?>

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.01416.38
8.3.50.0130.00717.73
8.3.40.0120.00318.51
8.3.30.0100.00718.64
8.3.20.0040.00419.16
8.3.10.0000.00721.59
8.3.00.0080.00023.65
8.2.180.0100.00718.12
8.2.170.0150.00322.96
8.2.160.0180.00019.08
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0070.00322.16
8.2.120.0000.00726.35
8.2.110.0060.00322.28
8.2.100.0110.00017.77
8.2.90.0050.00319.21
8.2.80.0100.00017.97
8.2.70.0030.00517.78
8.2.60.0050.00317.91
8.2.50.0050.00318.10
8.2.40.0070.00019.42
8.2.30.0000.00719.18
8.2.20.0000.00718.04
8.2.10.0040.00417.92
8.2.00.0030.00519.35
8.1.280.0120.00325.92
8.1.270.0030.00622.10
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00622.46
8.1.230.0110.00018.99
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0080.00017.36
8.1.190.0030.00617.35
8.1.180.0090.00018.10
8.1.170.0000.00818.84
8.1.160.0000.00818.81
8.1.150.0040.00418.81
8.1.140.0080.00017.50
8.1.130.0030.00317.38
8.1.120.0050.00317.43
8.1.110.0060.00317.31
8.1.100.0040.00417.38
8.1.90.0040.00417.41
8.1.80.0000.00817.34
8.1.70.0040.00517.36
8.1.60.0030.00517.46
8.1.50.0040.00417.43
8.1.40.0000.00817.38
8.1.30.0030.00517.47
8.1.20.0000.01117.46
8.1.10.0000.00817.46
8.1.00.0000.00717.36
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0030.00317.13
8.0.260.0030.00316.66
8.0.250.0000.00716.77
8.0.240.0000.00716.91
8.0.230.0030.00316.91
8.0.220.0030.00316.69
8.0.210.0080.00016.84
8.0.200.0030.00316.85
8.0.190.0040.00416.89
8.0.180.0040.00416.90
8.0.170.0040.00416.85
8.0.160.0000.00716.84
8.0.150.0030.00416.66
8.0.140.0050.00216.76
8.0.130.0000.00513.18
8.0.120.0100.00016.83
8.0.110.0070.00016.76
8.0.100.0000.00816.83
8.0.90.0000.00816.79
8.0.80.0000.01416.86
8.0.70.0040.00416.66
8.0.60.0040.00416.88
8.0.50.0030.00516.64
8.0.30.0100.01117.04
8.0.20.0130.00617.40
8.0.10.0000.00816.83
8.0.00.0080.01016.84
7.4.330.0030.00315.55
7.4.320.0060.00016.54
7.4.300.0040.00416.52
7.4.290.0080.00016.53
7.4.280.0030.00616.37
7.4.270.0070.00016.46
7.4.260.0070.00016.34
7.4.250.0000.00716.38
7.4.240.0000.00716.39
7.4.230.0040.00416.55
7.4.220.0000.00716.52
7.4.210.0030.01116.46
7.4.200.0070.00016.26
7.4.160.0070.01016.50
7.4.140.0090.01017.86
7.4.130.0070.01016.36
7.4.120.0070.01216.42
7.4.110.0030.01316.34
7.4.100.0070.01016.34
7.4.90.0070.01116.32
7.4.80.0120.00619.39
7.4.70.0060.00916.54
7.4.60.0110.00716.19
7.4.50.0090.00616.30
7.4.40.0060.01516.26
7.4.00.0030.01315.05
7.3.330.0000.00612.89
7.3.320.0000.00612.86
7.3.310.0030.00316.01
7.3.300.0000.00616.18
7.3.290.0070.00016.22
7.3.280.0110.00316.20
7.3.260.0100.00816.35
7.3.240.0110.00816.28
7.3.230.0060.01116.36
7.3.210.0030.01916.42
7.3.200.0130.00316.33
7.3.190.0130.00316.21
7.3.180.0100.00616.41
7.3.170.0130.00316.11
7.3.160.0160.00416.18
7.3.10.0070.00316.15
7.3.00.0100.01016.24
7.2.330.0110.00616.33
7.2.320.0100.01016.61
7.2.310.0030.01416.32
7.2.300.0060.01816.56
7.2.290.0060.01716.50
7.2.130.0040.00916.16
7.2.120.0000.01016.14
7.2.110.0090.00916.36
7.2.100.0040.01116.75
7.2.90.0140.01016.56
7.2.80.0150.00816.77
7.2.70.1160.00815.64
7.2.60.0530.01015.38
7.2.50.0500.00815.33
7.2.40.0470.01015.63
7.2.30.0340.00715.37
7.2.20.0370.00815.62
7.2.10.0340.00315.61
7.2.00.0400.00615.71
7.1.250.0070.00715.42
7.1.200.0000.00715.52
7.1.170.0550.01113.51
7.1.160.0590.00613.49
7.1.150.0620.00313.80
7.1.140.0560.01013.54
7.1.130.0570.00313.47
7.1.120.0540.01013.63
7.1.110.0550.01113.72
7.1.100.0630.00313.62
7.1.90.1010.00613.58
7.1.80.0710.00313.50
7.1.70.0660.01013.60
7.1.60.0930.00731.57
7.1.50.0990.01031.55
7.1.40.1080.00331.57
7.1.30.1100.00631.77
7.1.20.1050.00731.71
7.1.10.1130.01313.51
7.1.00.0840.00313.70

preferences:
58.38 ms | 400 KiB | 5 Q