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(); 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.70.0180.00318.41
8.3.60.0120.00318.56
8.3.50.0110.00521.15
8.3.40.0070.00718.77
8.3.30.0070.01319.04
8.3.20.0000.00720.34
8.3.10.0050.00321.92
8.3.00.0080.00022.28
8.2.190.0080.00616.75
8.2.180.0030.01216.63
8.2.170.0070.00722.96
8.2.160.0140.00719.17
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.56
8.2.110.0040.00420.27
8.2.100.0070.00319.44
8.2.90.0040.00419.13
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0050.00317.93
8.2.50.0090.00318.07
8.2.40.0030.00518.03
8.2.30.0040.00417.98
8.2.20.0000.00717.62
8.2.10.0000.00717.75
8.2.00.0090.00017.80
8.1.280.0100.00725.92
8.1.270.0060.00318.63
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00323.67
8.1.230.0100.00019.08
8.1.220.0060.00617.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0060.00317.53
8.1.180.0030.00618.70
8.1.170.0050.00318.65
8.1.160.0030.00322.13
8.1.150.0000.00718.50
8.1.140.0000.00717.36
8.1.130.0000.00717.88
8.1.120.0000.00717.42
8.1.110.0090.00017.41
8.1.100.0000.00817.45
8.1.90.0050.00317.42
8.1.80.0030.00517.29
8.1.70.0030.00317.35
8.1.60.0040.00417.48
8.1.50.0000.00817.50
8.1.40.0050.00317.40
8.1.30.0050.00217.55
8.1.20.0050.00317.50
8.1.10.0030.00617.48
8.1.00.0000.01017.31
8.0.300.0070.00018.77
8.0.290.0040.00417.05
8.0.280.0070.00018.34
8.0.270.0030.00317.13
8.0.260.0000.00716.80
8.0.250.0000.00716.93
8.0.240.0080.00017.05
8.0.230.0070.00017.05
8.0.220.0030.00316.86
8.0.210.0000.00716.88
8.0.200.0000.00616.90
8.0.190.0080.00017.05
8.0.180.0030.00316.95
8.0.170.0000.00716.86
8.0.160.0050.00217.01
8.0.150.0030.00516.79
8.0.140.0040.00416.96
8.0.130.0060.00013.34
8.0.120.0000.00716.90
8.0.110.0040.00416.96
8.0.100.0000.00716.88
8.0.90.0030.00616.95
8.0.80.0140.00316.98
8.0.70.0040.00416.94
8.0.60.0000.00716.83
8.0.50.0000.00716.90
8.0.30.0140.00817.05
8.0.20.0120.01017.40
8.0.10.0030.00517.01
8.0.00.0140.00616.86
7.4.330.0050.00015.00
7.4.320.0030.00316.46
7.4.300.0000.00616.50
7.4.290.0070.00016.50
7.4.280.0000.00916.34
7.4.270.0030.00316.57
7.4.260.0070.00016.48
7.4.250.0000.00716.48
7.4.240.0050.00216.36
7.4.230.0030.00316.55
7.4.220.0120.01016.42
7.4.210.0080.00616.46
7.4.200.0000.00816.33
7.4.190.0030.00316.29
7.4.160.0120.00616.33
7.4.150.0100.00717.40
7.4.140.0070.01117.86
7.4.130.0060.01116.36
7.4.120.0070.01216.51
7.4.110.0070.01016.36
7.4.100.0110.01216.38
7.4.90.0140.00316.52
7.4.80.0060.01019.39
7.4.70.0050.01116.26
7.4.60.0130.00316.42
7.4.50.0040.00416.36
7.4.40.0100.00622.77
7.4.30.0110.00516.27
7.4.00.0030.01315.04
7.3.330.0050.00013.22
7.3.320.0050.00013.14
7.3.310.0000.00716.14
7.3.300.0070.00016.27
7.3.290.0030.01416.28
7.3.280.0120.00816.29
7.3.270.0160.00617.40
7.3.260.0150.00316.32
7.3.250.0110.00716.56
7.3.240.0050.01116.52
7.3.230.0070.01016.46
7.3.210.0130.00316.47
7.3.200.0110.00716.46
7.3.190.0040.01416.48
7.3.180.0060.00816.50
7.3.170.0060.01216.35
7.3.160.0070.01016.30
7.3.120.0090.00614.71
7.3.10.0090.00716.19
7.3.00.0120.00016.33
7.2.330.0030.01416.54
7.2.320.0070.01316.50
7.2.310.0130.00316.46
7.2.300.0130.01016.41
7.2.290.0000.01616.51
7.2.130.0080.00816.73
7.2.120.0150.00716.22
7.2.110.0080.00816.61
7.2.100.0050.00516.47
7.2.90.0070.00716.54
7.2.80.0120.00616.48
7.2.70.0030.00816.53
7.2.60.0110.00016.52
7.2.50.0060.00616.49
7.2.40.0120.00316.72
7.2.30.0040.00816.59
7.2.20.0140.00316.69
7.2.10.0040.00716.93
7.2.00.0000.01317.83
7.1.250.0040.01215.59
7.1.100.0000.01117.95
7.1.70.0000.00716.88
7.1.60.0060.01219.82
7.1.50.0100.01316.82
7.1.00.0000.04722.37
7.0.200.0100.00316.66
7.0.140.0000.07322.15
7.0.60.0070.07720.00
7.0.50.0100.08317.84
7.0.40.0200.07720.09
7.0.30.0330.06720.09
7.0.20.0200.03720.23
7.0.10.0300.08720.05
7.0.00.0130.07720.19
5.6.280.0030.07321.08
5.6.210.0030.06720.47
5.6.200.0070.05318.18
5.6.190.0070.06020.58
5.6.180.0330.08020.59
5.6.170.0370.07020.45
5.6.160.0100.08020.56
5.6.150.0030.05018.21
5.6.140.0170.07318.18
5.6.130.0200.07318.20
5.6.120.0030.08721.10
5.6.110.0030.05320.97
5.6.100.0100.05721.01
5.6.90.0070.05020.92
5.6.80.0070.07020.54
5.6.70.3730.04020.50
5.5.350.0300.07320.34
5.5.340.0030.08717.96
5.5.330.0100.08320.27
5.5.320.0070.05020.19
5.5.310.0230.08320.35
5.5.300.0130.07018.00
5.5.290.0100.05018.03
5.5.280.0070.05320.88
5.5.270.0070.05720.76
5.5.260.0100.06020.65
5.5.250.0100.07320.59
5.5.240.0030.07320.16
5.4.450.1030.04719.42
5.4.440.0300.04019.47
5.4.430.0230.04019.54
5.4.420.0030.06319.68
5.4.410.0100.05319.30
5.4.400.0030.05719.13
5.4.390.0130.04719.12
5.4.380.0070.06019.05
5.4.370.0130.05018.98
5.4.360.0100.05019.02
5.4.350.0120.08612.02
5.4.340.0090.04212.02
5.4.320.0090.03312.50
5.4.310.0060.04212.50
5.4.300.0110.04112.51
5.4.290.0060.04012.50
5.4.280.0070.04112.39
5.4.270.0070.04212.40
5.4.260.0080.03912.39
5.4.250.0070.05018.76
5.4.240.0100.05018.96
5.4.230.0070.06718.95
5.4.220.0070.05318.91
5.4.210.0100.04718.73
5.4.200.0030.05318.89
5.4.190.0030.05718.88
5.4.180.0170.04318.75
5.4.170.0000.05718.61
5.4.160.0100.04318.82
5.4.150.0100.05018.84
5.4.140.0070.05016.50
5.4.130.0000.05316.34
5.4.120.0070.05316.45
5.4.110.0070.05016.44
5.4.100.0070.05016.43
5.4.90.0130.04716.48
5.4.80.0030.05016.49
5.4.70.0130.04316.44
5.4.60.0070.05016.48
5.4.50.0170.05016.49
5.4.40.0100.04716.33
5.4.30.0000.05716.43
5.4.20.0130.04316.42
5.4.10.0170.04016.54
5.4.00.0170.04015.74
5.3.290.0060.04912.80
5.3.280.0070.05014.67
5.3.270.0100.05314.59
5.3.260.0000.05714.60
5.3.250.0030.05014.59
5.3.240.0130.04714.57
5.3.230.0100.05014.68
5.3.220.0000.05314.63
5.3.210.0000.05714.46
5.3.200.0000.05314.39
5.3.190.0070.05014.53
5.3.180.0000.05714.55
5.3.170.0070.05014.62
5.3.160.0100.04714.63
5.3.150.0070.05014.46
5.3.140.0030.07014.55
5.3.130.0030.05714.76
5.3.120.0030.05714.54
5.3.110.0070.05014.51
5.3.100.0030.05314.20
5.3.90.0100.04713.85
5.3.80.0100.04714.11
5.3.70.0030.05314.11
5.3.60.0100.04714.08
5.3.50.0070.04713.92
5.3.40.0130.04314.13
5.3.30.0070.04313.97
5.3.20.0000.05313.77
5.3.10.0070.05013.57
5.3.00.0030.05313.82
5.2.170.0030.04311.16
5.2.160.0070.04311.29
5.2.150.0030.04311.14
5.2.140.0100.03711.29
5.2.130.0070.03710.93
5.2.120.0170.04711.19
5.2.110.0030.06011.25
5.2.100.0100.04711.12
5.2.90.0100.05011.19
5.2.80.0100.04311.00
5.2.70.0130.05011.02
5.2.60.0030.06010.95
5.2.50.0030.06010.77
5.2.40.0030.04310.91
5.2.30.0070.05711.00
5.2.20.0030.04310.96
5.2.10.0030.05710.94
5.2.00.0030.04010.48
5.1.60.0030.04310.18
5.1.50.0000.0379.85
5.1.40.0030.03310.02
5.1.30.0070.03310.34
5.1.20.0100.05010.42
5.1.10.0100.03010.03
5.1.00.0030.03710.02
5.0.50.0070.0238.63
5.0.40.0030.0408.46
5.0.30.0000.0438.36
5.0.20.0100.0208.38
5.0.10.0030.0278.20
5.0.00.0070.0438.24
4.4.90.0070.0277.07
4.4.80.0000.0237.07
4.4.70.0030.0277.07
4.4.60.0030.0207.07
4.4.50.0030.0307.07
4.4.40.0070.0407.07
4.4.30.0000.0237.07
4.4.20.0070.0277.07
4.4.10.0100.0177.07
4.4.00.0000.0377.07
4.3.110.0000.0307.07
4.3.100.0000.0237.07
4.3.90.0130.0107.07
4.3.80.0000.0437.07
4.3.70.0030.0207.07
4.3.60.0070.0177.07
4.3.50.0030.0207.07
4.3.40.0000.0337.07
4.3.30.0070.0237.07
4.3.20.0070.0177.07
4.3.10.0000.0237.07
4.3.00.0100.01314.52

preferences:
47.27 ms | 401 KiB | 5 Q