3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function ($errno , $errstr) { echo error_reporting(); }); echo error_reporting(); get_called_class();

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.00318.56
8.3.50.0120.00621.14
8.3.40.0100.01018.91
8.3.30.0180.00318.97
8.3.20.0070.00020.21
8.3.10.0060.00322.10
8.3.00.0000.00822.51
8.2.180.0090.00616.75
8.2.170.0070.00722.96
8.2.160.0070.01319.13
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00519.51
8.2.110.0030.00622.30
8.2.100.0070.00419.28
8.2.90.0030.00619.27
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0040.00418.05
8.2.30.0030.00618.17
8.2.20.0040.00417.73
8.2.10.0000.00717.73
8.2.00.0070.00317.79
8.1.280.0030.01425.92
8.1.270.0030.00518.44
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00623.84
8.1.230.0030.00719.04
8.1.220.0030.00517.79
8.1.210.0000.00818.77
8.1.200.0000.00917.13
8.1.190.0000.00817.39
8.1.180.0040.00420.52
8.1.170.0040.00418.53
8.1.160.0030.00322.14
8.1.150.0050.00318.59
8.1.140.0040.00417.39
8.1.130.0050.00217.77
8.1.120.0000.00717.31
8.1.110.0030.00617.39
8.1.100.0040.00417.38
8.1.90.0050.00317.37
8.1.80.0000.00717.43
8.1.70.0000.00817.35
8.1.60.0000.00817.43
8.1.50.0000.00717.54
8.1.40.0070.00017.34
8.1.30.0060.00317.56
8.1.20.0000.00817.49
8.1.10.0070.00017.55
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0000.00717.16
8.0.280.0030.00318.43
8.0.270.0000.00717.17
8.0.260.0030.00516.88
8.0.250.0040.00416.97
8.0.240.0000.00717.02
8.0.230.0000.00716.91
8.0.220.0000.00716.82
8.0.210.0000.00716.78
8.0.200.0070.00017.02
8.0.190.0040.00416.91
8.0.180.0000.00717.00
8.0.170.0050.00217.04
8.0.160.0040.00416.95
8.0.150.0000.00716.81
8.0.140.0040.00416.81
8.0.130.0060.00013.47
8.0.120.0040.00416.81
8.0.110.0000.00717.00
8.0.100.0000.00716.84
8.0.90.0030.00517.00
8.0.80.0060.00916.92
8.0.70.0050.00316.90
8.0.60.0000.00716.85
8.0.50.0050.00316.91
8.0.30.0120.00717.03
8.0.20.0120.00817.40
8.0.10.0040.00416.86
8.0.00.0070.00916.95
7.4.330.0040.00015.00
7.4.320.0070.00016.55
7.4.300.0070.00016.54
7.4.290.0000.00716.55
7.4.280.0100.00016.58
7.4.270.0070.00016.35
7.4.260.0070.00016.53
7.4.250.0040.00416.38
7.4.240.0020.00516.48
7.4.230.0000.00716.58
7.4.220.0060.01616.61
7.4.210.0080.01016.41
7.4.200.0030.00316.24
7.4.190.0030.00316.32
7.4.160.0030.01616.73
7.4.150.0120.00617.40
7.4.140.0150.00617.86
7.4.130.0060.01316.36
7.4.120.0100.00716.44
7.4.110.0060.01216.50
7.4.100.0130.00316.51
7.4.90.0090.00916.38
7.4.80.0160.00019.39
7.4.70.0050.01116.40
7.4.60.0100.01016.31
7.4.50.0030.00616.38
7.4.40.0130.00322.77
7.4.30.0060.01016.29
7.4.00.0060.01014.80
7.3.330.0000.00613.12
7.3.320.0000.00513.30
7.3.310.0000.00616.25
7.3.300.0000.00616.20
7.3.290.0120.00916.27
7.3.280.0040.01116.28
7.3.270.0160.00917.40
7.3.260.0090.00916.46
7.3.250.0030.01316.44
7.3.240.0110.00616.56
7.3.230.0110.00616.39
7.3.210.0060.01016.55
7.3.200.0030.01319.39
7.3.190.0080.00816.25
7.3.180.0090.00916.43
7.3.170.0100.00716.27
7.3.160.0090.00616.61
7.3.120.0090.00514.85
7.3.110.0040.01114.73
7.3.100.0070.01114.80
7.3.90.0040.00714.49
7.3.80.0000.01214.79
7.3.70.0110.00414.83
7.3.60.0070.00414.63
7.3.50.0060.00614.84
7.3.40.0040.01114.71
7.3.30.0040.01114.54
7.3.20.0060.00616.66
7.3.10.0060.00916.76
7.3.00.0080.00316.77
7.2.330.0090.00916.43
7.2.320.0080.01316.58
7.2.310.0070.01016.61
7.2.300.0060.00916.37
7.2.290.0060.00916.43
7.2.250.0110.00714.79
7.2.240.0100.00714.72
7.2.230.0110.01115.24
7.2.220.0070.00414.74
7.2.210.0060.01014.91
7.2.200.0080.00814.65
7.2.190.0090.00314.77
7.2.180.0080.00614.67
7.2.170.0040.01114.82
7.2.00.0000.01319.11
7.1.330.0000.01715.56
7.1.320.0000.01415.78
7.1.310.0000.01515.67
7.1.300.0070.00415.37
7.1.290.0000.01215.71
7.1.280.0070.01015.34
7.1.270.0030.00915.56
7.1.260.0060.00315.61
7.1.100.0070.00417.77
7.1.70.0000.01016.82
7.1.60.0000.01117.21
7.1.50.0100.01716.82
7.1.00.0000.05722.32
7.0.200.0000.00916.49
7.0.140.0070.07021.97
7.0.60.0070.08319.84
7.0.50.0070.03717.80
7.0.40.0100.08020.02
7.0.30.0570.07020.20
7.0.20.0330.04720.25
7.0.10.0100.09020.22
7.0.00.0030.04720.09
5.6.280.0030.07320.86
5.6.210.0170.06720.52
5.6.200.0070.08318.13
5.6.190.0200.07320.77
5.6.180.0230.08020.63
5.6.170.0270.08320.72
5.6.160.0070.04020.50
5.6.150.0100.08018.29
5.6.140.0030.08718.14
5.6.130.0000.09018.16
5.6.120.0170.07321.13
5.6.110.0100.07021.13
5.6.100.0070.06321.08
5.6.90.0070.08321.02
5.6.80.0170.06020.44
5.6.70.3700.03020.30
5.5.350.0200.03020.40
5.5.340.0100.07717.96
5.5.330.0100.07320.27
5.5.320.0270.06320.35
5.5.310.0230.06720.35
5.5.300.0070.07717.95
5.5.290.0100.05717.92
5.5.280.0030.04720.94
5.5.270.0070.07720.79
5.5.260.0130.04720.77
5.5.250.0030.04320.58
5.5.240.0230.07320.04
5.4.450.3330.03719.28
5.4.440.3200.03719.42
5.4.430.3600.03019.19
5.4.420.3400.04319.30
5.4.410.3430.03319.18
5.4.400.2930.03719.00
5.4.390.3430.03718.99
5.4.380.3030.04718.98
5.4.370.3200.04019.05
5.4.360.3530.04319.04
5.4.350.3270.03319.24
5.4.340.3070.04019.07
5.4.320.3430.03319.15
5.4.310.3130.03719.30
5.4.300.3700.04319.00
5.4.290.3100.03718.99
5.4.280.3170.03319.21
5.4.270.3170.03718.94
5.4.260.3230.03319.21
5.4.250.3170.04019.14
5.4.240.3230.03719.09
5.4.230.3200.04019.24
5.4.220.2930.04018.86
5.4.210.3170.03318.84
5.4.200.3170.03718.99
5.4.190.3100.04018.96
5.4.180.3100.04018.98
5.4.170.3500.03719.15
5.4.160.3270.03319.19
5.4.150.3170.04319.09
5.4.140.3430.03716.51
5.4.130.3500.02716.37
5.4.120.3570.02716.34
5.4.110.3300.03716.45
5.4.100.3470.03316.58
5.4.90.3500.03316.45
5.4.80.3430.04016.54
5.4.70.3530.03016.44
5.4.60.3170.04316.34
5.4.50.3470.03716.23
5.4.40.3530.04016.16
5.4.30.3500.04016.32
5.4.20.3370.04016.50
5.4.10.3170.03716.32
5.4.00.3470.03715.90
5.3.290.3600.04714.73
5.3.280.3500.05014.48
5.3.270.2970.04714.77
5.3.260.3370.04014.68
5.3.250.3870.04314.59
5.3.240.3230.04314.61
5.3.230.2800.04714.59
5.3.220.3300.04014.68
5.3.210.3370.03014.64
5.3.200.3570.04014.49
5.3.190.3470.03314.56
5.3.180.3500.03314.68
5.3.170.3370.03714.63
5.3.160.3500.04014.55
5.3.150.3430.03314.64
5.3.140.3300.04314.54
5.3.130.3930.05314.57
5.3.120.3530.03714.46
5.3.110.3570.03714.54
5.3.100.3400.04013.98
5.3.90.3470.03013.94
5.3.80.3170.04014.06
5.3.70.3330.02713.95
5.3.60.3670.04313.93
5.3.50.3700.03314.07
5.3.40.3570.03713.94
5.3.30.3300.03713.83
5.3.20.3300.03013.70
5.3.10.3100.03013.63
5.3.00.3370.04313.66
5.2.170.2970.02010.98
5.2.160.3000.03311.05
5.2.150.2830.03311.18
5.2.140.3030.03011.19
5.2.130.2730.03311.15
5.2.120.2670.02710.97
5.2.110.3030.03010.99
5.2.100.2930.03010.94
5.2.90.2830.02710.95
5.2.80.2930.03310.98
5.2.70.3070.03010.93
5.2.60.2800.03710.88
5.2.50.2800.02710.87
5.2.40.2030.02711.01
5.2.30.2230.02710.82
5.2.20.2300.02710.80
5.2.10.2100.03010.77
5.2.00.2430.02710.68
5.1.60.2400.0279.97
5.1.50.2200.0279.97
5.1.40.2470.02310.05
5.1.30.2200.02710.20
5.1.20.2500.02310.32
5.1.10.2330.02710.14
5.1.00.2400.02310.12
5.0.50.1070.0208.41
5.0.40.1100.0178.30
5.0.30.1330.0308.09
5.0.20.1200.0238.42
5.0.10.1170.0178.39
5.0.00.1400.0378.04
4.4.90.1330.0205.80
4.4.80.1330.0175.78
4.4.70.1300.0235.81
4.4.60.1300.0175.76
4.4.50.1300.0235.77
4.4.40.1330.0275.78
4.4.30.1130.0175.81
4.4.20.1200.0135.93
4.4.10.1370.0175.83
4.4.00.1430.0275.87
4.3.110.1330.0205.71
4.3.100.1370.0175.73
4.3.90.1030.0175.79
4.3.80.1370.0235.74
4.3.70.1430.0175.75
4.3.60.1230.0205.77
4.3.50.1300.0205.78
4.3.40.1330.0305.76
4.3.30.0700.0234.87
4.3.20.0770.0204.87
4.3.10.0700.0174.87
4.3.00.0870.0234.87

preferences:
45.88 ms | 401 KiB | 5 Q