3v4l.org

run code in 300+ PHP versions simultaneously
<?php function doArrayStuff(array $stuff = null) { // do stuff echo 'this worked without fatal erroring'; } function doFileStuff(SplFileInfo $finfo = null) { // do stuff echo 'this worked without fatal erroring'; } doArrayStuff(null); doFileStuff(null);

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.00918.03
8.3.50.0120.00722.00
8.3.40.0070.00718.68
8.3.30.0140.00018.96
8.3.20.0000.00720.07
8.3.10.0040.00423.57
8.3.00.0040.00418.89
8.2.180.0210.00016.63
8.2.170.0040.01122.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0050.00319.36
8.2.110.0100.00722.27
8.2.100.0110.00020.52
8.2.90.0080.00019.17
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0040.00419.76
8.2.30.0070.00017.99
8.2.20.0040.00417.61
8.2.10.0000.00817.92
8.2.00.0080.00017.41
8.1.280.0160.00625.92
8.1.270.0040.00423.97
8.1.260.0000.00726.35
8.1.250.0000.01028.09
8.1.240.0130.00723.71
8.1.230.0000.01118.98
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0000.00818.48
8.1.160.0050.00221.86
8.1.150.0000.00718.38
8.1.140.0070.00017.28
8.1.130.0030.00317.73
8.1.120.0000.00717.35
8.1.110.0040.00417.21
8.1.100.0030.00417.16
8.1.90.0000.00717.36
8.1.80.0000.00717.34
8.1.70.0000.00717.23
8.1.60.0060.00317.51
8.1.50.0040.00417.34
8.1.40.0030.00617.45
8.1.30.0040.00417.53
8.1.20.0040.00417.57
8.1.10.0040.00417.37
8.1.00.0070.00017.39
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0000.00718.29
8.0.270.0000.00817.04
8.0.260.0060.00017.14
8.0.250.0030.00316.86
8.0.240.0070.00016.86
8.0.230.0030.00316.88
8.0.220.0030.00316.76
8.0.210.0030.00316.75
8.0.200.0030.00316.73
8.0.190.0070.00016.80
8.0.180.0000.00716.81
8.0.170.0040.00416.69
8.0.160.0030.00516.64
8.0.150.0030.00316.57
8.0.140.0030.00716.58
8.0.130.0000.00713.20
8.0.120.0040.00416.73
8.0.110.0000.00716.75
8.0.100.0000.00716.76
8.0.90.0060.00316.75
8.0.80.0060.01316.71
8.0.70.0040.00416.82
8.0.60.0040.00416.87
8.0.50.0040.00416.57
8.0.30.0080.01016.88
8.0.20.0120.00717.40
8.0.10.0030.00516.75
8.0.00.0090.00916.65
7.4.330.0060.00015.00
7.4.320.0000.00616.38
7.4.300.0000.00616.41
7.4.290.0030.00316.37
7.4.280.0000.00716.50
7.4.270.0000.00716.38
7.4.260.0060.00616.51
7.4.250.0040.00416.54
7.4.240.0020.00516.46
7.4.230.0070.00016.55
7.4.220.0060.01116.46
7.4.210.0110.00316.49
7.4.200.0030.00416.63
7.4.160.0030.01316.37
7.4.150.0100.01317.40
7.4.140.0100.00817.86
7.4.130.0100.00616.38
7.4.120.0110.00616.47
7.4.110.0060.00916.47
7.4.100.0120.00816.34
7.4.90.0120.00616.37
7.4.80.0080.01019.39
7.4.70.0030.01216.48
7.4.60.0120.00616.30
7.4.50.0000.00816.12
7.4.40.0090.01316.31
7.4.30.0180.00016.36
7.4.00.0000.01114.99
7.3.330.0020.00213.20
7.3.320.0000.00513.18
7.3.310.0020.00516.09
7.3.300.0060.00016.12
7.3.290.0090.00616.27
7.3.280.0030.01416.26
7.3.270.0070.01017.40
7.3.260.0110.00716.32
7.3.250.0120.00716.45
7.3.240.0070.01016.31
7.3.230.0120.00416.39
7.3.210.0150.00616.35
7.3.200.0090.01219.39
7.3.190.0070.01316.50
7.3.180.0030.01316.23
7.3.170.0050.01116.46
7.3.160.0130.00316.27
7.3.120.0060.00614.94
7.3.10.0030.01016.40
7.3.00.0040.01216.73
7.2.330.0150.00616.46
7.2.320.0070.01016.55
7.2.310.0110.01416.28
7.2.300.0100.00616.67
7.2.290.0070.00716.39
7.2.130.0030.01216.64
7.2.120.0070.00716.80
7.2.110.0040.00716.68
7.2.100.0070.00716.89
7.2.90.0030.01316.88
7.2.80.0100.00316.35
7.2.70.0040.01416.50
7.2.60.0080.00416.74
7.2.50.0030.00716.80
7.2.40.0030.01016.66
7.2.30.0090.00616.65
7.2.20.0070.00416.85
7.2.10.0100.00016.93
7.2.00.0090.00517.94
7.1.250.0040.01115.63
7.1.200.0070.00415.43
7.1.100.0100.01318.08
7.1.70.0070.00017.16
7.1.60.0090.01619.70
7.1.50.0060.01316.87
7.1.00.0070.08722.32
7.0.200.0000.00716.68
7.0.140.0000.07721.97
7.0.60.0100.07319.90
7.0.50.0030.07317.88
7.0.40.0070.07720.09
7.0.30.0600.06720.10
7.0.20.0200.08020.06
7.0.10.0070.07020.26
7.0.00.0100.05320.14
5.6.280.0100.06721.12
5.6.210.0000.05720.72
5.6.200.0030.04018.24
5.6.190.0100.08020.60
5.6.180.4870.04320.63
5.6.170.0230.07020.62
5.6.160.0070.07720.61
5.6.150.0030.04018.23
5.6.140.0170.06018.28
5.6.130.0100.08018.27
5.6.120.0030.05020.90
5.6.110.0130.07320.99
5.6.100.0000.04321.05
5.6.90.0070.08721.11
5.6.80.0200.07320.40
5.6.70.3930.03320.48
5.5.350.0070.04020.42
5.5.340.0100.03717.96
5.5.330.0030.07320.40
5.5.320.0330.07020.28
5.5.310.0270.04320.30
5.5.300.0300.03717.98
5.5.290.0100.08017.96
5.5.280.0100.07720.87
5.5.270.0030.04020.94
5.5.260.0070.03720.80
5.5.250.0130.06320.55
5.5.240.0170.04720.07
5.4.450.0270.06719.64
5.4.440.0200.05019.51
5.4.430.0170.03319.29
5.4.420.0200.04019.46
5.4.410.0170.03319.21
5.4.400.0130.03319.00
5.4.390.0200.04019.08
5.4.380.0130.03719.31
5.4.370.0170.03718.95
5.4.360.0070.05019.00
5.4.350.0170.03319.13
5.4.340.0170.03719.23
5.4.320.0170.03719.16
5.4.310.0100.04318.85
5.4.300.0030.04318.87
5.4.290.0170.03719.06
5.4.280.0170.03718.94
5.4.270.0130.05319.19
5.4.260.0300.04319.24
5.4.250.0300.04319.05
5.4.240.0200.05319.07
5.4.230.0200.05019.19
5.4.220.0200.07319.26
5.4.210.0200.05019.19
5.4.200.0230.06319.14
5.4.190.0170.07318.88
5.4.180.0230.06319.07
5.4.170.0200.07319.34
5.4.160.0330.04019.22
5.4.150.0330.06318.96
5.4.140.0230.07316.43
5.4.130.0130.04716.39
5.4.120.0170.05016.36
5.4.110.0270.07016.58
5.4.100.0300.06316.61
5.4.90.0200.07016.50
5.4.80.0200.07016.60
5.4.70.0300.06716.62
5.4.60.0270.03716.34
5.4.50.0170.04016.52
5.4.40.0270.05016.48
5.4.30.0170.04716.42
5.4.20.0330.04316.56
5.4.10.0200.03316.16
5.4.00.0230.03016.12
5.3.290.0070.04314.88
5.3.280.0170.03714.75
5.3.270.0300.06714.53
5.3.260.0400.06014.68
5.3.250.0230.04314.83
5.3.240.0200.04014.83
5.3.230.0230.07314.62
5.3.220.0200.07314.73
5.3.210.0170.06314.66
5.3.200.0230.04714.64
5.3.190.0270.06714.47
5.3.180.0200.07314.64
5.3.170.0200.04314.48
5.3.160.0230.07314.72
5.3.150.0200.07014.79
5.3.140.0130.06314.54
5.3.130.0270.06714.62
5.3.120.0230.07314.54
5.3.110.0170.05014.45
5.3.100.0270.06714.20
5.3.90.0230.05713.99
5.3.80.0200.05313.93
5.3.70.0270.06314.02
5.3.60.0170.07714.01
5.3.50.0200.07013.96
5.3.40.0270.05714.06
5.3.30.0200.05313.99
5.3.20.0270.06013.66
5.3.10.0270.07013.71
5.3.00.0130.07713.79
5.2.170.0230.05712.43
5.2.160.0200.04012.43
5.2.150.0200.04712.43
5.2.140.0170.04012.43
5.2.130.0270.05312.43
5.2.120.0170.05312.43
5.2.110.0200.04012.43
5.2.100.0170.06012.43
5.2.90.0130.04012.43
5.2.80.0100.04712.43
5.2.70.0170.04012.43
5.2.60.0270.05312.43
5.2.50.0270.04312.43
5.2.40.0130.05712.43
5.2.30.0170.06012.43
5.2.20.0130.06712.43
5.2.10.0200.05712.43
5.2.00.0170.04712.43
5.1.60.0130.04012.43
5.1.50.0200.04312.43
5.1.40.0170.05012.43
5.1.30.0170.03312.43
5.1.20.0170.04012.43
5.1.10.0170.05012.43
5.1.00.0130.05012.43
5.0.50.0130.04012.43
5.0.40.0170.02712.43
5.0.30.0130.06012.43
5.0.20.0030.04312.43
5.0.10.0130.02012.43
5.0.00.0070.06312.43
4.4.90.0170.02712.43
4.4.80.0170.02712.43
4.4.70.0070.04012.43
4.4.60.0070.03012.43
4.4.50.0070.02012.43
4.4.40.0000.04012.43
4.4.30.0030.04012.43
4.4.20.0100.03012.43
4.4.10.0070.03312.43
4.4.00.0100.05312.43
4.3.110.0030.02712.43
4.3.100.0100.03012.43
4.3.90.0070.03312.43
4.3.80.0130.04712.43
4.3.70.0070.03312.43
4.3.60.0000.02312.43
4.3.50.0070.03712.43
4.3.40.0070.04712.43
4.3.30.0070.01712.43
4.3.20.0030.02012.43
4.3.10.0000.03312.43
4.3.00.0030.03712.43

preferences:
46 ms | 401 KiB | 5 Q