3v4l.org

run code in 300+ PHP versions simultaneously
<?php $colors->{'red'} = '#ff0000'; $colors->{'blue'} = '#0000ff'; $shortnames{'Robert'} = 'Bob'; $shortnames{'James'} = 'Jim'; print_r($colors,$shortnames);

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.0110.00418.43
8.3.50.0170.00521.04
8.3.40.0000.01618.84
8.3.30.0110.00318.95
8.3.20.0040.00420.29
8.3.10.0040.00423.35
8.3.00.0050.00319.26
8.2.180.0110.00716.63
8.2.170.0110.00322.96
8.2.160.0110.00420.52
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0030.00622.19
8.2.110.0100.00022.07
8.2.100.0040.00817.72
8.2.90.0060.00317.50
8.2.80.0050.00317.97
8.2.70.0040.00417.80
8.2.60.0050.00317.68
8.2.50.0030.00618.10
8.2.40.0070.00019.17
8.2.30.0050.00220.52
8.2.20.0070.00017.37
8.2.10.0000.00717.92
8.2.00.0040.00417.54
8.1.280.0090.00925.92
8.1.270.0080.00022.05
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.84
8.1.230.0070.00419.02
8.1.220.0090.00017.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0060.00916.88
8.1.180.0080.00018.10
8.1.170.0040.00418.78
8.1.160.0040.00418.74
8.1.150.0000.00718.75
8.1.140.0000.00717.19
8.1.130.0030.00317.69
8.1.120.0000.00717.32
8.1.110.0060.00317.34
8.1.100.0070.00017.31
8.1.90.0000.00717.25
8.1.80.0030.00317.23
8.1.70.0040.00417.27
8.1.60.0040.00417.33
8.1.50.0080.00017.27
8.1.40.0040.00417.37
8.1.30.0000.00817.49
8.1.20.0000.00817.52
8.1.10.0040.00417.36
8.1.00.0000.00717.27
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.35
8.0.270.0000.00717.13
8.0.260.0040.00417.04
8.0.250.0070.00016.76
8.0.240.0040.00416.81
8.0.230.0040.00416.76
8.0.220.0040.00416.85
8.0.210.0070.00016.78
8.0.200.0030.00316.79
8.0.190.0020.00516.87
8.0.180.0070.00016.80
8.0.170.0000.00816.90
8.0.160.0030.00616.70
8.0.150.0080.00416.76
8.0.140.0070.00016.79
8.0.130.0000.00613.29
8.0.120.0050.00316.78
8.0.110.0050.00316.82
8.0.100.0050.00216.65
8.0.90.0000.00916.78
8.0.80.0040.01116.74
8.0.70.0040.00416.88
8.0.60.0040.00416.93
8.0.50.0040.00416.79
8.0.30.0140.00516.97
8.0.20.0090.01017.40
8.0.10.0090.00017.00
8.0.00.0070.01116.58
7.4.330.0050.00015.00
7.4.320.0060.00016.52
7.4.300.0000.00716.53
7.4.290.0040.00416.40
7.4.280.0020.00716.37
7.4.270.0040.00416.46
7.4.260.0070.00016.40
7.4.250.0040.00416.49
7.4.240.0020.00516.46
7.4.230.0040.00416.48
7.4.220.0000.01716.52
7.4.210.0080.00816.38
7.4.200.0020.00516.29
7.4.160.0120.00616.43
7.4.150.0130.01017.40
7.4.140.0130.00617.86
7.4.130.0100.00916.57
7.4.120.0100.00716.39
7.4.110.0140.00416.56
7.4.100.0070.01016.56
7.4.90.0150.00416.37
7.4.80.0090.00919.39
7.4.70.0130.00316.54
7.4.60.0140.00316.52
7.4.50.0080.00016.57
7.4.40.0080.00816.35
7.4.30.0100.00516.55
7.4.00.0070.00715.02
7.3.330.0000.00513.30
7.3.320.0000.00613.08
7.3.310.0000.00716.29
7.3.300.0070.00016.21
7.3.290.0090.01216.36
7.3.280.0090.00816.33
7.3.270.0060.01017.40
7.3.260.0140.00616.57
7.3.250.0130.00716.45
7.3.240.0140.00716.41
7.3.230.0070.01016.54
7.3.210.0180.00016.37
7.3.200.0120.00419.39
7.3.190.0100.01016.14
7.3.180.0070.01016.55
7.3.170.0100.00716.27
7.3.160.0120.00416.39
7.3.120.0060.01014.96
7.3.110.0030.01214.63
7.3.100.0030.00714.96
7.3.90.0090.00614.89
7.3.80.0060.01014.59
7.3.70.0090.00014.71
7.3.60.0070.00714.83
7.3.50.0140.00314.82
7.3.40.0040.01114.51
7.3.30.0100.00614.77
7.3.20.0040.01116.43
7.3.10.0120.00416.78
7.3.00.0040.01216.35
7.2.330.0130.00316.25
7.2.320.0030.01316.64
7.2.310.0000.02316.48
7.2.300.0100.01016.42
7.2.290.0100.00716.38
7.2.240.0170.00014.70
7.2.230.0000.01515.06
7.2.220.0090.00914.89
7.2.210.0070.01114.74
7.2.200.0130.00314.86
7.2.190.0030.01214.82
7.2.180.0060.00614.97
7.2.170.0060.00914.71
7.2.160.0000.01514.73
7.2.150.0130.00316.70
7.2.140.0060.00916.55
7.2.130.0030.01416.63
7.2.120.0100.00616.95
7.2.110.0040.01416.69
7.2.100.0030.01416.41
7.2.90.0100.00316.74
7.2.80.0060.01016.96
7.2.70.0060.00916.51
7.2.60.0030.01016.65
7.2.50.0030.01316.75
7.2.40.0080.00416.63
7.2.30.0070.01016.86
7.2.20.0060.01016.66
7.2.10.0040.00716.72
7.2.00.0060.00916.70
7.1.330.0030.00715.69
7.1.320.0000.01415.39
7.1.310.0030.01215.80
7.1.300.0040.00815.71
7.1.290.0070.00315.71
7.1.280.0120.00315.48
7.1.270.0030.01315.79
7.1.260.0080.00415.66
7.1.250.0030.00915.77
7.1.200.0040.00715.46
7.1.70.0000.00716.93
7.1.60.0140.01119.32
7.1.50.0040.01816.86
7.1.00.0030.07722.40
7.0.200.0040.00416.41
7.0.140.0070.07022.04
7.0.60.0130.07019.91
7.0.50.0030.08017.80
7.0.40.0100.07320.12
7.0.30.0400.05720.13
7.0.20.0230.04720.18
7.0.10.0070.09720.21
7.0.00.0000.05320.20
5.6.280.0070.07021.10
5.6.210.0100.08320.66
5.6.200.0030.08018.15
5.6.190.0030.09020.39
5.6.180.0370.06720.61
5.6.170.0400.07320.54
5.6.160.0130.07720.35
5.6.150.0130.07718.14
5.6.140.0070.08018.18
5.6.130.0070.05318.07
5.6.120.0070.03720.94
5.6.110.0030.08321.01
5.6.100.0100.04321.07
5.6.90.0070.04320.94
5.6.80.0030.07020.35
5.5.350.0170.06320.40
5.5.340.0100.07717.98
5.5.330.0100.05320.37
5.5.320.0430.07720.23
5.5.310.0200.05320.18
5.5.300.0070.06717.93
5.5.290.0030.05317.89
5.5.280.0070.08320.87
5.5.270.0030.04720.85
5.5.260.0000.06720.79
5.5.250.0030.04320.69
5.5.240.0270.08020.32
5.4.450.0700.05719.47
5.4.440.0700.06019.25
5.4.430.0670.05719.49
5.4.420.0630.00019.42
5.4.410.0630.00019.35
5.4.400.0700.00018.85
5.4.390.0730.00019.27
5.4.380.0870.00019.10
5.4.370.0600.00019.11
5.4.360.0670.00019.18
5.4.350.0670.00018.98
5.4.340.0060.03311.97
5.4.320.0110.03212.46
5.4.310.0040.04112.45
5.4.300.0100.03412.45
5.4.290.0050.03712.45
5.4.280.0050.03512.35
5.4.270.0040.03912.35
5.4.260.0060.03912.35
5.4.250.0070.03712.35
5.4.240.0040.03712.35
5.4.230.0090.04512.34
5.4.220.0080.03812.34
5.4.210.0080.03912.34
5.4.200.0040.03812.34
5.4.190.0090.04312.34
5.4.180.0060.03812.34
5.4.170.0080.03912.35
5.4.160.0040.03812.34
5.4.150.0090.03112.34
5.4.140.0070.03612.03
5.4.130.0070.03412.01
5.4.120.0070.03311.97
5.4.110.0060.03511.97
5.4.100.0050.03511.97
5.4.90.0020.03911.97
5.4.80.0060.04111.97
5.4.70.0050.03411.96
5.4.60.0050.03411.96
5.4.50.0090.03911.96
5.4.40.0060.03311.95
5.4.30.0060.03411.95
5.4.20.0060.03311.95
5.4.10.0090.03411.95
5.4.00.0080.03711.44
5.3.290.0030.04112.80
5.3.280.0040.03912.71
5.3.270.0060.03812.73
5.3.260.0060.03812.71
5.3.250.0060.03612.72
5.3.240.0030.04012.71
5.3.230.0080.04312.71
5.3.220.0050.03612.68
5.3.210.0040.04112.68
5.3.200.0070.03512.68
5.3.190.0050.03812.68
5.3.180.0090.03312.67
5.3.170.0070.03512.67
5.3.160.0090.04112.67
5.3.150.0090.04112.67
5.3.140.0100.03412.66
5.3.130.0080.03712.65
5.3.120.0080.03712.66
5.3.110.0060.03912.66
5.3.100.0070.03612.12
5.3.90.0090.03312.08
5.3.80.0040.03912.08
5.3.70.0020.04012.08
5.3.60.0050.03812.06
5.3.50.0040.03912.00
5.3.40.0050.03712.00
5.3.30.0070.03311.95
5.3.20.0050.03511.72
5.3.10.0060.03711.69
5.3.00.0010.03911.68
5.2.170.0060.0289.18
5.2.160.0030.0299.18
5.2.150.0010.0349.17
5.2.140.0050.0319.17
5.2.130.0030.0309.13
5.2.120.0070.0299.14
5.2.110.0080.0279.14
5.2.100.0060.0279.14
5.2.90.0070.0269.14
5.2.80.0010.0339.14
5.2.70.0070.0299.13
5.2.60.0020.0329.09
5.2.50.0040.0309.05
5.2.40.0040.0299.03
5.2.30.0040.0309.01
5.2.20.0030.0299.00
5.2.10.0080.0248.92
5.2.00.0060.0278.77
5.1.60.0030.0268.06
5.1.50.0050.0238.06
5.1.40.0040.0248.04
5.1.30.0040.0268.39
5.1.20.0040.0268.41
5.1.10.0060.0318.13
5.1.00.0040.0318.14
5.0.50.0050.0236.62
5.0.40.0050.0246.48
5.0.30.0020.0326.29
5.0.20.0030.0226.26
5.0.10.0030.0216.24
5.0.00.0040.0366.22
4.4.90.0030.0164.78
4.4.80.0050.0144.75
4.4.70.0020.0184.75
4.4.60.0020.0164.76
4.4.50.0040.0144.77
4.4.40.0020.0264.71
4.4.30.0040.0144.76
4.4.20.0010.0174.84
4.4.10.0020.0164.85
4.4.00.0010.0264.76
4.3.110.0070.0114.67
4.3.100.0030.0144.67
4.3.90.0020.0154.64
4.3.80.0020.0254.58
4.3.70.0030.0144.63
4.3.60.0000.0174.63
4.3.50.0030.0194.63
4.3.40.0040.0234.54
4.3.30.0010.0213.28
4.3.20.0030.0213.26
4.3.10.0020.0153.23
4.3.00.0170.0177.19

preferences:
51.27 ms | 401 KiB | 5 Q