3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { const D = 12; public static function test(array $a); } abstract class A { const C = 14; protected $var = 17; } class B extends A implements I { const C = 15; public static function test(array $a){ return parent::$var; } } var_dump(B::test(array()), A::C, B::C);

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.0040.01118.68
8.3.60.0140.00718.43
8.3.50.0110.00722.01
8.3.40.0070.00718.66
8.3.30.0110.00419.22
8.3.20.0040.00420.16
8.3.10.0050.00320.66
8.3.00.0090.00019.56
8.2.180.0090.00618.54
8.2.170.0120.00322.96
8.2.160.0100.00320.57
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.05
8.2.110.0030.00622.26
8.2.100.0060.00617.84
8.2.90.0040.00419.16
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0030.00518.03
8.2.50.0030.00618.07
8.2.40.0040.00418.28
8.2.30.0030.00519.18
8.2.20.0040.00417.63
8.2.10.0030.00517.94
8.2.00.0030.00517.68
8.1.280.0150.00425.92
8.1.270.0060.00323.94
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0040.00819.16
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0050.00517.23
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0000.00918.57
8.1.160.0030.00622.07
8.1.150.0000.00718.70
8.1.140.0030.00617.31
8.1.130.0030.00317.68
8.1.120.0040.00317.43
8.1.110.0000.00817.42
8.1.100.0000.00717.43
8.1.90.0000.00717.24
8.1.80.0000.00817.37
8.1.70.0000.00717.28
8.1.60.0090.00017.41
8.1.50.0040.00417.50
8.1.40.0080.00017.50
8.1.30.0040.00417.53
8.1.20.0000.01017.50
8.1.10.0030.00617.53
8.1.00.0040.00417.47
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.41
8.0.270.0000.00717.18
8.0.260.0030.00317.22
8.0.250.0000.00716.94
8.0.240.0000.00716.89
8.0.230.0000.00717.04
8.0.220.0000.00817.03
8.0.210.0030.00316.97
8.0.200.0030.00316.91
8.0.190.0070.00017.00
8.0.180.0050.00216.90
8.0.170.0040.00416.85
8.0.160.0040.00417.00
8.0.150.0040.00416.91
8.0.140.0000.00816.89
8.0.130.0030.00313.45
8.0.120.0000.00716.95
8.0.110.0000.00717.01
8.0.100.0000.00716.82
8.0.90.0000.00816.92
8.0.80.0190.00316.94
8.0.70.0000.00716.81
8.0.60.0000.00816.85
8.0.50.0000.00817.07
8.0.30.0090.00917.17
8.0.20.0070.01217.40
8.0.10.0040.00417.05
8.0.00.0080.01216.63
7.4.330.0030.00315.06
7.4.320.0060.00016.52
7.4.300.0030.00316.54
7.4.290.0050.00316.53
7.4.280.0000.00816.53
7.4.270.0030.00516.35
7.4.260.0030.00316.43
7.4.250.0050.00316.50
7.4.240.0020.00616.39
7.4.230.0040.00216.59
7.4.220.0080.01216.57
7.4.210.0000.01416.43
7.4.200.0050.00216.52
7.4.160.0110.00616.41
7.4.150.0120.01817.40
7.4.140.0110.00717.86
7.4.130.0120.00616.48
7.4.120.0100.00816.58
7.4.110.0090.01316.61
7.4.100.0150.00616.60
7.4.90.0130.00316.43
7.4.80.0030.01416.52
7.4.70.0100.00616.52
7.4.60.0130.01016.56
7.4.50.0000.00816.65
7.4.40.0030.01416.50
7.4.30.0070.01016.62
7.4.00.0090.00615.13
7.3.330.0070.00013.07
7.3.320.0050.00013.24
7.3.310.0000.00716.40
7.3.300.0040.00416.39
7.3.290.0110.00316.36
7.3.280.0150.00416.38
7.3.270.0130.01317.40
7.3.260.0110.00716.56
7.3.250.0150.00416.49
7.3.240.0140.00916.41
7.3.230.0120.00816.39
7.3.210.0140.00316.39
7.3.200.0070.01019.39
7.3.190.0100.00716.34
7.3.180.0100.01116.35
7.3.170.0060.01016.38
7.3.160.0060.00916.31
7.3.120.0070.01314.68
7.3.110.0030.01014.63
7.3.100.0030.01414.78
7.3.90.0030.00714.75
7.3.80.0070.00714.84
7.3.70.0120.00314.62
7.3.60.0000.00914.73
7.3.50.0090.00614.82
7.3.40.0120.00314.59
7.3.30.0090.00614.82
7.3.20.0080.00416.72
7.3.10.0040.00816.69
7.3.00.0080.00816.28
7.2.330.0100.00716.67
7.2.320.0060.01016.77
7.2.310.0140.00316.55
7.2.300.0080.00816.50
7.2.290.0100.01016.51
7.2.250.0090.00915.16
7.2.240.0110.00814.72
7.2.230.0060.01214.80
7.2.220.0030.01015.09
7.2.210.0000.01614.90
7.2.200.0060.00615.16
7.2.190.0030.01215.15
7.2.180.0080.00414.99
7.2.170.0070.01014.98
7.2.120.0120.00316.66
7.2.110.0030.00616.34
7.2.100.0070.01016.32
7.2.90.0060.00316.34
7.2.80.0050.00916.49
7.2.70.0090.00016.39
7.2.60.0020.01016.85
7.2.50.0040.01116.69
7.2.40.0040.00816.75
7.2.30.0070.00716.56
7.2.20.0070.00716.55
7.2.10.0040.00816.77
7.2.00.0070.00718.03
7.1.330.0030.01015.73
7.1.320.0070.00715.67
7.1.310.0070.00715.47
7.1.300.0070.00715.82
7.1.290.0040.01115.59
7.1.280.0030.01315.38
7.1.270.0050.00515.83
7.1.260.0030.01415.74
7.1.240.0060.00615.82
7.1.230.0000.00815.75
7.1.220.0030.00615.71
7.1.210.0000.00815.74
7.1.200.0020.01015.74
7.1.190.0060.00615.41
7.1.180.0070.00715.82
7.1.170.0000.01315.61
7.1.160.0090.00015.60
7.1.150.0060.00315.54
7.1.140.0070.00715.37
7.1.130.0040.00715.68
7.1.120.0100.00015.58
7.1.110.0120.00315.80
7.1.100.0060.00316.61
7.1.90.0060.00915.69
7.1.80.0100.00315.69
7.1.70.0020.00616.37
7.1.60.0080.01117.57
7.1.50.0080.00616.20
7.1.40.0040.00715.38
7.1.30.0040.00715.61
7.1.20.0000.01215.73
7.1.10.0110.00415.46
7.1.00.0030.04318.93
7.0.320.0030.01015.08
7.0.310.0080.00314.98
7.0.300.0050.00315.22
7.0.290.0070.00715.16
7.0.280.0030.00515.45
7.0.270.0060.00915.16
7.0.260.0120.00015.32
7.0.250.0110.00415.44
7.0.240.0100.00315.48
7.0.230.0030.00715.55
7.0.220.0040.00815.45
7.0.210.0000.01315.40
7.0.200.0060.00316.08
7.0.190.0050.00315.47
7.0.180.0090.00315.19
7.0.170.0030.00315.15
7.0.160.0070.00715.12
7.0.150.0040.00815.45
7.0.140.0060.03618.68
7.0.130.0030.00515.38
7.0.120.0030.00615.12
7.0.110.0040.00815.38
7.0.100.0040.01115.44
7.0.90.0070.00415.34
7.0.80.0110.00315.34
7.0.70.0000.01215.44
7.0.60.0080.04317.70
7.0.50.0050.02416.67
7.0.40.0040.02716.76
7.0.30.0170.02316.79
7.0.20.0200.02216.60
7.0.10.0060.04616.85
7.0.00.0030.02716.79
5.6.380.0070.00314.09
5.6.370.0170.00014.46
5.6.360.0150.00014.20
5.6.350.0120.00614.20
5.6.340.0140.00314.20
5.6.330.0130.00313.96
5.6.320.0110.00714.27
5.6.310.0090.00414.33
5.6.300.0170.00014.25
5.6.290.0100.00514.18
5.6.280.0150.00014.05
5.6.270.0180.00014.37
5.6.260.0110.00414.18
5.6.250.0150.00314.04
5.6.240.0070.01014.34
5.6.230.0140.00414.07
5.6.220.0110.00514.12
5.6.210.0070.04717.35
5.6.200.0110.04316.24
5.6.190.0090.02817.36
5.6.180.0260.02817.52
5.6.170.0220.04217.43
5.6.160.0120.01917.39
5.6.150.0090.02616.15
5.6.140.0120.04216.34
5.6.130.0090.02616.13
5.6.120.0080.02817.65
5.6.110.0070.04417.59
5.6.100.0070.02417.61
5.6.90.0130.03617.68
5.6.80.0100.02517.31
5.6.70.0090.00814.36
5.6.60.0100.00214.08
5.6.50.0110.00714.09
5.6.40.0120.00613.87
5.6.30.0080.00814.07
5.6.20.0180.00013.92
5.6.10.0120.00414.13
5.6.00.0100.00714.11
5.5.380.0090.00311.26
5.5.370.0070.00311.20
5.5.360.0100.00011.19
5.5.350.0120.04015.66
5.5.340.0060.03614.51
5.5.330.0120.03315.54
5.5.320.0170.03215.78
5.5.310.0160.02815.63
5.5.300.0120.04014.43
5.5.290.0080.03414.40
5.5.280.0090.04315.91
5.5.270.0040.02615.75
5.5.260.0060.03615.81
5.5.250.0170.03515.86
5.5.240.0100.04115.49
5.5.230.0050.00510.64
5.5.220.0070.00711.11
5.5.210.0070.00210.46
5.5.200.0120.00311.05
5.5.190.0050.00511.08
5.5.180.0110.00310.77
5.5.170.0090.00613.84
5.5.160.0050.00511.04
5.5.150.0130.00011.03
5.5.140.0100.00310.75
5.5.130.0090.00411.03
5.5.120.0110.00010.88
5.5.110.0090.00510.79
5.5.100.0100.00210.96
5.5.90.0120.00411.08
5.5.80.0090.00310.79
5.5.70.0100.00511.03
5.5.60.0060.00310.83
5.5.50.0110.00410.96
5.5.40.0090.00510.88
5.5.30.0070.00410.79
5.5.20.0030.00611.07
5.5.10.0090.00310.89
5.5.00.0070.00710.97
5.4.450.0150.03215.18
5.4.440.0510.03315.12
5.4.430.0440.02715.19
5.4.420.0660.03015.09
5.4.410.0420.02815.04
5.4.400.0400.02915.20
5.4.390.0380.03814.91
5.4.380.0260.02214.56
5.4.370.0240.03014.76
5.4.360.0140.03214.76
5.4.350.0370.03314.57
5.4.340.0240.02514.78
5.4.330.0090.00310.72
5.4.320.0080.02111.48
5.4.310.0080.02611.62
5.4.300.0080.02411.67
5.4.290.0070.02511.59
5.4.280.0080.01911.58
5.4.270.0060.02011.65
5.4.260.0090.01911.58
5.4.250.0050.02211.60
5.4.240.0060.02311.64
5.4.230.0080.02211.57
5.4.220.0100.01711.64
5.4.210.0090.02111.61
5.4.200.0050.02311.54
5.4.190.0050.02211.69
5.4.180.0080.02011.50
5.4.170.0020.02611.60
5.4.160.0070.02011.49
5.4.150.0050.02211.60
5.4.140.0100.02011.62
5.4.130.0080.02111.63
5.4.120.0040.02111.53
5.4.110.0050.02211.51
5.4.100.0060.02011.43
5.4.90.0070.02111.49
5.4.80.0080.02211.27
5.4.70.0090.01911.50
5.4.60.0070.01911.44
5.4.50.0040.02411.48
5.4.40.0050.02211.24
5.4.30.0070.02111.40
5.4.20.0080.02511.48
5.4.10.0120.02311.42
5.4.00.0060.02211.09
5.3.290.0100.02111.64
5.3.280.0060.02411.52
5.3.270.0060.02211.51
5.3.260.0100.02011.63
5.3.250.0060.02211.63
5.3.240.0050.02511.51
5.3.230.0070.02611.61
5.3.220.0060.02111.53
5.3.210.0060.02211.60
5.3.200.0090.01911.49
5.3.190.0090.01711.49
5.3.180.0100.01711.53
5.3.170.0100.01911.53
5.3.160.0070.02111.63
5.3.150.0080.02111.51
5.3.140.0060.02211.48
5.3.130.0080.02011.60
5.3.120.0090.02111.48
5.3.110.0070.02211.48
5.3.100.0060.02211.21
5.3.90.0040.02211.32
5.3.80.0090.01911.21
5.3.70.0080.01811.26
5.3.60.0040.02211.26
5.3.50.0020.02111.25
5.3.40.0070.01811.21
5.3.30.0070.01811.21
5.3.20.0050.02111.11
5.3.10.0050.01911.02
5.3.00.0050.01911.02
5.2.170.0040.0169.77
5.2.160.0030.0189.77
5.2.150.0040.0179.77
5.2.140.0040.0199.77
5.2.130.0050.0169.75
5.2.120.0040.0189.75
5.2.110.0030.0189.75
5.2.100.0020.0189.75
5.2.90.0060.0149.75
5.2.80.0010.0199.74
5.2.70.0020.0219.75
5.2.60.0060.0149.72
5.2.50.0040.0219.70
5.2.40.0050.0199.70
5.2.30.0050.0219.68
5.2.20.0020.0239.67
5.2.10.0050.0189.63
5.2.00.0040.0179.56
5.1.60.0070.0189.20
5.1.50.0040.0129.20
5.1.40.0030.0169.19
5.1.30.0030.0159.36
5.1.20.0020.0179.38
5.1.10.0040.0139.24
5.1.00.0040.0159.24
5.0.50.0050.0098.47
5.0.40.0070.0078.40
5.0.30.0020.0188.31
5.0.20.0020.0138.29
5.0.10.0030.0108.28
5.0.00.0040.0178.28
4.4.90.0020.0137.54
4.4.80.0030.0087.53
4.4.70.0020.0107.53
4.4.60.0010.0117.53
4.4.50.0040.0087.54
4.4.40.0010.0167.51
4.4.30.0020.0137.53
4.4.20.0040.0077.58
4.4.10.0040.0097.58
4.4.00.0020.0147.54
4.3.110.0020.0097.49
4.3.100.0010.0127.48
4.3.90.0040.0077.47
4.3.80.0010.0167.45
4.3.70.0020.0107.47
4.3.60.0040.0077.47
4.3.50.0040.0077.47
4.3.40.0020.0147.42
4.3.30.0020.0116.80
4.3.20.0030.0106.78
4.3.10.0000.0126.76
4.3.00.0070.0128.54

preferences:
35.04 ms | 401 KiB | 5 Q