3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'filters'=> array('where'=>array('yr'=>1994))); echo array_shift($keys = array_keys($array['filters']['where']));

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.0090.00916.88
8.3.50.0150.00522.82
8.3.40.0000.01418.67
8.3.30.0110.00418.98
8.3.20.0040.00420.26
8.3.10.0000.00723.66
8.3.00.0040.00419.50
8.2.180.0120.00618.54
8.2.170.0070.00722.96
8.2.160.0090.00620.47
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0030.00621.02
8.2.110.0060.00320.44
8.2.100.0070.00418.22
8.2.90.0080.00019.14
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0070.00018.22
8.2.30.0050.00319.43
8.2.20.0050.00317.64
8.2.10.0040.00418.13
8.2.00.0060.00317.84
8.1.280.0070.00725.92
8.1.270.0060.00323.83
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.13
8.1.230.0040.00719.14
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0100.00317.22
8.1.190.0000.00817.11
8.1.180.0080.00018.10
8.1.170.0030.00518.52
8.1.160.0000.00721.84
8.1.150.0040.00418.86
8.1.140.0000.00717.37
8.1.130.0000.00717.84
8.1.120.0040.00417.34
8.1.110.0000.00717.43
8.1.100.0070.00017.36
8.1.90.0070.00017.35
8.1.80.0040.00417.36
8.1.70.0080.00017.38
8.1.60.0030.00617.40
8.1.50.0030.00617.54
8.1.40.0080.00017.50
8.1.30.0050.00317.61
8.1.20.0050.00217.53
8.1.10.0030.00517.49
8.1.00.0040.00417.50
8.0.300.0000.00818.77
8.0.290.0080.00016.75
8.0.280.0000.00918.34
8.0.270.0050.00217.10
8.0.260.0070.00017.19
8.0.250.0030.00316.95
8.0.240.0030.00316.84
8.0.230.0040.00416.83
8.0.220.0030.00316.77
8.0.210.0080.00016.75
8.0.200.0000.00716.91
8.0.190.0000.00716.93
8.0.180.0000.00716.80
8.0.170.0040.00416.96
8.0.160.0030.00416.92
8.0.150.0030.00416.75
8.0.140.0040.00416.73
8.0.130.0030.00313.28
8.0.120.0060.00316.88
8.0.110.0000.00716.94
8.0.100.0080.00016.82
8.0.90.0030.00516.84
8.0.80.0070.00716.88
8.0.70.0030.00516.95
8.0.60.0040.00416.77
8.0.50.0000.00716.95
8.0.30.0140.00716.98
8.0.20.0110.00817.40
8.0.10.0050.00317.05
8.0.00.0040.01316.88
7.4.330.0020.00215.08
7.4.320.0070.00016.45
7.4.300.0030.00316.38
7.4.290.0000.00716.43
7.4.280.0000.00816.42
7.4.270.0020.00516.42
7.4.260.0000.00816.41
7.4.250.0020.00516.50
7.4.240.0030.00316.43
7.4.230.0040.00416.41
7.4.220.0030.01516.55
7.4.210.0080.00516.30
7.4.200.0040.00416.50
7.4.160.0030.01216.54
7.4.150.0060.01217.40
7.4.140.0060.01017.86
7.4.130.0080.00916.50
7.4.120.0070.00916.47
7.4.110.0080.00816.47
7.4.100.0100.00616.53
7.4.90.0060.01216.59
7.4.80.0100.00719.39
7.4.70.0100.01316.57
7.4.60.0060.01016.52
7.4.50.0020.00216.60
7.4.40.0080.00916.65
7.4.30.0140.00916.48
7.4.00.0070.00414.74
7.3.330.0050.00013.11
7.3.320.0030.00313.23
7.3.310.0030.00316.29
7.3.300.0040.00416.23
7.3.290.0070.00716.34
7.3.280.0110.00616.37
7.3.270.0100.00917.40
7.3.260.0100.00716.38
7.3.250.0110.00516.53
7.3.240.0140.00716.54
7.3.230.0100.00716.50
7.3.210.0100.00716.39
7.3.200.0110.00519.39
7.3.190.0100.01016.38
7.3.180.0070.01316.29
7.3.170.0060.01516.29
7.3.160.0130.00216.38
7.2.330.0130.01016.30
7.2.320.0060.01016.61
7.2.310.0090.01216.73
7.2.300.0090.00916.52
7.2.290.0110.00616.67
7.2.80.0100.00616.58
7.2.60.0070.00716.68
7.2.00.0000.01218.96
7.1.200.0040.01115.71
7.1.100.0030.01218.26
7.1.70.0080.00317.12
7.1.60.0040.01519.46
7.1.50.0030.00716.99
7.1.00.0000.07722.35
7.0.200.0030.00716.86
7.0.140.0070.07022.21
7.0.60.0030.06720.07
7.0.50.0000.07017.80
7.0.40.0100.05020.04
7.0.30.0430.04720.04
7.0.20.0230.04320.11
7.0.10.0000.04720.01
7.0.00.0070.07320.19
5.6.280.0100.06720.98
5.6.210.0030.08320.75
5.6.200.0000.04318.16
5.6.190.0130.07320.64
5.6.180.0170.04720.49
5.6.170.0300.06320.51
5.6.160.0000.05020.50
5.6.150.0070.03718.16
5.6.140.0000.08718.21
5.6.130.0070.08018.04
5.6.120.0170.06021.11
5.6.110.0100.07720.98
5.6.100.0100.07320.95
5.6.90.0130.07721.10
5.6.80.0200.06320.50
5.6.70.3830.03320.39
5.5.350.0100.07720.38
5.5.340.0000.04017.91
5.5.330.0070.05720.43
5.5.320.0300.06720.21
5.5.310.0300.04720.13
5.5.300.0030.08317.97
5.5.290.0100.06717.91
5.5.280.0070.05720.82
5.5.270.0030.05720.83
5.5.260.0070.04320.83
5.5.250.0130.07720.54
5.5.240.0400.06020.27
5.4.450.0100.05319.46
5.4.440.0330.05319.45
5.4.430.0570.04019.57
5.4.420.0270.04719.56
5.4.410.0300.04719.13
5.4.400.0130.04719.22
5.4.390.0230.04018.78
5.4.380.0400.04318.73
5.4.370.0500.06718.73
5.4.360.0630.05718.77
5.4.350.0400.05318.55
5.4.340.0270.05318.61
5.4.320.0060.04712.45
5.4.310.0080.04212.45
5.4.300.0060.03612.45
5.4.290.0080.03512.45
5.4.280.0040.04012.35
5.4.270.0060.03712.34
5.4.260.0080.03512.34
5.4.250.0070.04412.34
5.4.240.0100.03812.34
5.4.230.0060.03912.34
5.4.220.0040.03812.34
5.4.210.0110.03512.34
5.4.200.0060.04112.34
5.4.190.0080.03612.34
5.4.180.0120.03312.34
5.4.170.0020.04412.34
5.4.160.0080.04612.34
5.4.150.0080.03712.34
5.4.140.0080.04112.02
5.4.130.0070.04612.01
5.4.120.0070.03411.97
5.4.110.0070.04211.96
5.4.100.0070.04211.96
5.4.90.0070.04111.96
5.4.80.0040.04111.96
5.4.70.0070.03411.96
5.4.60.0030.03711.96
5.4.50.0050.03511.96
5.4.40.0040.03711.95
5.4.30.0050.04311.95
5.4.20.0070.03311.95
5.4.10.0040.05011.95
5.4.00.0050.03611.43
5.3.290.0060.04512.80
5.3.280.0080.03712.71
5.3.270.0070.03712.72
5.3.260.0040.04012.72
5.3.250.0100.03212.72
5.3.240.0080.04512.72
5.3.230.0140.04812.71
5.3.220.0080.04012.68
5.3.210.0030.04112.68
5.3.200.0100.03412.68
5.3.190.0100.03812.68
5.3.180.0070.03812.68
5.3.170.0090.04812.67
5.3.160.0080.03912.68
5.3.150.0070.04312.67
5.3.140.0070.04512.66
5.3.130.0050.04412.66
5.3.120.0100.05012.65
5.3.110.0110.04112.66
5.3.100.0070.04312.12
5.3.90.0040.04212.08
5.3.80.0060.04012.07
5.3.70.0090.04212.07
5.3.60.0060.03512.06
5.3.50.0100.03312.00
5.3.40.0060.03612.00
5.3.30.0040.03811.94
5.3.20.0030.03911.72
5.3.10.0060.03411.69
5.3.00.0080.03911.68
5.2.170.0070.0289.18
5.2.160.0100.0259.18
5.2.150.0070.0389.18
5.2.140.0050.0309.17
5.2.130.0060.0279.13
5.2.120.0070.0269.13
5.2.110.0050.0289.14
5.2.100.0080.0249.14
5.2.90.0050.0389.14
5.2.80.0040.0309.13
5.2.70.0020.0329.14
5.2.60.0040.0309.09
5.2.50.0070.0269.06
5.2.40.0040.0289.03
5.2.30.0020.0329.01
5.2.20.0040.0399.00
5.2.10.0040.0288.92
5.2.00.0050.0288.78
5.1.60.0020.0268.06
5.1.50.0050.0248.05
5.1.40.0040.0368.04
5.1.30.0070.0228.39
5.1.20.0060.0348.41
5.1.10.0060.0298.13
5.1.00.0070.0228.14
5.0.50.0030.0216.62
5.0.40.0030.0196.47
5.0.30.0020.0326.29
5.0.20.0020.0216.26
5.0.10.0040.0196.23
5.0.00.0020.0326.23
4.4.90.0000.0184.78
4.4.80.0010.0174.75
4.4.70.0050.0144.76
4.4.60.0020.0164.75
4.4.50.0030.0144.77
4.4.40.0020.0264.71
4.4.30.0030.0224.76
4.4.20.0070.0264.85
4.4.10.0030.0164.84
4.4.00.0040.0334.76
4.3.110.0030.0154.66
4.3.100.0020.0154.67
4.3.90.0040.0134.63
4.3.80.0030.0324.58
4.3.70.0030.0194.63
4.3.60.0030.0144.63
4.3.50.0030.0154.62
4.3.40.0020.0244.54
4.3.30.0010.0163.28
4.3.20.0020.0263.26
4.3.10.0010.0223.22
4.3.00.0030.01718.56

preferences:
92.07 ms | 401 KiB | 5 Q