3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; function t() { throw new NAN; } define('Foo\\Bar\\NAN', 'Exception'); t();

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.0140.00018.43
8.3.50.0080.00921.97
8.3.40.0070.00718.84
8.3.30.0070.00719.23
8.3.20.0050.00320.29
8.3.10.0030.00523.33
8.3.00.0000.00719.13
8.2.180.0140.00718.54
8.2.170.0170.00318.83
8.2.160.0170.00022.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00620.65
8.2.110.0070.00322.02
8.2.100.0040.00820.52
8.2.90.0080.00019.23
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00917.91
8.2.50.0000.00918.07
8.2.40.0040.00417.84
8.2.30.0040.00418.11
8.2.20.0000.00817.56
8.2.10.0040.00418.06
8.2.00.0080.00017.57
8.1.280.0110.00425.92
8.1.270.0030.00623.82
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0070.00323.79
8.1.230.0070.00319.16
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.01317.23
8.1.190.0050.00316.98
8.1.180.0080.00018.10
8.1.170.0000.00818.52
8.1.160.0050.00221.88
8.1.150.0080.00018.48
8.1.140.0000.00717.32
8.1.130.0030.00317.76
8.1.120.0000.00717.34
8.1.110.0020.00517.22
8.1.100.0070.00017.21
8.1.90.0050.00517.24
8.1.80.0040.00417.32
8.1.70.0030.00317.32
8.1.60.0070.00017.58
8.1.50.0000.00817.42
8.1.40.0040.00417.36
8.1.30.0000.00817.45
8.1.20.0040.00417.63
8.1.10.0000.00717.40
8.1.00.0000.00717.52
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.30
8.0.270.0000.00817.07
8.0.260.0040.00417.20
8.0.250.0030.00316.84
8.0.240.0030.00316.85
8.0.230.0070.00016.91
8.0.220.0030.00516.84
8.0.210.0000.00716.79
8.0.200.0000.00616.89
8.0.190.0030.00517.02
8.0.180.0070.00016.94
8.0.170.0000.00716.89
8.0.160.0000.00716.88
8.0.150.0030.00316.72
8.0.140.0030.00316.76
8.0.130.0030.00313.32
8.0.120.0030.00616.89
8.0.110.0050.00216.85
8.0.100.0050.00316.94
8.0.90.0000.00716.79
8.0.80.0090.00916.88
8.0.70.0000.00816.91
8.0.60.0040.00416.73
8.0.50.0070.00016.73
8.0.30.0100.00917.28
8.0.20.0130.00917.40
8.0.10.0040.00416.96
8.0.00.0100.00816.79
7.4.330.0020.00215.03
7.4.320.0060.00016.48
7.4.300.0040.00416.46
7.4.290.0030.00316.37
7.4.280.0040.00416.45
7.4.270.0000.00816.37
7.4.260.0070.00316.53
7.4.250.0040.00416.45
7.4.240.0020.00516.46
7.4.230.0030.00416.28
7.4.220.0070.01016.57
7.4.210.0060.00916.47
7.4.200.0000.00716.57
7.4.190.0040.00416.63
7.4.160.0070.01416.30
7.4.150.0000.01717.40
7.4.140.0110.01117.86
7.4.130.0120.00716.58
7.4.120.0050.01216.55
7.4.110.0030.01516.73
7.4.100.0130.01016.43
7.4.90.0080.00916.45
7.4.80.0090.00919.39
7.4.70.0060.00916.43
7.4.60.0090.00916.55
7.4.50.0040.00416.50
7.4.40.0100.00716.53
7.4.30.0080.00816.69
7.4.00.0030.01015.08
7.3.330.0000.00713.25
7.3.320.0000.00513.14
7.3.310.0000.00716.31
7.3.300.0030.00316.30
7.3.290.0080.01216.36
7.3.280.0090.01016.28
7.3.270.0060.01117.40
7.3.260.0120.00816.25
7.3.250.0050.01516.47
7.3.240.0130.00316.23
7.3.230.0100.00616.50
7.3.210.0220.00316.64
7.3.200.0090.00619.39
7.3.190.0120.00916.39
7.3.180.0090.00616.41
7.3.170.0090.00616.48
7.3.160.0090.01216.29
7.3.120.0080.00414.73
7.3.10.0070.00716.74
7.3.00.0070.00716.66
7.2.330.0080.00816.41
7.2.320.0070.01016.48
7.2.310.0130.00816.62
7.2.300.0090.00616.38
7.2.290.0150.00616.55
7.2.130.0080.00816.55
7.2.120.0040.01116.59
7.2.110.0000.01616.75
7.2.100.0110.00716.42
7.2.90.0030.01016.80
7.2.80.0060.00616.77
7.2.70.0040.01416.73
7.2.60.0030.00916.68
7.2.50.0070.01016.73
7.2.40.0070.00416.50
7.2.30.0060.01016.77
7.2.20.0030.01016.77
7.2.10.0000.00816.79
7.2.00.0080.00616.74
7.1.250.0000.01515.74
7.1.200.0000.01215.70
7.1.70.0030.00516.98
7.1.60.0100.01019.70
7.1.50.0210.01116.84
7.1.00.0130.06722.36
7.0.200.0190.00316.09
7.0.140.0000.07322.00
7.0.60.0030.06719.94
7.0.50.0030.08717.85
7.0.40.0130.05320.18
7.0.30.0230.04020.34
7.0.20.0400.06020.33
7.0.10.0070.07020.19
7.0.00.0070.04020.06
5.6.280.0100.06720.86
5.6.210.0130.06320.63
5.6.200.0000.05718.19
5.6.190.0030.04720.42
5.6.180.0330.04020.46
5.6.170.0200.08720.57
5.6.160.0070.05020.46
5.6.150.0170.07018.19
5.6.140.0000.05018.13
5.6.130.0000.04318.18
5.6.120.0100.04020.94
5.6.110.0000.09021.13
5.6.100.0100.07721.02
5.6.90.0070.08720.99
5.6.80.0030.04020.38
5.5.350.0400.06720.38
5.5.340.0030.03717.94
5.5.330.0030.04020.35
5.5.320.0030.04320.30
5.5.310.0070.09320.34
5.5.300.0170.06317.92
5.5.290.0070.08017.95
5.5.280.0030.08320.75
5.5.270.0000.06320.85
5.5.260.0100.08020.64
5.5.250.0030.04320.79
5.5.240.0100.07320.18
5.4.450.0130.05319.48
5.4.440.0900.06319.44
5.4.430.0770.05319.60
5.4.420.1000.07019.69
5.4.410.0970.05719.20
5.4.400.1070.04319.20
5.4.390.0730.06019.37
5.4.380.0430.04318.82
5.4.370.0270.05318.54
5.4.360.0400.05318.75
5.4.350.0200.06318.82
5.4.340.0330.04718.59
5.4.320.0050.03712.50
5.4.310.0050.04712.50
5.4.300.0030.04012.50
5.4.290.0090.03712.50
5.4.280.0060.03612.39
5.4.270.0060.03712.40
5.4.260.0040.04012.39
5.4.250.0060.03812.39
5.4.240.0060.05212.40
5.4.230.0060.05712.39
5.4.220.0070.03612.38
5.4.210.0090.04712.39
5.4.200.0100.04312.39
5.4.190.0060.03712.38
5.4.180.0040.03812.38
5.4.170.0090.03312.39
5.4.160.0050.03712.39
5.4.150.0070.03512.38
5.4.140.0050.03812.07
5.4.130.0080.04112.05
5.4.120.0060.04012.02
5.4.110.0070.04112.01
5.4.100.0040.03712.01
5.4.90.0120.03712.01
5.4.80.0050.03712.01
5.4.70.0060.03412.01
5.4.60.0070.03312.00
5.4.50.0050.03512.00
5.4.40.0070.03412.00
5.4.30.0050.03711.99
5.4.20.0080.03311.99
5.4.10.0070.03311.99
5.4.00.0050.03611.48
5.3.290.0080.04212.80
5.3.280.0040.04112.71
5.3.270.0040.04312.72
5.3.260.0060.04012.72
5.3.250.0050.03912.72
5.3.240.0060.03712.72
5.3.230.0050.04012.71
5.3.220.0130.04512.68
5.3.210.0130.04812.68
5.3.200.0100.03712.68
5.3.190.0080.04112.68
5.3.180.0060.03712.67
5.3.170.0050.04212.67
5.3.160.0050.03712.67
5.3.150.0040.03912.67
5.3.140.0080.03412.66
5.3.130.0060.03912.66
5.3.120.0110.03412.66
5.3.110.0090.04912.66
5.3.100.0030.04312.12
5.3.90.0060.04312.10
5.3.80.0070.03612.09
5.3.70.0050.03812.09
5.3.60.0060.03712.07
5.3.50.0090.03412.02
5.3.40.0090.03312.02
5.3.30.0080.03311.98
5.3.20.0060.03911.76
5.3.10.0050.03611.73
5.3.00.0080.03511.72
5.2.170.0070.0289.18
5.2.160.0070.0279.18
5.2.150.0060.0309.18
5.2.140.0070.0359.18
5.2.130.0090.0279.14
5.2.120.0040.0299.14
5.2.110.0060.0289.15
5.2.100.0040.0309.14
5.2.90.0060.0369.14
5.2.80.0040.0359.14
5.2.70.0060.0309.14
5.2.60.0030.0329.09
5.2.50.0060.0299.06
5.2.40.0030.0309.04
5.2.30.0070.0299.01
5.2.20.0050.0299.01
5.2.10.0030.0308.93
5.2.00.0060.0288.78
5.1.60.0060.0258.06
5.1.50.0060.0238.07
5.1.40.0030.0268.05
5.1.30.0010.0308.40
5.1.20.0040.0278.42
5.1.10.0050.0258.14
5.1.00.0070.0238.14
5.0.50.0030.0216.62
5.0.40.0040.0196.48
5.0.30.0030.0326.29
5.0.20.0030.0196.27
5.0.10.0050.0186.24
5.0.00.0030.0316.23
4.4.90.0030.0154.77
4.4.80.0030.0164.75
4.4.70.0020.0164.75
4.4.60.0030.0154.76
4.4.50.0030.0144.77
4.4.40.0060.0284.71
4.4.30.0020.0164.76
4.4.20.0050.0134.84
4.4.10.0030.0154.85
4.4.00.0020.0284.76
4.3.110.0030.0164.67
4.3.100.0040.0154.66
4.3.90.0060.0124.64
4.3.80.0040.0234.58
4.3.70.0050.0134.63
4.3.60.0010.0164.63
4.3.50.0030.0164.63
4.3.40.0000.0274.54
4.3.30.0030.0163.29
4.3.20.0020.0183.26
4.3.10.0040.0203.21
4.3.00.0130.01718.67

preferences:
54.86 ms | 401 KiB | 5 Q