3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { function __construct($a) { var_dump($a); } } new MyClass(die('Death!'));

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.0170.00316.50
8.3.50.0100.01221.06
8.3.40.0150.00018.59
8.3.30.0070.00718.48
8.3.20.0080.00020.21
8.3.10.0040.00421.82
8.3.00.0040.00420.21
8.2.180.0100.01416.63
8.2.170.0120.00322.96
8.2.160.0100.00320.35
8.2.150.0090.00624.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0060.00317.63
8.2.110.0030.00619.39
8.2.100.0090.00417.50
8.2.90.0000.00819.09
8.2.80.0050.00217.97
8.2.70.0060.00317.50
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0080.00419.37
8.2.30.0080.00020.61
8.2.20.0050.00317.55
8.2.10.0060.00317.98
8.2.00.0080.00017.91
8.1.280.0070.00725.92
8.1.270.0040.01123.80
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0060.00617.54
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.22
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0090.00018.53
8.1.160.0070.00021.86
8.1.150.0030.00618.77
8.1.140.0040.00717.30
8.1.130.0000.00717.52
8.1.120.0060.00317.37
8.1.110.0000.00717.32
8.1.100.0040.00417.21
8.1.90.0050.00217.23
8.1.80.0100.00017.21
8.1.70.0040.00417.30
8.1.60.0000.00717.46
8.1.50.0040.00417.45
8.1.40.0030.00617.39
8.1.30.0030.00617.47
8.1.20.0040.00417.56
8.1.10.0040.00417.47
8.1.00.0030.00517.41
8.0.300.0000.00818.77
8.0.290.0000.00916.75
8.0.280.0070.00018.45
8.0.270.0030.00317.11
8.0.260.0030.00317.06
8.0.250.0040.00416.99
8.0.240.0080.00016.84
8.0.230.0030.00316.77
8.0.220.0000.00816.72
8.0.210.0070.00016.82
8.0.200.0050.01016.81
8.0.190.0000.00816.75
8.0.180.0000.00716.68
8.0.170.0040.00416.81
8.0.160.0000.00716.86
8.0.150.0070.00016.77
8.0.140.0050.00216.66
8.0.130.0030.00313.28
8.0.120.0040.00416.81
8.0.110.0050.00216.87
8.0.100.0050.00216.84
8.0.90.0050.00216.69
8.0.80.0090.00916.84
8.0.70.0040.00416.84
8.0.60.0000.00816.84
8.0.50.0000.00716.85
8.0.30.0130.00516.96
8.0.20.0120.00817.40
8.0.10.0000.00717.05
8.0.00.0110.00916.64
7.4.330.0000.00515.08
7.4.320.0030.00316.49
7.4.300.0030.00316.52
7.4.290.0110.00016.39
7.4.280.0000.00716.52
7.4.270.0000.00716.54
7.4.260.0030.00316.41
7.4.250.0040.00416.47
7.4.240.0060.00216.42
7.4.230.0050.00216.23
7.4.220.0070.01816.46
7.4.210.0150.00716.40
7.4.200.0000.00716.61
7.4.160.0080.01316.45
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0040.01316.46
7.4.120.0120.00516.43
7.4.110.0100.00716.53
7.4.100.0140.00416.24
7.4.90.0070.01416.43
7.4.80.0060.01519.39
7.4.70.0060.00916.66
7.4.60.0070.01016.29
7.4.50.0060.00316.45
7.4.40.0080.00816.57
7.4.30.0070.01116.37
7.4.10.0070.01115.16
7.4.00.0090.00814.85
7.3.330.0060.00013.16
7.3.320.0030.00313.11
7.3.310.0030.00316.17
7.3.300.0000.00716.16
7.3.290.0040.01016.27
7.3.280.0110.00716.29
7.3.270.0110.00617.40
7.3.260.0090.00916.23
7.3.250.0110.00616.32
7.3.240.0180.00316.45
7.3.230.0080.00816.39
7.3.210.0060.01216.25
7.3.200.0030.01316.45
7.3.190.0110.00416.16
7.3.180.0090.00616.43
7.3.170.0000.01516.44
7.3.160.0080.00816.22
7.3.130.0090.00614.61
7.3.120.0090.00814.66
7.3.110.0090.00614.74
7.3.100.0040.01014.60
7.3.90.0030.01314.65
7.3.80.0080.00514.75
7.3.70.0070.00614.61
7.3.60.0060.00714.64
7.3.50.0060.00514.60
7.3.40.0050.00614.54
7.3.30.0050.00714.65
7.3.20.0070.00916.46
7.3.10.0050.00816.49
7.3.00.0090.00416.56
7.2.330.0000.01816.25
7.2.320.0160.00916.66
7.2.310.0100.00716.41
7.2.300.0130.00316.20
7.2.290.0070.01416.44
7.2.260.0070.01015.11
7.2.250.0100.00815.01
7.2.240.0050.01214.94
7.2.230.0060.00914.85
7.2.220.0060.00814.87
7.2.210.0030.01114.98
7.2.200.0050.00914.73
7.2.190.0060.00714.98
7.2.180.0040.00914.81
7.2.170.0050.00714.92
7.2.160.0060.00814.75
7.2.150.0080.00416.81
7.2.140.0040.01116.65
7.2.130.0000.01016.96
7.2.120.0040.00716.88
7.2.110.0100.00716.99
7.2.100.0040.01516.96
7.2.90.0120.00616.65
7.2.80.0060.00816.82
7.2.70.0000.01316.73
7.2.60.0080.00716.76
7.2.50.0030.01016.87
7.2.40.0000.01516.74
7.2.30.0040.00716.80
7.2.20.0060.01216.74
7.2.10.0060.00616.68
7.2.00.0040.01116.72
7.1.330.0070.00615.66
7.1.320.0060.00815.65
7.1.310.0040.00915.65
7.1.300.0020.01115.73
7.1.290.0060.00815.76
7.1.280.0020.01015.63
7.1.270.0050.00615.55
7.1.260.0040.01115.54
7.1.250.0000.01615.77
7.1.240.0030.01415.37
7.1.230.0030.01315.70
7.1.220.0040.01115.66
7.1.210.0030.01015.80
7.1.200.0190.00215.48
7.1.190.0060.00915.67
7.1.180.0070.01015.33
7.1.170.0040.01115.85
7.1.160.0030.01215.69
7.1.150.0030.01615.64
7.1.140.0030.01315.58
7.1.130.0000.01315.48
7.1.120.0070.00715.47
7.1.110.0030.00915.56
7.1.100.0030.01016.84
7.1.90.0070.00315.85
7.1.80.0060.00615.34
7.1.70.0000.01116.14
7.1.60.0060.01317.35
7.1.50.0100.01116.15
7.1.40.0070.00715.52
7.1.30.0040.01115.63
7.1.20.0060.00615.53
7.1.10.0120.00315.60
7.1.00.0060.03819.05
7.0.330.0090.00615.36
7.0.320.0100.00715.23
7.0.310.0060.00615.15
7.0.300.0100.00315.09
7.0.290.0030.00715.25
7.0.280.0100.01015.38
7.0.270.0070.00715.18
7.0.260.0060.00315.47
7.0.250.0030.00815.42
7.0.240.0130.00015.42
7.0.230.0040.00415.41
7.0.220.0090.00315.41
7.0.210.0030.01015.34
7.0.200.0060.00315.79
7.0.190.0070.00715.40
7.0.180.0030.01015.43
7.0.170.0000.00915.01
7.0.160.0030.00715.21
7.0.150.0060.00915.41
7.0.140.0040.01115.32
7.0.130.0070.00315.18
7.0.120.0040.01215.46
7.0.110.0120.00315.21
7.0.100.0070.01015.33
7.0.90.0000.01015.21
7.0.80.0070.00715.38
7.0.70.0100.00315.17
7.0.60.0050.02617.65
7.0.50.0030.02716.71
7.0.40.0050.04616.84
7.0.30.0270.04016.73
7.0.20.0190.04016.76
7.0.10.0050.02516.76
7.0.00.0120.04716.68
5.6.400.0000.01414.20
5.6.390.0030.00614.46
5.6.380.0070.00314.13
5.6.370.0120.00614.10
5.6.360.0030.00814.24
5.6.350.0030.01314.42
5.6.340.0030.01214.62
5.6.330.0060.00614.59
5.6.320.0060.00614.19
5.6.310.0070.00713.89
5.6.300.0090.00614.14
5.6.290.0030.01014.41
5.6.280.0030.03517.69
5.6.270.0030.01014.07
5.6.260.0120.00014.27
5.6.250.0000.01714.22
5.6.240.0070.00714.29
5.6.230.0030.01314.12
5.6.220.0000.01314.10
5.6.210.0040.02617.46
5.6.200.0040.02716.25
5.6.190.0070.05017.46
5.6.180.0180.03217.27
5.6.170.0180.04117.39
5.6.160.0090.03017.34
5.6.150.0100.03916.23
5.6.140.0060.03616.27
5.6.130.0000.03416.12
5.6.120.0070.02817.58
5.6.110.0100.04717.66
5.6.100.0030.02717.72
5.6.90.0070.02717.65
5.6.80.0020.04617.22
5.6.70.0070.00314.10
5.6.60.0060.01213.94
5.6.50.0100.00714.20
5.6.40.0090.00314.13
5.6.30.0030.00914.15
5.6.20.0080.00814.25
5.6.10.0090.00614.02
5.6.00.0060.00614.08
5.5.380.0090.00614.41
5.5.370.0060.01013.91
5.5.360.0000.01314.38
5.5.350.0150.01817.42
5.5.340.0050.04216.23
5.5.330.0060.04417.31
5.5.320.0130.04617.41
5.5.310.0150.03517.43
5.5.300.0060.04116.15
5.5.290.0070.04415.97
5.5.280.0080.02317.58
5.5.270.0120.02817.39
5.5.260.0100.03817.26
5.5.250.0090.02917.41
5.5.240.0050.01917.19
5.5.230.0070.00313.84
5.5.220.0040.01114.00
5.5.210.0030.01213.95
5.5.200.0070.00714.13
5.5.190.0120.00313.65
5.5.180.0040.00714.21
5.5.170.0030.01414.12
5.5.160.0080.00013.91
5.5.150.0000.01014.23
5.5.140.0070.00714.32
5.5.130.0070.00713.80
5.5.120.0030.00613.89
5.5.110.0060.00314.19
5.5.100.0080.00513.62
5.5.90.0070.01014.15
5.5.80.0030.00914.39
5.5.70.0000.01413.97
5.5.60.0030.01413.86
5.5.50.0040.01113.93
5.5.40.0000.01514.28
5.5.30.0040.00714.21
5.5.20.0060.00613.90
5.5.10.0000.01414.11
5.5.00.0030.01314.15
5.4.450.0370.03215.52
5.4.440.0420.03115.59
5.4.430.0450.02415.51
5.4.420.0380.03115.45
5.4.410.0430.03215.53
5.4.400.0360.03115.43
5.4.390.0400.03215.43
5.4.380.0370.02915.47
5.4.370.0380.02915.41
5.4.360.0390.02915.42
5.4.350.0430.02315.36
5.4.340.0430.02515.44
5.4.330.0070.00711.58
5.4.320.0430.02515.37
5.4.310.0470.03615.36
5.4.300.0480.04015.31
5.4.290.0450.03515.47
5.4.280.0430.03315.23
5.4.270.0430.02815.44
5.4.260.0400.03215.41
5.4.250.0430.03515.27
5.4.240.0440.02315.31
5.4.230.0420.02515.39
5.4.220.0470.03915.27
5.4.210.0450.02315.42
5.4.200.0430.02315.40
5.4.190.0370.03315.35
5.4.180.0350.03015.41
5.4.170.0400.04115.29
5.4.160.0410.02615.42
5.4.150.0440.03215.46
5.4.140.0370.03414.01
5.4.130.0100.02513.98
5.4.120.0040.03213.97
5.4.110.0120.02514.01
5.4.100.0210.03014.05
5.4.90.0350.03414.10
5.4.80.0380.02614.09
5.4.70.0000.03613.90
5.4.60.0150.02614.05
5.4.50.0120.03413.91
5.4.40.0070.02613.95
5.4.30.0050.02013.90
5.4.20.0030.04014.04
5.4.10.0150.04014.04
5.4.00.0000.00811.58

preferences:
34.57 ms | 401 KiB | 5 Q