3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo array_key_exists('id', $_GET); /*for ($files = scandir('.', 1); $files; ) { $file = array_pop($files); if (is_file($file) && !is_dir($file)) { break; } } echo '$file = '. $file;*/ ?>

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.0180.00316.75
8.3.50.0110.00722.01
8.3.40.0070.00718.66
8.3.30.0120.00319.04
8.3.20.0040.00420.30
8.3.10.0000.00723.64
8.3.00.0040.00419.38
8.2.180.0030.01216.38
8.2.170.0070.00722.96
8.2.160.0040.00920.42
8.2.150.0000.00724.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0040.01222.25
8.2.110.0000.00822.24
8.2.100.0070.00417.91
8.2.90.0030.00619.23
8.2.80.0060.00318.04
8.2.70.0060.00317.38
8.2.60.0000.00918.05
8.2.50.0000.00818.07
8.2.40.0000.00818.03
8.2.30.0070.00017.98
8.2.20.0040.00417.72
8.2.10.0040.00418.10
8.2.00.0030.00617.64
8.1.280.0130.00325.92
8.1.270.0080.00022.20
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.87
8.1.230.0040.00818.99
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0030.00717.23
8.1.190.0050.00317.16
8.1.180.0000.00818.10
8.1.170.0030.00618.50
8.1.160.0040.00422.06
8.1.150.0030.00618.59
8.1.140.0000.00717.49
8.1.130.0000.00717.73
8.1.120.0040.00417.46
8.1.110.0030.00617.32
8.1.100.0040.00417.33
8.1.90.0040.00417.37
8.1.80.0070.00017.34
8.1.70.0070.00017.31
8.1.60.0000.00817.50
8.1.50.0000.00917.32
8.1.40.0050.00317.34
8.1.30.0030.00617.53
8.1.20.0000.00817.64
8.1.10.0000.00717.52
8.1.00.0000.00817.29
8.0.300.0000.00718.77
8.0.290.0000.00817.04
8.0.280.0050.00318.36
8.0.270.0030.00317.22
8.0.260.0030.00316.72
8.0.250.0030.00416.84
8.0.240.0050.00316.89
8.0.230.0020.00516.86
8.0.220.0070.00016.84
8.0.210.0030.00316.83
8.0.200.0000.00716.93
8.0.190.0040.00416.82
8.0.180.0040.00416.82
8.0.170.0000.00816.85
8.0.160.0070.00016.86
8.0.150.0070.00016.79
8.0.140.0000.00716.74
8.0.130.0000.00613.24
8.0.120.0040.00416.68
8.0.110.0000.00816.73
8.0.100.0050.00216.81
8.0.90.0070.00016.88
8.0.80.0030.01216.76
8.0.70.0000.00716.61
8.0.60.0040.00416.91
8.0.50.0040.00416.83
8.0.30.0070.01217.16
8.0.20.0120.00617.40
8.0.10.0030.00516.81
8.0.00.0110.00916.68
7.4.330.0050.00015.03
7.4.320.0000.00716.50
7.4.300.0030.00316.42
7.4.290.0000.00716.56
7.4.280.0000.00716.36
7.4.270.0070.00016.46
7.4.260.0070.00016.39
7.4.250.0040.00416.30
7.4.240.0000.00716.46
7.4.230.0070.00016.62
7.4.220.0120.00616.49
7.4.210.0050.01116.43
7.4.200.0050.00216.30
7.4.190.0070.00016.51
7.4.160.0060.01616.42
7.4.150.0160.01017.40
7.4.140.0120.00517.86
7.4.130.0070.01016.36
7.4.120.0060.01116.44
7.4.110.0070.01016.35
7.4.100.0070.01016.52
7.4.90.0120.00616.41
7.4.80.0040.01819.39
7.4.70.0090.00616.51
7.4.60.0030.01316.50
7.4.50.0000.00916.38
7.4.40.0090.00622.77
7.4.30.0080.00816.40
7.4.00.0060.00915.11
7.3.330.0000.00513.03
7.3.320.0000.00512.98
7.3.310.0000.00716.05
7.3.300.0000.00716.07
7.3.290.0100.01016.14
7.3.280.0060.01016.15
7.3.270.0130.00317.40
7.3.260.0180.02416.43
7.3.250.0170.00716.32
7.3.240.0120.00316.32
7.3.230.0090.00816.39
7.3.210.0100.00716.40
7.3.200.0170.00019.39
7.3.190.0120.00616.32
7.3.180.0110.00416.34
7.3.170.0120.00316.35
7.3.160.0120.01216.33
7.3.120.0120.00314.93
7.3.10.0000.01416.37
7.3.00.0030.00616.68
7.2.330.0110.00516.45
7.2.320.0070.01016.34
7.2.310.0060.01516.48
7.2.300.0130.00316.19
7.2.290.0120.00616.73
7.2.130.0030.00916.54
7.2.120.0030.01016.76
7.2.110.0140.00016.54
7.2.100.0060.00716.47
7.2.90.0130.00316.52
7.2.80.0060.00616.84
7.2.70.0050.00516.78
7.2.60.0040.00816.45
7.2.50.0090.00316.96
7.2.40.0030.00616.84
7.2.30.0030.00616.95
7.2.20.0030.00616.99
7.2.10.0000.01416.84
7.2.00.0060.00418.14
7.1.250.0040.00715.29
7.1.100.0090.00017.83
7.1.70.0040.00417.07
7.1.60.0170.00719.33
7.1.50.0100.01016.88
7.1.00.0030.07722.31
7.0.200.0060.00316.77
7.0.140.0070.07022.15
7.0.60.0330.06319.77
7.0.50.0030.04017.66
7.0.40.0070.04720.20
7.0.30.0430.05720.20
7.0.20.0230.07320.04
7.0.10.0070.04020.00
7.0.00.0100.08020.12
5.6.280.0070.07021.11
5.6.210.0130.05720.61
5.6.200.0100.05318.11
5.6.190.0030.06020.73
5.6.180.0230.08020.67
5.6.170.0430.06320.42
5.6.160.0070.04720.33
5.6.150.0070.07318.18
5.6.140.0070.04718.08
5.6.130.0000.04718.11
5.6.120.0070.04321.14
5.6.110.0000.08320.98
5.6.100.0070.08020.93
5.6.90.0170.05721.02
5.6.80.0030.03720.37
5.5.350.0030.05320.43
5.5.340.0070.07317.99
5.5.330.0100.07320.27
5.5.320.0170.04020.17
5.5.310.0130.06020.41
5.5.300.0070.05017.96
5.5.290.0070.07317.90
5.5.280.0170.07320.84
5.5.270.0030.08320.86
5.5.260.0030.07720.96
5.5.250.0100.08320.46
5.5.240.0300.07020.18
5.4.450.0700.04319.21
5.4.440.0770.05719.27
5.4.430.0830.06019.32
5.4.420.0900.05719.40
5.4.410.0870.06319.50
5.4.400.0900.05019.28
5.4.390.0830.05719.27
5.4.380.0270.07318.54
5.4.370.0200.06018.48
5.4.360.0200.05718.64
5.4.350.0200.05318.64
5.4.340.0170.05718.44
5.4.320.0040.04412.45
5.4.310.0080.03912.45
5.4.300.0070.03512.45
5.4.290.0050.04312.45
5.4.280.0050.04512.35
5.4.270.0050.03812.34
5.4.260.0080.04412.35
5.4.250.0080.03512.35
5.4.240.0050.03512.34
5.4.230.0060.04212.34
5.4.220.0060.03512.34
5.4.210.0090.03212.34
5.4.200.0060.03612.34
5.4.190.0050.03612.34
5.4.180.0060.03912.33
5.4.170.0180.03912.33
5.4.160.0280.09112.32
5.4.150.0130.04612.32
5.4.140.0130.04412.00
5.4.130.0140.04411.99
5.4.120.0120.04511.95
5.4.110.0180.04211.95
5.4.100.0120.04511.95
5.4.90.0200.03911.95
5.4.80.0160.04011.95
5.4.70.0230.06311.94
5.4.60.0120.04511.94
5.4.50.0160.04011.94
5.4.40.0200.03811.93
5.4.30.0180.04211.93
5.4.20.0180.04511.93
5.4.10.0160.04411.93
5.4.00.0170.03811.41
5.3.290.0040.04012.80
5.3.280.0100.03612.71
5.3.270.0170.07512.72
5.3.260.0120.04812.71
5.3.250.0160.04412.72
5.3.240.0140.04512.72
5.3.230.0190.04212.71
5.3.220.0180.04112.68
5.3.210.0220.09812.68
5.3.200.0200.03912.68
5.3.190.0200.04112.68
5.3.180.0210.03912.68
5.3.170.0210.06912.67
5.3.160.0160.04512.67
5.3.150.0150.04412.67
5.3.140.0130.04612.66
5.3.130.0180.04112.66
5.3.120.0140.04812.66
5.3.110.0300.06012.66
5.3.100.0150.04412.12
5.3.90.0110.04612.08
5.3.80.0160.04312.08
5.3.70.0130.04612.07
5.3.60.0120.04812.07
5.3.50.0120.04712.00
5.3.40.0150.04412.00
5.3.30.0310.05711.94
5.3.20.0160.04311.72
5.3.10.0190.04011.68
5.3.00.0090.04811.67
5.2.170.0110.0379.18
5.2.160.0120.0369.18
5.2.150.0160.0319.18
5.2.140.0150.0339.17
5.2.130.0150.0329.13
5.2.120.0140.0339.13
5.2.110.0120.0359.14
5.2.100.0130.0359.13
5.2.90.0170.0329.13
5.2.80.0310.0779.12
5.2.70.0140.0369.12
5.2.60.0110.0369.08
5.2.50.0140.0359.05
5.2.40.0140.0369.02
5.2.30.0160.0349.00
5.2.20.0120.0408.99
5.2.10.0090.0398.92
5.2.00.0130.0348.77
5.1.60.0080.0328.06
5.1.50.0080.0338.06
5.1.40.0100.0308.04
5.1.30.0200.0578.39
5.1.20.0160.0278.43
5.1.10.0160.0298.14
5.1.00.0150.0308.14
5.0.50.0140.0236.61
5.0.40.0240.0416.47
5.0.30.0240.0856.29
5.0.20.0100.0226.25
5.0.10.0090.0236.23
5.0.00.0090.0356.23
4.4.90.0090.0194.78
4.4.80.0080.0174.76
4.4.70.0070.0184.76
4.4.60.0070.0204.76
4.4.50.0050.0204.77
4.4.40.0060.0324.71
4.4.30.0070.0194.76
4.4.20.0110.0174.84
4.4.10.0090.0194.85
4.4.00.0190.0784.75
4.3.110.0100.0154.66
4.3.100.0080.0164.66
4.3.90.0060.0194.63
4.3.80.0080.0274.59
4.3.70.0060.0184.63
4.3.60.0100.0144.63
4.3.50.0080.0174.63
4.3.40.0080.0274.54
4.3.30.0040.0203.30
4.3.20.0030.0203.29
4.3.10.0060.0183.25
4.3.00.0070.01715.59

preferences:
41.48 ms | 401 KiB | 5 Q