3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { } class B extends A { public static function ab() { var_dump(self::class, static::class, parent::class); } } B::ab();

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.01318.18
8.3.50.0070.01421.20
8.3.40.0070.00718.58
8.3.30.0110.00418.82
8.3.20.0040.00420.29
8.3.10.0000.00722.04
8.3.00.0060.00322.39
8.2.180.0090.00916.38
8.2.170.0070.00722.96
8.2.160.0100.00718.91
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00019.54
8.2.110.0040.00422.16
8.2.100.0040.00818.03
8.2.90.0040.00418.97
8.2.80.0000.00917.97
8.2.70.0030.00617.25
8.2.60.0000.00817.91
8.2.50.0050.00318.07
8.2.40.0040.00417.92
8.2.30.0090.00017.83
8.2.20.0040.00417.57
8.2.10.0030.00517.55
8.2.00.0040.00417.45
8.1.280.0030.01025.92
8.1.270.0000.00722.07
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.97
8.1.230.0040.00819.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.43
8.1.180.0000.00818.57
8.1.170.0060.00318.49
8.1.160.0040.00422.07
8.1.150.0040.00418.41
8.1.140.0040.00417.23
8.1.130.0000.00717.66
8.1.120.0000.00717.40
8.1.110.0030.00717.21
8.1.100.0030.00317.29
8.1.90.0000.00717.20
8.1.80.0000.00717.21
8.1.70.0070.00017.32
8.1.60.0000.00817.46
8.1.50.0000.00717.43
8.1.40.0000.00817.36
8.1.30.0080.00017.45
8.1.20.0000.00817.54
8.1.10.0000.00717.48
8.1.00.0000.00717.30
8.0.300.0000.00818.77
8.0.290.0000.00717.05
8.0.280.0020.00518.45
8.0.270.0030.00317.10
8.0.260.0000.00816.74
8.0.250.0030.00316.86
8.0.240.0030.00616.72
8.0.230.0040.00316.93
8.0.220.0000.00716.73
8.0.210.0030.00316.88
8.0.200.0000.00716.92
8.0.190.0000.00816.81
8.0.180.0000.00716.79
8.0.170.0000.00716.72
8.0.160.0000.00716.93
8.0.150.0030.00316.71
8.0.140.0050.00216.77
8.0.130.0000.00513.14
8.0.120.0030.00516.75
8.0.110.0040.00416.64
8.0.100.0040.00416.86
8.0.90.0000.00716.69
8.0.80.0030.01216.72
8.0.70.0040.00316.63
8.0.60.0040.00416.62
8.0.50.0000.00716.63
8.0.30.0110.00716.99
8.0.20.0060.01117.40
8.0.10.0070.00016.79
8.0.00.0110.00716.76
7.4.330.0040.00015.00
7.4.320.0040.00416.25
7.4.300.0030.00316.47
7.4.290.0070.00016.43
7.4.280.0080.00016.51
7.4.270.0040.00416.35
7.4.260.0030.00316.30
7.4.250.0040.00416.43
7.4.240.0050.00316.40
7.4.230.0070.00016.54
7.4.220.0160.00916.29
7.4.210.0060.00816.45
7.4.200.0040.00416.58
7.4.190.0030.00316.48
7.4.160.0120.00916.43
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0100.00816.55
7.4.120.0080.00816.35
7.4.110.0100.00616.46
7.4.100.0060.01516.28
7.4.90.0080.00816.26
7.4.80.0100.00719.39
7.4.70.0030.01316.52
7.4.60.0100.00616.41
7.4.50.0040.00416.56
7.4.40.0000.01722.77
7.4.30.0060.00916.61
7.4.00.0070.01114.60
7.3.330.0050.00013.04
7.3.320.0000.00613.20
7.3.310.0000.00716.20
7.3.300.0000.00716.05
7.3.290.0080.00516.21
7.3.280.0110.00416.21
7.3.270.0170.00017.40
7.3.260.0060.01116.15
7.3.250.0070.01016.22
7.3.240.0130.00316.23
7.3.230.0100.01016.39
7.3.210.0120.00916.43
7.3.200.0040.01219.39
7.3.190.0060.01216.29
7.3.180.0090.00916.12
7.3.170.0130.00316.29
7.3.160.0060.00916.23
7.3.120.0050.01214.56
7.3.110.0030.01414.80
7.3.100.0100.00014.61
7.3.90.0040.00714.80
7.3.80.0070.01014.63
7.3.70.0090.00914.74
7.3.60.0090.00014.48
7.3.50.0080.00814.50
7.3.40.0030.01014.57
7.3.30.0000.00814.57
7.3.20.0030.01016.38
7.3.10.0060.00616.60
7.3.00.0090.00316.44
7.2.330.0110.00816.50
7.2.320.0060.01216.38
7.2.310.0130.01016.49
7.2.300.0120.00316.42
7.2.290.0000.01716.46
7.2.250.0080.00814.82
7.2.240.0070.01014.94
7.2.230.0070.00314.94
7.2.220.0030.01314.94
7.2.210.0170.00014.65
7.2.200.0030.01014.65
7.2.190.0070.00714.70
7.2.180.0030.01014.52
7.2.170.0180.00414.90
7.2.60.0070.01016.51
7.2.00.0070.00719.22
7.1.330.0000.01415.89
7.1.320.0090.00615.67
7.1.310.0090.00615.88
7.1.300.0080.00715.63
7.1.290.0080.00615.75
7.1.280.0070.01415.80
7.1.270.0150.00015.70
7.1.260.0030.01415.75
7.1.200.0080.00315.77
7.1.100.0030.00717.90
7.1.70.0000.01017.07
7.1.60.0100.01319.82
7.1.50.0030.01716.57
7.1.00.0030.04022.37
7.0.200.0050.00316.77
7.0.140.0170.06022.18
7.0.60.0070.07319.89
7.0.50.0030.08717.86
7.0.40.0070.07320.32
7.0.30.0430.05020.16
7.0.20.0330.06720.22
7.0.10.0030.08020.26
7.0.00.0070.09020.23
5.6.280.0100.06320.93
5.6.210.0100.08020.57
5.6.200.0070.07318.18
5.6.190.0070.08320.58
5.6.180.0530.07020.79
5.6.170.0400.05320.50
5.6.160.0030.06020.62
5.6.150.0130.06018.19
5.6.140.0030.04718.14
5.6.130.0130.07318.23
5.6.120.0130.07720.89
5.6.110.0070.08721.05
5.6.100.0170.08020.98
5.6.90.0130.08320.95
5.6.80.0100.07320.40
5.5.350.0170.08320.54
5.5.340.0100.07717.99
5.5.330.0100.04020.34
5.5.320.0300.04320.35
5.5.310.0300.03020.21
5.5.300.0130.07717.99
5.5.290.0100.08018.04
5.5.280.0070.06320.80
5.5.270.0130.06020.95
5.5.260.0070.05320.80
5.5.250.0170.05320.58
5.5.240.0070.04320.16
5.4.450.0130.05319.40
5.4.440.0770.06019.57
5.4.430.0270.06019.66
5.4.420.0330.05019.54
5.4.410.0800.05719.35
5.4.400.1170.04718.80
5.4.390.1370.06318.86
5.4.380.0370.04718.54
5.4.370.0230.04318.77
5.4.360.0170.04718.75
5.4.350.0130.05718.53
5.4.340.0200.04318.70
5.4.320.0060.03712.52
5.4.310.0080.03612.51
5.4.300.0060.03512.52
5.4.290.0070.04212.52
5.4.280.0020.03912.41
5.4.270.0060.03512.41
5.4.260.0090.03412.41
5.4.250.0070.07718.99
5.4.240.0030.07318.95
5.4.230.0170.05718.93
5.4.220.0130.07319.02
5.4.210.0200.04718.93
5.4.200.0070.05719.00
5.4.190.0130.06318.94
5.4.180.0130.04718.77
5.4.170.0100.06718.98
5.4.160.0100.05018.73
5.4.150.0200.05318.73
5.4.140.0000.06016.64
5.4.130.0130.04316.60
5.4.120.0100.07016.61
5.4.110.0130.05016.62
5.4.100.0130.04316.39
5.4.90.0130.05016.57
5.4.80.0100.05016.52
5.4.70.0100.05016.38
5.4.60.0170.06316.36
5.4.50.0070.06316.49
5.4.40.0100.06316.41
5.4.30.0070.05016.52
5.4.20.0170.04016.56
5.4.10.0200.04316.59
5.4.00.0170.04716.00
5.3.290.0050.03912.80
5.3.280.0100.05714.69
5.3.270.0130.06714.60
5.3.260.0100.05014.69
5.3.250.0170.04714.70
5.3.240.0130.04314.59
5.3.230.0030.05714.78
5.3.220.0100.05014.66
5.3.210.0100.05714.42
5.3.200.0100.04714.56
5.3.190.0100.05314.64
5.3.180.0130.07014.48
5.3.170.0130.06014.40
5.3.160.0130.04714.63
5.3.150.0100.04714.70
5.3.140.0100.04714.79
5.3.130.0100.05014.72
5.3.120.0230.06014.71
5.3.110.0170.07014.64
5.3.100.0200.03713.87
5.3.90.0030.05314.09
5.3.80.0100.05314.02
5.3.70.0100.05714.04
5.3.60.0130.04313.97
5.3.50.0170.05714.16
5.3.40.0100.05313.92
5.3.30.0130.06013.81
5.3.20.0070.04713.77
5.3.10.0100.05313.72
5.3.00.0130.04313.63
5.2.170.0100.03711.21
5.2.160.0170.03011.30
5.2.150.0100.04011.30
5.2.140.0070.04311.16
5.2.130.0070.03711.19
5.2.120.0030.04010.93
5.2.110.0100.03311.18
5.2.100.0000.04311.20
5.2.90.0170.05011.09
5.2.80.0000.04311.16
5.2.70.0130.03011.25
5.2.60.0000.04311.04
5.2.50.0030.04011.10
5.2.40.0030.04011.04
5.2.30.0070.03711.06
5.2.20.0070.04310.91
5.2.10.0070.03710.84
5.2.00.0100.03710.54
5.1.60.0030.0339.83
5.1.50.0070.04710.01
5.1.40.0000.04010.22
5.1.30.0000.04310.29
5.1.20.0070.04310.52
5.1.10.0100.03010.13
5.1.00.0070.04310.12
5.0.50.0000.0338.59
5.0.40.0070.0278.42
5.0.30.0000.0478.38
5.0.20.0170.0178.14
5.0.10.0030.0308.37
5.0.00.0000.0578.19
4.4.90.0030.0207.50
4.4.80.0030.0207.50
4.4.70.0000.0237.50
4.4.60.0030.0237.50
4.4.50.0030.0207.50
4.4.40.0000.0377.50
4.4.30.0070.0237.50
4.4.20.0030.0207.50
4.4.10.0030.0207.50
4.4.00.0070.0277.50
4.3.110.0000.0277.50
4.3.100.0030.0207.50
4.3.90.0070.0237.50
4.3.80.0030.0407.50
4.3.70.0030.0337.50
4.3.60.0000.0237.50
4.3.50.0030.0207.50
4.3.40.0030.0337.50
4.3.30.0070.0177.50
4.3.20.0000.0237.50
4.3.10.0070.0177.50
4.3.00.0030.0277.63

preferences:
45.22 ms | 400 KiB | 5 Q