3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function (int $errno , string $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.40.0090.00619.02
8.3.30.0030.01019.21
8.3.20.0050.00220.22
8.3.10.0080.00021.95
8.3.00.0000.00822.34
8.2.170.0070.00722.96
8.2.160.0140.00719.15
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0120.00626.16
8.2.120.0040.00419.29
8.2.110.0090.00020.41
8.2.100.0080.00317.97
8.2.90.0050.00319.23
8.2.80.0030.00518.05
8.2.70.0000.00817.74
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0000.00818.16
8.2.30.0000.00718.00
8.2.20.0050.00217.77
8.2.10.0050.00217.82
8.2.00.0060.00317.72
8.1.270.0040.00418.64
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.79
8.1.230.0110.00020.86
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0060.00317.11
8.1.190.0030.00517.66
8.1.180.0060.00320.48
8.1.170.0030.00518.46
8.1.160.0030.00322.06
8.1.150.0040.00418.59
8.1.140.0050.00317.31
8.1.130.0040.00417.76
8.1.120.0000.00717.45
8.1.110.0110.00017.34
8.1.100.0040.00417.25
8.1.90.0080.00017.42
8.1.80.0040.00417.40
8.1.70.0030.00317.42
8.1.60.0060.00317.52
8.1.50.0060.00317.45
8.1.40.0050.00217.49
8.1.30.0070.00017.61
8.1.20.0040.00417.51
8.1.10.0030.00617.52
8.1.00.0040.00417.46
8.0.300.0000.00718.77
8.0.290.0040.00417.16
8.0.280.0070.00018.49
8.0.270.0000.00717.16
8.0.260.0040.00416.77
8.0.250.0030.00317.00
8.0.240.0040.00416.86
8.0.230.0000.00716.93
8.0.220.0070.00016.91
8.0.210.0030.00316.81
8.0.200.0060.00016.91
8.0.190.0040.00417.04
8.0.180.0040.00416.90
8.0.170.0000.00716.83
8.0.160.0050.00316.92
8.0.150.0040.00416.83
8.0.140.0040.00416.82
8.0.130.0030.00313.39
8.0.120.0000.00816.92
8.0.110.0050.00216.94
8.0.100.0080.00016.98
8.0.90.0000.00816.82
8.0.80.0110.01116.87
8.0.70.0000.00716.84
8.0.60.0000.00716.93
8.0.50.0000.00817.06
8.0.30.0110.00717.20
8.0.20.0120.00617.40
8.0.10.0040.00416.81
8.0.00.0110.00616.75
7.4.330.0000.00615.00
7.4.320.0000.00616.34
7.4.300.0000.00616.36
7.4.290.0040.00416.34
7.4.280.0070.00316.44
7.4.270.0000.00616.46
7.4.260.0030.00316.43
7.4.250.0040.00416.27
7.4.240.0040.00416.51
7.4.230.0030.00316.25
7.4.220.0090.01216.50
7.4.210.0060.00816.43
7.4.200.0000.00716.44
7.4.190.0000.00716.68
7.4.160.0080.00816.55
7.4.150.0070.01417.40
7.4.140.0120.00817.86
7.4.130.0100.00816.49
7.4.120.0120.00516.36
7.4.110.0360.02916.48
7.4.100.0070.01016.54
7.4.90.0100.00716.38
7.4.80.0130.00619.39
7.4.70.0090.00916.43
7.4.60.0140.00716.59
7.4.50.0000.00816.32
7.4.40.0100.00722.77
7.4.30.0130.00716.61
7.4.00.0030.01314.90
7.3.330.0060.00013.37
7.3.320.0000.00513.20
7.3.310.0030.00316.17
7.3.300.0000.00716.16
7.3.290.0090.00616.31
7.3.280.0080.00716.25
7.3.270.0120.00617.40
7.3.260.0130.00916.30
7.3.250.0060.01016.29
7.3.240.0110.00516.50
7.3.230.0120.01216.39
7.3.210.0080.00816.64
7.3.200.0160.00719.39
7.3.190.0140.00316.21
7.3.180.0060.01216.30
7.3.170.0060.01216.45
7.3.160.0040.01116.39
7.3.120.0070.01014.96
7.2.330.0030.01416.65
7.2.320.0140.01116.35
7.2.310.0090.00816.57
7.2.300.0130.00316.66
7.2.290.0060.01016.39
7.2.60.0090.00416.71
7.1.200.0000.00815.62
7.1.70.0000.00717.14
7.1.60.0120.00919.82
7.1.50.0100.00716.84
7.1.00.0000.03722.27
7.0.200.0060.00616.76
7.0.140.0070.06722.10
7.0.60.0100.08319.95
7.0.50.0200.06317.82
7.0.40.0070.09320.11
7.0.30.0600.06720.27
7.0.20.0270.04320.07
7.0.10.0030.04320.16
7.0.00.0030.08020.16
5.6.280.0030.06720.91
5.6.210.0000.07020.55
5.6.200.0130.06318.19
5.6.190.0100.04320.77
5.6.180.0200.07720.46
5.6.170.0270.05020.52
5.6.160.0130.04720.46
5.6.150.0130.07318.24
5.6.140.0130.07318.18
5.6.130.0030.04018.18
5.6.120.0200.07321.05
5.6.110.0170.05721.05
5.6.100.0100.07020.89
5.6.90.0100.03320.95
5.6.80.0070.05320.51
5.6.70.0330.03320.28
5.5.350.0130.07720.42
5.5.340.0000.04718.08
5.5.330.0070.06320.57
5.5.320.0300.04020.29
5.5.310.0370.04020.29
5.5.300.0030.08318.04
5.5.290.0070.09017.98
5.5.280.0170.03720.89
5.5.270.0000.04320.76
5.5.260.0170.08020.87
5.5.250.0130.07720.59
5.5.240.0170.03020.16
5.4.450.0130.06019.14
5.4.440.0200.05319.54
5.4.430.0070.06019.60
5.4.420.0670.04719.30
5.4.410.0900.05319.25
5.4.400.0400.05318.74
5.4.390.1430.06318.70
5.4.380.0230.06318.61
5.4.370.0130.05018.52
5.4.360.0200.04718.75
5.4.350.0130.07412.02
5.4.340.0170.09212.02
5.4.320.0060.04012.50
5.4.310.0060.04512.50
5.4.300.0070.04112.50
5.4.290.0110.03512.50
5.4.280.0060.03412.39
5.4.270.0070.04312.40
5.4.260.0050.04912.40
5.4.250.0030.09318.91
5.4.240.0200.04318.94
5.4.230.0100.05718.83
5.4.220.0070.06718.72
5.4.210.0170.05318.72
5.4.200.0130.06318.84
5.4.190.0070.05318.87
5.4.180.0030.06318.88
5.4.170.0130.05318.91
5.4.160.0070.05318.87
5.4.150.0070.05718.88
5.4.140.0100.04716.26
5.4.130.0030.05016.49
5.4.120.0100.04716.37
5.4.110.0100.05316.45
5.4.100.0030.06316.55
5.4.90.0100.04316.34
5.4.80.0070.07316.32
5.4.70.0000.05716.35
5.4.60.0170.07016.32
5.4.50.0070.04716.31
5.4.40.0030.07016.56
5.4.30.0030.05316.50
5.4.20.0100.05316.28
5.4.10.0070.05016.34
5.4.00.0070.05015.97
5.3.290.0090.04312.80
5.3.280.0030.06014.72
5.3.270.0230.06014.74
5.3.260.0030.05714.70
5.3.250.0030.05714.68
5.3.240.0030.05714.59
5.3.230.0170.06714.56
5.3.220.0100.04314.71
5.3.210.0070.05314.74
5.3.200.0130.04714.58
5.3.190.0130.04714.59
5.3.180.0170.04014.78
5.3.170.0100.05014.54
5.3.160.0100.04714.69
5.3.150.0070.06714.64
5.3.140.0070.04714.77
5.3.130.0000.06014.68
5.3.120.0100.04714.45
5.3.110.0070.05014.68
5.3.100.0100.04714.01
5.3.90.0030.05013.92
5.3.80.0100.06714.24
5.3.70.0030.05013.85
5.3.60.0030.05014.06
5.3.50.0100.05713.93
5.3.40.0100.04714.04
5.3.30.0030.05013.97
5.3.20.0300.05013.79
5.3.10.0030.05013.63
5.3.00.0000.05313.80
5.2.170.0100.05711.02
5.2.160.0030.04011.07
5.2.150.0070.05710.98
5.2.140.0070.06011.02
5.2.130.0070.03711.02
5.2.120.0130.03311.19
5.2.110.0100.03710.98
5.2.100.0000.04311.10
5.2.90.0070.03711.20
5.2.80.0070.03711.02
5.2.70.0070.04010.99
5.2.60.0030.06011.05
5.2.50.0030.04311.01
5.2.40.0100.03311.15
5.2.30.0100.03710.90
5.2.20.0130.03710.84
5.2.10.0100.03310.93
5.2.00.0000.04310.79
5.1.60.0130.02710.03
5.1.50.0030.0339.77
5.1.40.0070.03010.03
5.1.30.0170.02310.48
5.1.20.0030.04310.53
5.1.10.0070.03010.09
5.1.00.0030.0379.98
5.0.50.0070.0238.60
5.0.40.0030.0238.17
5.0.30.0030.0408.16
5.0.20.0000.0308.25
5.0.10.0070.0338.18
5.0.00.0130.0407.98
4.4.90.0030.0207.07
4.4.80.0070.0177.07
4.4.70.0030.0207.07
4.4.60.0030.0207.07
4.4.50.0030.0207.07
4.4.40.0000.0377.07
4.4.30.0030.0207.07
4.4.20.0000.0237.07
4.4.10.0070.0177.07
4.4.00.0000.0337.07
4.3.110.0070.0137.07
4.3.100.0030.0207.07
4.3.90.0030.0277.07
4.3.80.0000.0407.07
4.3.70.0130.0177.07
4.3.60.0100.0207.07
4.3.50.0000.0277.07
4.3.40.0070.0277.07
4.3.30.0000.0237.07
4.3.20.0030.0207.07
4.3.10.0030.0207.07
4.3.00.0070.0236.55

preferences:
45.49 ms | 400 KiB | 5 Q