3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace HHVM\UserDocumentation\Inconsistencies\Intro\Examples\DCP; class A {} var_dump(new A(undefined_function())); // Works in PHP5 but not HHVM class B { public function __construct() { } } var_dump(new B(undefined_function())); // Doesn't work in neither HHVM nor PHP5

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.01216.49
8.3.50.0060.01221.92
8.3.40.0150.00018.77
8.3.30.0150.00018.68
8.3.20.0000.00820.33
8.3.10.0040.00421.82
8.3.00.0040.00419.38
8.2.180.0120.00816.63
8.2.170.0130.00622.96
8.2.160.0070.00720.43
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0000.00821.11
8.2.110.0070.01020.52
8.2.100.0060.00617.84
8.2.90.0000.00817.75
8.2.80.0030.00618.62
8.2.70.0060.00619.21
8.2.60.0090.00017.48
8.2.50.0040.00417.55
8.2.40.0060.00319.34
8.2.30.0000.01120.64
8.2.20.0070.00417.69
8.2.10.0000.00718.00
8.2.00.0040.00417.96
8.1.280.0120.00925.92
8.1.270.0040.00423.96
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00022.00
8.1.230.0110.00021.03
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0000.00818.54
8.1.160.0000.00821.94
8.1.150.0040.00418.74
8.1.140.0080.00019.35
8.1.130.0000.00717.45
8.1.120.0070.00017.36
8.1.110.0000.00717.33
8.1.100.0040.00417.35
8.1.90.0040.00417.24
8.1.80.0000.01017.37
8.1.70.0000.00817.21
8.1.60.0050.00317.46
8.1.50.0030.00517.37
8.1.40.0080.00017.34
8.1.30.0030.00617.52
8.1.20.0030.00617.45
8.1.10.0040.00417.55
8.1.00.0080.00417.33
8.0.300.0060.00218.77
8.0.290.0090.00016.63
8.0.280.0000.00718.30
8.0.270.0000.00717.26
8.0.260.0030.00317.10
8.0.250.0020.00516.91
8.0.240.0080.00016.97
8.0.230.0070.00017.02
8.0.220.0070.00016.81
8.0.210.0050.00316.87
8.0.200.0040.00416.95
8.0.190.0000.00816.83
8.0.180.0000.00716.91
8.0.170.0000.00816.87
8.0.160.0030.00616.78
8.0.150.0080.00016.87
8.0.140.0030.00316.85
8.0.130.0030.00313.28
8.0.120.0000.00816.86
8.0.110.0000.00716.89
8.0.100.0000.00716.96
8.0.90.0000.00716.84
8.0.80.0090.01316.95
8.0.70.0030.00516.73
8.0.60.0070.00016.86
8.0.50.0040.00416.76
8.0.30.0090.00717.03
8.0.20.0070.01217.40
8.0.10.0040.00316.99
8.0.00.0100.01116.67
7.4.330.0000.00616.83
7.4.320.0030.00316.39
7.4.300.0000.00616.59
7.4.290.0030.00316.33
7.4.280.0030.00416.43
7.4.270.0030.00316.50
7.4.260.0040.00416.46
7.4.250.0050.00316.33
7.4.240.0050.00216.42
7.4.230.0030.00316.54
7.4.220.0100.01016.55
7.4.210.0070.00716.50
7.4.200.0030.00316.65
7.4.160.0130.00916.51
7.4.150.0120.00617.40
7.4.140.0120.00917.86
7.4.130.0110.00916.41
7.4.120.0070.01416.44
7.4.110.0100.00716.71
7.4.100.0120.01316.53
7.4.90.0110.00716.37
7.4.80.0090.01519.39
7.4.70.0040.01216.42
7.4.60.0120.00316.52
7.4.50.0030.01216.60
7.4.40.0060.01216.37
7.4.30.0090.01316.42
7.4.10.0070.01115.19
7.4.00.0090.00914.78
7.3.330.0000.00713.14
7.3.320.0030.00313.23
7.3.310.0070.00016.32
7.3.300.0070.00016.33
7.3.290.0100.00616.33
7.3.280.0100.00516.31
7.3.270.0070.01017.40
7.3.260.0090.00916.25
7.3.250.0130.00616.25
7.3.240.0120.00616.42
7.3.230.0100.00616.45
7.3.210.0100.00716.52
7.3.200.0140.00416.33
7.3.190.0060.01016.59
7.3.180.0040.01216.34
7.3.170.0060.01516.39
7.3.160.0090.01116.38
7.3.130.0040.01514.77
7.3.120.0100.01014.91
7.3.110.0130.00614.93
7.3.100.0030.01514.73
7.3.90.0070.00314.75
7.3.80.0120.00014.71
7.3.70.0030.00914.85
7.3.60.0030.00914.51
7.3.50.0040.01114.93
7.3.40.0040.00814.73
7.3.30.0110.00014.86
7.3.20.0100.00316.58
7.3.10.0100.00516.58
7.3.00.0030.01016.61
7.2.330.0080.00816.32
7.2.320.0120.00616.54
7.2.310.0100.01316.55
7.2.300.0120.01316.45
7.2.290.0150.00616.63
7.2.260.0060.01014.77
7.2.250.0060.01314.80
7.2.240.0110.00715.14
7.2.230.0120.00414.83
7.2.220.0030.01514.81
7.2.210.0060.00614.82
7.2.200.0090.00614.92
7.2.190.0030.00714.83
7.2.180.0030.01415.00
7.2.170.0030.01314.81
7.2.160.0060.00914.75
7.2.150.0090.00016.80
7.2.140.0000.01716.84
7.2.130.0040.00716.78
7.2.120.0020.01416.49
7.2.110.0060.00616.76
7.2.100.0050.00516.76
7.2.90.0050.00716.73
7.2.80.0030.01016.84
7.2.70.0050.01016.75
7.2.60.0070.00516.71
7.2.50.0120.00016.77
7.2.40.0070.00716.78
7.2.30.0070.00716.85
7.2.20.0050.00916.82
7.2.10.0090.00216.80
7.2.00.0040.01117.29
7.1.330.0030.00915.52
7.1.320.0090.00915.66
7.1.310.0070.00715.81
7.1.300.0030.01115.58
7.1.290.0050.00515.62
7.1.280.0040.00715.33
7.1.270.0000.01415.55
7.1.260.0080.00015.66
7.1.250.0070.00515.72
7.1.240.0040.01215.57
7.1.230.0000.01515.66
7.1.220.0090.00015.71
7.1.210.0030.01015.57
7.1.200.0000.01115.55
7.1.190.0040.01415.63
7.1.180.0030.01015.51
7.1.170.0100.00715.54
7.1.160.0030.00915.34
7.1.150.0090.00615.68
7.1.140.0000.01415.57
7.1.130.0170.00015.71
7.1.120.0030.01215.63
7.1.110.0030.01015.67
7.1.100.0040.01115.46
7.1.90.0060.00615.61
7.1.80.0070.01015.75
7.1.70.0060.00516.40
7.1.60.0070.00516.23
7.1.50.0070.00716.08
7.1.40.0100.00315.94
7.1.30.0060.00515.95
7.1.20.0030.01016.14
7.1.10.0060.00515.99
7.1.00.0060.00616.11
7.0.330.0040.01115.50
7.0.320.0050.00315.42
7.0.310.0050.00315.32
7.0.300.0030.01015.44
7.0.290.0070.00715.37
7.0.280.0130.00015.42
7.0.270.0030.00915.46
7.0.260.0040.00414.98
7.0.250.0040.00415.31
7.0.240.0030.01215.34
7.0.230.0040.01115.35
7.0.220.0030.00715.31
7.0.210.0070.00715.44
7.0.200.0020.00915.97
7.0.190.0060.00615.81
7.0.180.0030.00915.69
7.0.170.0040.00615.79
7.0.160.0010.00715.80
7.0.150.0020.00715.78
7.0.140.0050.00515.82
7.0.130.0070.00315.82
7.0.120.0060.00615.89
7.0.110.0030.01115.71
7.0.100.0040.00715.85
7.0.90.0090.00115.70
7.0.80.0040.00615.62
7.0.70.0090.00515.66
7.0.60.0020.01015.80
7.0.50.0060.00515.82
7.0.40.0050.00514.25
7.0.30.0080.00214.35
7.0.20.0040.00714.38
7.0.10.0050.00714.43
7.0.00.0050.00714.35
5.6.400.0060.00614.39
5.6.390.0160.00014.29
5.6.380.0080.00414.31
5.6.370.0060.00614.38
5.6.360.0040.00414.45
5.6.350.0040.00714.19
5.6.340.0080.00514.35
5.6.330.0030.01314.40
5.6.320.0140.00014.14
5.6.310.0030.01014.21
5.6.300.0050.02617.60
5.6.290.0100.02917.50
5.6.280.0040.02417.53
5.6.270.0070.02717.59
5.6.260.0060.02117.44
5.6.250.0080.02117.56
5.6.240.0050.02517.62
5.6.230.0040.02417.59
5.6.220.0040.02917.57
5.6.210.0050.02517.76
5.6.200.0070.02417.65
5.6.190.0010.03017.34
5.6.180.0060.02317.72
5.6.170.0000.04517.66
5.6.160.0100.02717.61
5.6.150.0050.02317.40
5.6.140.0030.02617.55
5.6.130.0020.04017.44
5.6.120.0040.02417.51
5.6.110.0010.03317.35
5.6.100.0000.03217.68
5.6.90.0070.02817.44
5.6.80.0030.02517.33
5.6.70.0000.02717.24
5.6.60.0070.02317.17
5.6.50.0060.02017.23
5.6.40.0040.02817.16
5.6.30.0030.02717.04
5.6.20.0060.02317.17
5.6.10.0060.02317.15
5.6.00.0050.02517.07
5.5.380.0100.06117.57
5.5.370.0000.06917.63
5.5.360.0000.05517.66
5.5.350.0070.04617.52
5.5.340.0000.04518.06
5.5.330.0030.05118.12
5.5.320.0040.03917.71
5.5.310.0100.04018.10
5.5.300.0030.04518.03
5.5.290.0000.06118.13
5.5.280.0030.04218.10
5.5.270.0000.04518.08
5.5.260.0000.04618.09
5.5.250.0030.06217.94
5.5.240.0030.03817.52
5.5.230.0000.04817.48
5.5.220.0030.03717.43
5.5.210.0100.03317.39
5.5.200.0070.03617.48
5.5.190.0000.04817.44
5.5.180.0000.04517.35
5.5.160.0000.04417.05
5.5.150.0000.03917.09
5.5.140.0100.03317.52
5.5.130.0070.03417.44
5.5.120.0030.03617.44
5.5.110.0030.04017.38
5.5.100.0060.03517.26
5.5.90.0000.04317.09
5.5.80.0030.03817.38
5.5.70.0030.04017.33
5.5.60.0070.03317.27
5.5.50.0030.03517.33
5.5.40.0000.03917.08
5.5.30.0030.03816.95
5.5.20.0030.03617.39
5.5.10.0030.05617.27
5.5.00.0070.03416.98
5.4.450.0170.04719.25
5.4.440.0130.07519.27
5.4.430.0070.05019.45
5.4.420.0000.04219.20
5.4.410.0030.03919.28
5.4.400.0030.03818.99
5.4.390.0030.04519.09
5.4.380.0030.03718.92
5.4.370.0040.03918.98
5.4.360.0070.03619.11
5.4.350.0030.04218.95
5.4.340.0000.03919.09
5.4.320.0070.04019.17
5.4.310.0000.04719.16
5.4.300.0030.04018.98
5.4.290.0030.03619.14
5.4.280.0000.04119.11
5.4.270.0030.04119.20
5.4.260.0070.03618.92
5.4.250.0000.04018.91
5.4.240.0030.04019.00
5.4.230.0030.04518.89
5.4.220.0130.03218.98
5.4.210.0070.03318.91
5.4.200.0030.03818.92
5.4.190.0060.03919.07
5.4.180.0030.03719.06
5.4.170.0000.03918.94
5.4.160.0030.03919.14
5.4.150.0030.04018.96
5.4.140.0060.03516.74
5.4.130.0030.03316.73
5.4.120.0060.03816.72
5.4.110.0000.04516.81
5.4.100.0000.03616.80
5.4.90.0070.03816.76
5.4.80.0000.03716.79
5.4.70.0000.03616.67
5.4.60.0030.03716.39
5.4.50.0030.04616.68
5.4.40.0030.03716.53
5.4.30.0000.04216.62
5.4.20.0030.03816.70
5.4.10.0030.03516.72
5.4.00.0000.03815.89
5.3.290.0030.04515.33
5.3.280.0000.03815.33
5.3.270.0030.04115.33
5.3.260.0030.03615.33
5.3.250.0030.03815.33
5.3.240.0030.04015.33
5.3.230.0030.03815.33
5.3.220.0000.03815.33
5.3.210.0000.04915.33
5.3.200.0000.04915.33
5.3.190.0070.03315.33
5.3.180.0060.03115.33
5.3.170.0030.03715.33
5.3.160.0100.06515.33
5.3.150.0030.03415.33
5.3.140.0000.04415.33
5.3.130.0070.03715.33
5.3.120.0000.04215.33
5.3.110.0070.03615.33
5.3.100.0000.04115.33
5.3.90.0030.03515.33
5.3.80.0030.03715.33
5.3.70.0000.03615.33
5.3.60.0000.03915.33
5.3.50.0030.03615.33
5.3.40.0000.04015.33
5.3.30.0070.03015.33
5.3.20.0030.04015.33
5.3.10.0100.04215.33
5.3.00.0030.03415.33
5.2.170.0000.03515.33
5.2.160.0000.02915.33
5.2.150.0000.03115.33
5.2.140.0060.02915.33
5.2.130.0030.03015.33
5.2.120.0030.04215.33
5.2.110.0030.03015.33
5.2.100.0040.02915.33
5.2.90.0000.03215.33
5.2.80.0000.03115.33
5.2.70.0070.03815.33
5.2.60.0240.03115.33
5.2.50.0000.03115.33
5.2.40.0030.03015.33
5.2.30.0000.03615.33
5.2.20.0030.02715.33
5.2.10.0000.03415.33
5.2.00.0030.02715.33
5.1.60.0030.02315.33
5.1.50.0000.03415.33
5.1.40.0030.04715.33
5.1.30.0040.03215.33
5.1.20.0070.03115.33
5.1.10.0030.02715.33
5.1.00.0000.02615.33
5.0.50.0000.02315.33
5.0.40.0030.02315.33
5.0.30.0030.02915.33
5.0.20.0000.02315.33
5.0.10.0030.01915.33
5.0.00.0000.03315.33
4.4.90.0000.02215.33
4.4.80.0000.02015.33
4.4.70.0000.01715.33
4.4.60.0040.01215.33
4.4.50.0000.01615.33
4.4.40.0030.02215.33
4.4.30.0000.02915.33
4.4.20.0030.02015.33
4.4.10.0030.02415.33
4.4.00.0000.04915.33
4.3.110.0000.02015.33
4.3.100.0030.01315.33
4.3.90.0000.01615.33
4.3.80.0000.05715.33
4.3.70.0030.03415.33
4.3.60.0000.02115.33
4.3.50.0000.01715.33
4.3.40.0030.02315.33
4.3.30.0000.01715.33
4.3.20.0030.01415.33
4.3.10.0070.02315.33
4.3.00.0000.03815.33

preferences:
48.59 ms | 401 KiB | 5 Q