3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class PHPUnit_Framework_Error { } class PHPUnit_Framework_Error_Warning extends PHPUnit_Framework_Error { public static $enabled = TRUE; } $exception = 'PHPUnit_Framework_Error_Warning'; var_dump($exception::$enabled);

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.0090.00616.63
8.3.60.0030.01016.35
8.3.50.0120.00722.02
8.3.40.0070.01118.70
8.3.30.0080.00618.79
8.3.20.0070.00020.09
8.3.10.0000.00823.46
8.3.00.0060.00319.25
8.2.180.0120.00318.29
8.2.170.0120.00322.96
8.2.160.0110.00318.71
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0020.00521.05
8.2.110.0080.00022.43
8.2.100.0040.00717.91
8.2.90.0000.00819.22
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0050.00317.89
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0000.00818.05
8.2.20.0050.00217.48
8.2.10.0070.00018.04
8.2.00.0040.00417.64
8.1.280.0120.00325.92
8.1.270.0040.00423.88
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0030.00623.84
8.1.230.0080.00318.88
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0000.00717.39
8.1.180.0030.00518.10
8.1.170.0000.00718.57
8.1.160.0100.00022.00
8.1.150.0000.00718.61
8.1.140.0000.00817.28
8.1.130.0000.00717.73
8.1.120.0040.00417.40
8.1.110.0040.00417.41
8.1.100.0020.00517.44
8.1.90.0000.00717.41
8.1.80.0000.00817.34
8.1.70.0070.00017.27
8.1.60.0030.00517.51
8.1.50.0040.00417.33
8.1.40.0040.00417.43
8.1.30.0040.00417.46
8.1.20.0040.00417.62
8.1.10.0000.00717.41
8.1.00.0040.00417.29
8.0.300.0040.00418.77
8.0.290.0030.00316.91
8.0.280.0050.00318.27
8.0.270.0000.00717.23
8.0.260.0070.00016.77
8.0.250.0000.00616.90
8.0.240.0050.00216.92
8.0.230.0030.00316.91
8.0.220.0000.00716.82
8.0.210.0000.00716.82
8.0.200.0000.00716.84
8.0.190.0030.00716.78
8.0.180.0000.00716.72
8.0.170.0050.00516.85
8.0.160.0030.00516.86
8.0.150.0040.00416.78
8.0.140.0040.00416.66
8.0.130.0030.00313.24
8.0.120.0040.00416.65
8.0.110.0000.00816.88
8.0.100.0040.00416.61
8.0.90.0040.00416.60
8.0.80.0070.00716.88
8.0.70.0050.00316.83
8.0.60.0040.00416.73
8.0.50.0040.00416.65
8.0.30.0150.00517.09
8.0.20.0130.00517.40
8.0.10.0000.00816.98
8.0.00.0110.00516.77
7.4.330.0020.00215.15
7.4.320.0040.00416.33
7.4.300.0060.00016.57
7.4.290.0000.00816.43
7.4.280.0040.00416.42
7.4.270.0060.00316.52
7.4.260.0070.00016.52
7.4.250.0000.00716.47
7.4.240.0050.00216.47
7.4.230.0000.00716.17
7.4.220.0100.01116.45
7.4.210.0080.00916.47
7.4.200.0050.00316.63
7.4.190.0050.00216.33
7.4.160.0070.01416.50
7.4.150.0150.00417.40
7.4.140.0140.00617.86
7.4.130.0110.00816.39
7.4.120.0140.00316.46
7.4.110.0100.00716.36
7.4.100.0090.00916.27
7.4.90.0040.01516.31
7.4.80.0120.00919.39
7.4.70.0100.00716.42
7.4.60.0090.01216.44
7.4.50.0000.00816.47
7.4.40.0110.00722.77
7.4.30.0140.00316.57
7.4.00.0060.01014.72
7.3.330.0050.00013.26
7.3.320.0000.00513.33
7.3.310.0040.00416.16
7.3.300.0000.00716.19
7.3.290.0070.01016.22
7.3.280.0140.00316.25
7.3.270.0040.01417.40
7.3.260.0100.00816.57
7.3.250.0070.01316.35
7.3.240.0070.01116.43
7.3.230.0060.01116.50
7.3.210.0060.01416.66
7.3.200.0070.01019.39
7.3.190.0130.00316.48
7.3.180.0060.01016.38
7.3.170.0160.00016.35
7.3.160.0170.00716.53
7.3.120.0060.00614.53
7.2.330.0070.01816.54
7.2.320.0060.01016.44
7.2.310.0060.01016.38
7.2.300.0100.00616.65
7.2.290.0030.01316.57
7.2.00.0000.01419.39
7.1.100.0000.01318.00
7.1.70.0040.00417.09
7.1.60.0030.02219.33
7.1.50.0070.01117.02
7.1.00.0170.06322.30
7.0.200.0040.00416.50
7.0.140.0070.07022.15
7.0.60.0070.06719.95
7.0.50.0030.04017.72
7.0.40.0000.09320.20
7.0.30.0330.07720.07
7.0.20.0470.06020.07
7.0.10.0070.05020.08
7.0.00.0070.07320.20
5.6.280.0070.07020.98
5.6.210.0070.08320.75
5.6.200.0070.07318.18
5.6.190.0070.06020.51
5.6.180.0300.07720.48
5.6.170.0230.07720.61
5.6.160.0100.07720.61
5.6.150.0100.04018.23
5.6.140.0070.08318.16
5.6.130.0130.05318.19
5.6.120.0030.04321.14
5.6.110.0130.07321.04
5.6.100.0070.07721.11
5.6.90.0130.07720.99
5.6.80.0100.05720.51
5.5.350.4070.04320.44
5.5.340.0030.05317.98
5.5.330.0100.07020.31
5.5.320.0200.08720.20
5.5.310.0270.04320.29
5.5.300.0070.08017.94
5.5.290.0030.06318.02
5.5.280.0070.03720.87
5.5.270.0030.06320.79
5.5.260.0030.06720.77
5.5.250.0000.05320.69
5.5.240.0170.07720.35
5.4.450.0300.03719.52
5.4.440.0270.04019.45
5.4.430.0300.03719.30
5.4.420.0230.04019.16
5.4.410.0270.04319.42
5.4.400.0300.03319.06
5.4.390.0200.04319.23
5.4.380.0370.02718.84
5.4.370.0300.03318.87
5.4.360.0370.02719.21
5.4.350.0300.03318.87
5.4.340.0330.04719.15
5.4.320.0300.03319.00
5.4.310.0200.04319.08
5.4.300.0300.03319.19
5.4.290.0400.03318.98
5.4.280.0300.03319.14
5.4.270.0270.03718.86
5.4.260.0400.02318.86
5.4.250.0300.03319.18
5.4.240.0270.03719.13
5.4.230.0230.04019.08
5.4.220.0270.04319.30
5.4.210.0270.03718.86
5.4.200.0230.04019.05
5.4.190.0300.04318.83
5.4.180.0300.03319.18
5.4.170.0300.03319.08
5.4.160.0270.03719.00
5.4.150.0300.03319.18
5.4.140.0270.03716.40
5.4.130.0300.03716.37
5.4.120.0200.04016.38
5.4.110.0400.04016.61
5.4.100.0270.03316.35
5.4.90.0230.03716.50
5.4.80.0270.06316.29
5.4.70.0300.04316.59
5.4.60.0400.02716.16
5.4.50.0230.05016.51
5.4.40.0230.04716.43
5.4.30.0270.04716.53
5.4.20.0270.03316.22
5.4.10.0330.05016.25
5.4.00.0270.03315.77
5.3.290.0330.07014.73
5.3.280.0230.05014.60
5.3.270.0330.04314.57
5.3.260.0270.08314.74
5.3.250.0370.06714.59
5.3.240.0300.06714.58
5.3.230.0370.06714.81
5.3.220.0330.06314.53
5.3.210.0300.06014.53
5.3.200.0330.03314.53
5.3.190.0370.06714.45
5.3.180.0430.04714.61
5.3.170.0330.03014.67
5.3.160.0300.04714.47
5.3.150.0370.04014.47
5.3.140.0430.04314.62
5.3.130.0430.05714.46
5.3.120.0370.07314.51
5.3.110.0330.05314.51
5.3.100.0330.07313.95
5.3.90.0330.07314.03
5.3.80.0200.04713.94
5.3.70.0430.06014.16
5.3.60.0370.05713.93
5.3.50.0370.06013.87
5.3.40.0270.04313.85
5.3.30.0300.04014.13
5.3.20.0300.06013.69
5.3.10.0330.03713.60
5.3.00.0300.05313.64
5.2.170.0270.06313.60
5.2.160.0230.03313.60
5.2.150.0330.05013.60
5.2.140.0300.04313.60
5.2.130.0370.04713.60
5.2.120.0300.02713.60
5.2.110.0230.04313.60
5.2.100.0230.05313.60
5.2.90.0270.03713.60
5.2.80.0300.04013.60
5.2.70.0300.03713.60
5.2.60.0300.05713.60
5.2.50.0270.03713.60
5.2.40.0200.03313.60
5.2.30.0270.05013.60
5.2.20.0200.04013.60
5.2.10.0200.04713.60
5.2.00.0170.03313.60
5.1.60.0170.05313.60
5.1.50.0170.02713.60
5.1.40.0200.04013.60
5.1.30.0130.03013.60
5.1.20.0200.03713.60
5.1.10.0130.05013.60
5.1.00.0170.02713.60
5.0.50.0170.04013.60
5.0.40.0130.03013.60
5.0.30.0100.04313.60
5.0.20.0070.02313.60
5.0.10.0170.03713.60
5.0.00.0130.06013.60
4.4.90.0100.02313.60
4.4.80.0170.03013.60
4.4.70.0070.02013.60
4.4.60.0070.02713.60
4.4.50.0070.02313.60
4.4.40.0070.05713.60
4.4.30.0130.02713.60
4.4.20.0130.02313.60
4.4.10.0070.02713.60
4.4.00.0130.03013.60
4.3.110.0130.02313.60
4.3.100.0100.01713.60
4.3.90.0100.03313.60
4.3.80.0100.03713.60
4.3.70.0100.03313.60
4.3.60.0100.03713.60
4.3.50.0100.03013.60
4.3.40.0200.04313.60
4.3.30.0030.02313.60
4.3.20.0030.03013.60
4.3.10.0100.02313.60
4.3.00.0030.02013.60

preferences:
32.61 ms | 401 KiB | 5 Q