3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $b = array(false, true, true, "Galamb vagyok."); if(reset($a) === reset($b)) { echo "[PHP is broken.] Array '\$a' and array '\$b' are equal."; } else { echo "[PHP works as expected.] Array '\$a' and array '\$b' are NOT equal."; }

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.70.0120.00618.18
8.3.60.0120.00618.55
8.3.50.0120.00921.92
8.3.40.0140.00718.71
8.3.30.0070.00719.01
8.3.20.0080.00020.34
8.3.10.0080.00023.65
8.3.00.0000.00819.26
8.2.180.0180.00016.38
8.2.170.0100.00722.96
8.2.160.0110.00420.52
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0090.00026.16
8.2.120.0000.00722.19
8.2.110.0060.00320.47
8.2.100.0060.00618.03
8.2.90.0050.00319.07
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0030.00617.93
8.2.50.0030.00918.07
8.2.40.0000.00819.92
8.2.30.0000.00817.90
8.2.20.0040.00417.66
8.2.10.0060.00317.95
8.2.00.0000.00717.55
8.1.280.0120.00625.92
8.1.270.0030.00524.00
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00323.92
8.1.230.0070.00419.00
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0000.00821.99
8.1.150.0040.00418.69
8.1.140.0000.00717.29
8.1.130.0000.00817.73
8.1.120.0000.00717.37
8.1.110.0070.00017.39
8.1.100.0000.00817.21
8.1.90.0030.00317.29
8.1.80.0000.00717.21
8.1.70.0050.00317.34
8.1.60.0030.00617.49
8.1.50.0030.00517.35
8.1.40.0000.00717.48
8.1.30.0030.00617.48
8.1.20.0000.00817.58
8.1.10.0040.00417.54
8.1.00.0040.00417.33
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0040.00418.37
8.0.270.0000.00717.16
8.0.260.0030.00317.25
8.0.250.0050.00316.80
8.0.240.0000.00716.84
8.0.230.0000.00716.88
8.0.220.0040.00316.71
8.0.210.0070.00016.84
8.0.200.0000.00616.85
8.0.190.0070.00016.88
8.0.180.0030.00316.84
8.0.170.0030.00516.73
8.0.160.0000.00716.83
8.0.150.0070.00016.75
8.0.140.0070.00016.84
8.0.130.0030.00313.30
8.0.120.0000.00716.78
8.0.110.0040.00416.79
8.0.100.0070.00016.75
8.0.90.0040.00316.80
8.0.80.0030.01316.74
8.0.70.0040.00416.82
8.0.60.0040.00416.70
8.0.50.0000.00816.89
8.0.30.0120.01717.07
8.0.20.0110.01417.40
8.0.10.0020.00516.76
8.0.00.0110.01016.69
7.4.330.0020.00215.00
7.4.320.0060.00016.40
7.4.300.0040.00416.54
7.4.290.0000.00716.41
7.4.280.0050.00216.50
7.4.270.0060.00016.55
7.4.260.0000.00716.52
7.4.250.0000.01016.38
7.4.240.0050.00216.63
7.4.230.0030.00316.39
7.4.220.0030.01316.50
7.4.210.0030.01016.60
7.4.200.0040.00416.41
7.4.160.0130.00316.64
7.4.150.0150.00917.40
7.4.140.0120.00717.86
7.4.130.0130.00316.53
7.4.120.0110.00616.43
7.4.110.0140.00716.41
7.4.100.0060.01016.59
7.4.90.0080.00816.53
7.4.80.0150.00619.39
7.4.70.0060.00916.35
7.4.60.0030.01316.35
7.4.50.0040.00016.29
7.4.40.0030.01316.71
7.4.30.0060.00916.52
7.4.00.0060.01115.01
7.3.330.0060.00013.00
7.3.320.0030.00313.00
7.3.310.0000.00716.16
7.3.300.0060.00016.18
7.3.290.0070.00716.16
7.3.280.0070.00816.25
7.3.270.0160.00317.40
7.3.260.0060.01016.41
7.3.250.0070.01316.29
7.3.240.0110.00816.25
7.3.230.0070.01016.39
7.3.210.0040.01216.36
7.3.200.0070.01119.39
7.3.190.0110.01116.32
7.3.180.0120.00416.35
7.3.170.0100.00716.34
7.3.160.0090.01316.26
7.3.120.0090.00614.95
7.3.110.0080.00614.69
7.3.100.0020.01014.64
7.3.90.0060.00814.73
7.3.80.0040.01114.55
7.3.70.0050.00514.83
7.3.60.0070.00914.69
7.3.50.0070.00614.73
7.3.40.0020.00814.81
7.3.30.0080.00714.58
7.3.20.0030.01016.61
7.3.10.0060.00616.51
7.3.00.0080.00516.51
7.2.330.0060.01216.23
7.2.320.0120.00616.65
7.2.310.0110.00616.41
7.2.300.0070.01016.61
7.2.290.0060.01516.59
7.2.250.0110.00715.15
7.2.240.0090.01014.77
7.2.230.0040.01215.13
7.2.220.0090.00614.96
7.2.210.0090.00614.86
7.2.200.0070.00715.05
7.2.190.0040.00914.87
7.2.180.0050.01214.73
7.2.170.0050.00714.79
7.2.160.0070.00714.64
7.2.150.0090.00916.89
7.2.140.0060.00916.94
7.2.130.0060.00816.78
7.2.120.0030.01116.82
7.2.110.0080.01016.66
7.2.100.0060.01016.64
7.2.90.0090.00916.73
7.2.80.0060.01216.64
7.2.70.0120.00516.68
7.2.60.0080.00816.65
7.2.50.0050.00816.78
7.2.40.0140.00716.76
7.2.30.0040.00916.67
7.2.20.0100.00516.63
7.2.10.0070.01116.72
7.2.00.0070.00817.71
7.1.330.0120.00415.67
7.1.320.0050.00915.65
7.1.310.0070.00815.68
7.1.300.0050.01015.84
7.1.290.0050.00815.73
7.1.280.0060.00515.73
7.1.270.0010.01215.59
7.1.260.0100.00515.55
7.1.250.0080.00815.70
7.1.200.0000.01115.84
7.1.100.0000.01117.18
7.1.70.0000.00717.03
7.1.60.0090.01519.32
7.1.50.0030.01916.54
7.1.00.0030.07722.54
7.0.200.0050.00516.52
7.0.140.0000.07722.18
7.0.60.0100.08019.87
7.0.50.0070.08017.82
7.0.40.0130.04020.40
7.0.30.0170.04320.20
7.0.20.0230.06720.21
7.0.10.0100.08320.09
7.0.00.0070.06320.09
5.6.280.0030.07320.89
5.6.210.0130.08020.56
5.6.200.0070.05018.23
5.6.190.0030.04720.43
5.6.180.0230.08020.67
5.6.170.0300.06720.48
5.6.160.0070.04720.49
5.6.150.0130.07018.21
5.6.140.0230.06718.12
5.6.130.0070.04718.11
5.6.120.0030.06020.73
5.6.110.0230.07020.97
5.6.100.0000.08321.11
5.6.90.0100.08320.98
5.6.80.0000.05720.37
5.5.350.0170.07320.40
5.5.340.0000.06717.88
5.5.330.0130.07320.36
5.5.320.0400.06020.18
5.5.310.0300.07320.27
5.5.300.0030.04717.98
5.5.290.0100.04318.00
5.5.280.0000.04320.97
5.5.270.0100.07320.71
5.5.260.0030.09720.68
5.5.250.0130.08020.67
5.5.240.0300.06720.23
5.4.450.1100.07719.47
5.4.440.0870.05719.63
5.4.430.0870.06319.60
5.4.420.0630.00019.42
5.4.410.0670.00019.04
5.4.400.0600.00019.22
5.4.390.0600.00019.09
5.4.380.0630.00019.06
5.4.370.0670.00019.00
5.4.360.0630.00018.91
5.4.350.0700.00019.26
5.4.340.0040.03611.97
5.4.320.0080.03412.45
5.4.310.0050.04012.45
5.4.300.0070.03612.45
5.4.290.0090.05012.45
5.4.280.0070.03412.35
5.4.270.0060.03612.35
5.4.260.0060.03712.35
5.4.250.0040.03912.34
5.4.240.0050.03612.34
5.4.230.0060.05112.34
5.4.220.0040.04412.34
5.4.210.0060.03512.34
5.4.200.0080.03912.34
5.4.190.0110.04212.33
5.4.180.0110.04912.34
5.4.170.0070.04912.35
5.4.160.0070.04212.34
5.4.150.0050.03812.34
5.4.140.0090.04112.02
5.4.130.0080.04412.01
5.4.120.0090.04311.96
5.4.110.0080.04011.96
5.4.100.0050.04111.96
5.4.90.0060.03811.96
5.4.80.0090.03611.96
5.4.70.0080.04511.96
5.4.60.0060.04311.96
5.4.50.0030.04011.96
5.4.40.0080.03411.95
5.4.30.0060.03711.94
5.4.20.0050.03811.94
5.4.10.0080.03211.95
5.4.00.0060.03711.43
5.3.290.0060.03912.80
5.3.280.0020.04212.70
5.3.270.0060.04112.73
5.3.260.0030.04212.72
5.3.250.0100.03912.72
5.3.240.0060.04112.72
5.3.230.0100.03912.71
5.3.220.0050.03812.68
5.3.210.0070.04012.68
5.3.200.0090.04212.68
5.3.190.0100.03612.67
5.3.180.0040.03812.67
5.3.170.0060.03712.67
5.3.160.0060.03612.67
5.3.150.0070.04512.67
5.3.140.0030.04112.66
5.3.130.0070.04212.66
5.3.120.0070.04112.66
5.3.110.0060.04112.65
5.3.100.0080.04212.12
5.3.90.0050.04012.08
5.3.80.0050.04212.07
5.3.70.0090.03612.07
5.3.60.0040.04112.06
5.3.50.0050.04312.00
5.3.40.0060.04712.00
5.3.30.0040.03711.95
5.3.20.0070.03411.72
5.3.10.0050.03611.69
5.3.00.0060.03611.67
5.2.170.0080.0389.18
5.2.160.0070.0299.18
5.2.150.0070.0429.18
5.2.140.0080.0349.17
5.2.130.0060.0389.14
5.2.120.0040.0319.13
5.2.110.0030.0319.14
5.2.100.0040.0339.14
5.2.90.0070.0329.14
5.2.80.0030.0319.13
5.2.70.0030.0329.14
5.2.60.0040.0349.09
5.2.50.0050.0319.05
5.2.40.0040.0299.03
5.2.30.0060.0299.01
5.2.20.0030.0319.00
5.2.10.0040.0288.92
5.2.00.0040.0298.78
5.1.60.0050.0228.06
5.1.50.0030.0278.05
5.1.40.0070.0228.04
5.1.30.0060.0248.39
5.1.20.0040.0268.41
5.1.10.0070.0238.13
5.1.00.0040.0258.14
5.0.50.0010.0226.62
5.0.40.0040.0186.47
5.0.30.0050.0426.29
5.0.20.0010.0236.26
5.0.10.0010.0236.24
5.0.00.0040.0346.22
4.4.90.0040.0144.78
4.4.80.0020.0164.75
4.4.70.0060.0144.76
4.4.60.0070.0114.75
4.4.50.0020.0164.77
4.4.40.0030.0274.71
4.4.30.0010.0174.76
4.4.20.0020.0164.84
4.4.10.0020.0184.84
4.4.00.0020.0274.76
4.3.110.0040.0164.67
4.3.100.0070.0114.66
4.3.90.0010.0164.63
4.3.80.0040.0254.58
4.3.70.0010.0164.63
4.3.60.0020.0164.63
4.3.50.0050.0164.62
4.3.40.0020.0254.54
4.3.30.0000.0213.28
4.3.20.0010.0193.26
4.3.10.0020.0153.22
4.3.00.0170.0207.30

preferences:
39.63 ms | 401 KiB | 5 Q