3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function who() { echo __CLASS__; } public static function test() { self::who(); } } class B extends A { public static function who() { echo __CLASS__; } } B::test();

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.0150.00616.75
8.3.50.0100.00716.39
8.3.40.0070.00718.50
8.3.30.0090.00618.67
8.3.20.0000.00720.18
8.3.10.0050.00323.66
8.3.00.0030.00619.68
8.2.180.0140.00716.38
8.2.170.0070.00722.96
8.2.160.0070.01118.79
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00019.27
8.2.120.0040.00426.35
8.2.110.0030.00620.53
8.2.100.0070.00417.78
8.2.90.0030.00619.09
8.2.80.0000.00717.97
8.2.70.0040.00417.50
8.2.60.0040.00417.92
8.2.50.0080.00018.10
8.2.40.0040.00420.50
8.2.30.0000.00719.06
8.2.20.0050.00217.98
8.2.10.0040.00417.95
8.2.00.0000.00817.91
8.1.280.0100.00725.92
8.1.270.0000.00822.20
8.1.260.0030.00726.35
8.1.250.0000.00828.09
8.1.240.0060.00322.62
8.1.230.0040.00719.00
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0070.00018.10
8.1.170.0040.00418.36
8.1.160.0040.00418.94
8.1.150.0060.00318.66
8.1.140.0000.00719.48
8.1.130.0000.00718.67
8.1.120.0030.00417.29
8.1.110.0030.00617.14
8.1.100.0000.00717.36
8.1.90.0000.00717.32
8.1.80.0040.00417.26
8.1.70.0000.00717.21
8.1.60.0040.00417.49
8.1.50.0000.00917.45
8.1.40.0040.00417.40
8.1.30.0000.00717.62
8.1.20.0040.00417.42
8.1.10.0000.00817.48
8.1.00.0040.00417.45
8.0.300.0030.00518.77
8.0.290.0070.00016.75
8.0.280.0030.00518.35
8.0.270.0030.00317.25
8.0.260.0070.00016.75
8.0.250.0060.00016.82
8.0.240.0070.00016.78
8.0.230.0000.00716.76
8.0.220.0030.00316.83
8.0.210.0000.00716.75
8.0.200.0000.00616.78
8.0.190.0030.00616.85
8.0.180.0080.00016.80
8.0.170.0070.00016.73
8.0.160.0030.00316.79
8.0.150.0030.00316.74
8.0.140.0030.00316.67
8.0.130.0000.00513.21
8.0.120.0040.00416.71
8.0.110.0080.00016.70
8.0.100.0000.00816.88
8.0.90.0020.00516.75
8.0.80.0100.01016.65
8.0.70.0050.00316.55
8.0.60.0040.00416.77
8.0.50.0040.00416.61
8.0.30.0070.01017.04
8.0.20.0060.01417.40
8.0.10.0070.00016.79
8.0.00.0070.01016.80
7.4.330.0030.00315.55
7.4.320.0030.00316.49
7.4.300.0030.00316.39
7.4.290.0000.00716.61
7.4.280.0000.00816.58
7.4.270.0080.00016.42
7.4.260.0030.00316.37
7.4.250.0030.00316.49
7.4.240.0000.00816.55
7.4.230.0030.00316.57
7.4.220.0080.01216.64
7.4.210.0100.00716.43
7.4.200.0000.00616.43
7.4.160.0110.00516.43
7.4.150.0030.01517.40
7.4.140.0110.00917.86
7.4.130.0130.01016.34
7.4.120.0130.00616.37
7.4.110.0130.00316.39
7.4.100.0090.00916.56
7.4.90.0100.00616.53
7.4.80.0100.01319.39
7.4.70.0120.00416.56
7.4.60.0140.00316.41
7.4.50.0090.00616.57
7.4.40.0000.01716.37
7.4.30.0140.00516.44
7.4.10.0060.01214.86
7.4.00.0070.01114.81
7.3.330.0020.00213.01
7.3.320.0000.00513.21
7.3.310.0000.00716.27
7.3.300.0030.00316.24
7.3.290.0070.00916.21
7.3.280.0060.01016.19
7.3.270.0120.00617.40
7.3.260.0100.01016.49
7.3.250.0110.00716.23
7.3.240.0110.00616.41
7.3.230.0060.01216.25
7.3.210.0090.00916.21
7.3.200.0030.01516.15
7.3.190.0100.00716.58
7.3.180.0100.00716.43
7.3.170.0140.00016.44
7.3.160.0110.00616.20
7.3.130.0100.01014.70
7.3.120.0050.01014.62
7.3.110.0070.01014.53
7.3.100.0050.01114.52
7.3.90.0070.00814.68
7.3.80.0060.01114.48
7.3.70.0020.00914.79
7.3.60.0040.00814.66
7.3.50.0040.00814.77
7.3.40.0040.00714.59
7.3.30.0050.00814.46
7.3.20.0060.00916.47
7.3.10.0100.00716.56
7.3.00.0070.00616.46
7.2.330.0110.00716.70
7.2.320.0120.00616.48
7.2.310.0100.00716.36
7.2.300.0130.01016.44
7.2.290.0130.00416.47
7.2.260.0070.01114.85
7.2.250.0020.01614.94
7.2.240.0080.00915.09
7.2.230.0070.00714.97
7.2.220.0030.01015.05
7.2.210.0060.01115.10
7.2.200.0000.01314.80
7.2.190.0060.01114.82
7.2.180.0050.01015.00
7.2.170.0080.00815.02
7.2.160.0100.00614.73
7.2.150.0090.00616.87
7.2.140.0070.00716.86
7.2.130.0120.00616.71
7.2.120.0040.01116.73
7.2.110.0090.00316.55
7.2.100.0040.01116.71
7.2.90.0030.01016.84
7.2.80.0110.00716.66
7.2.70.0060.01017.03
7.2.60.0050.00716.86
7.2.50.0090.00616.90
7.2.40.0060.01216.90
7.2.30.0040.00816.73
7.2.20.0090.00317.01
7.2.10.0030.01316.58
7.2.00.0020.01118.14
7.1.330.0030.01015.63
7.1.320.0050.00915.62
7.1.310.0030.00915.62
7.1.300.0060.00515.52
7.1.290.0030.00815.59
7.1.280.0070.00515.58
7.1.270.0060.00915.58
7.1.260.0040.00815.70
7.1.250.0040.01115.52
7.1.240.0030.01015.72
7.1.230.0000.00915.58
7.1.220.0040.01115.39
7.1.210.0090.00915.47
7.1.200.0060.00615.65
7.1.190.0040.01115.81
7.1.180.0030.00615.61
7.1.170.0070.00715.64
7.1.160.0060.00315.73
7.1.150.0040.01115.45
7.1.140.0100.00715.64
7.1.130.0120.00315.64
7.1.120.0040.00715.73
7.1.110.0040.00815.68
7.1.100.0020.01416.82
7.1.90.0110.00015.82
7.1.80.0100.00315.61
7.1.70.0280.01315.34
7.1.60.0310.01424.22
7.1.50.0390.01024.20
7.1.40.0320.00823.96
7.1.30.0410.01424.24
7.1.20.0340.01724.15
7.1.10.0160.01215.03
7.1.00.0180.00915.13
7.0.330.0030.01315.38
7.0.320.0050.00315.30
7.0.310.0040.00815.38
7.0.300.0090.00615.21
7.0.290.0100.00315.30
7.0.280.0060.00315.13
7.0.270.0110.00315.07
7.0.260.0030.00715.04
7.0.250.0070.00415.08
7.0.240.0050.00515.53
7.0.230.0040.00715.11
7.0.220.0040.00415.22
7.0.210.0090.00015.09
7.0.200.0390.00814.96
7.0.190.0330.01414.96
7.0.180.0290.00914.87
7.0.170.0300.00814.90
7.0.160.0340.00914.80
7.0.150.0220.00514.81
7.0.140.0180.00714.83
7.0.130.0210.00815.08
7.0.120.0310.00514.89
7.0.110.0250.01014.90
7.0.100.0170.01414.94
7.0.90.0310.01114.98
7.0.80.0320.00914.84
7.0.70.0080.01115.90
7.0.60.0090.00415.73
7.0.50.0050.01016.00
7.0.40.0020.01314.99
7.0.30.0060.00814.96
7.0.20.0040.01114.83
7.0.10.0090.00814.78
7.0.00.0030.01114.88
5.6.400.0000.01414.50
5.6.390.0060.01014.31
5.6.380.0080.00414.17
5.6.370.0080.00414.37
5.6.360.0090.00914.15
5.6.350.0030.01314.07
5.6.340.0040.01414.40
5.6.330.0090.00914.43
5.6.320.0080.00614.45
5.6.310.0040.01214.24
5.6.300.0030.01014.23
5.6.290.0080.00313.96
5.6.280.0110.00414.24
5.6.270.0100.00314.39
5.6.260.0060.00614.32
5.6.250.0040.01214.21
5.6.240.0030.01214.16
5.6.230.0070.00314.48
5.6.220.0050.00514.43
5.6.210.0090.00614.18
5.6.200.0030.01014.22
5.6.190.0050.00814.16
5.6.180.0140.00014.16
5.6.170.0000.01813.89
5.6.160.0080.00414.30
5.6.150.0090.00914.43
5.6.140.0030.01014.44
5.6.130.0150.00413.96
5.6.120.0040.01214.27
5.6.110.0030.01314.04
5.6.100.0090.00614.16
5.6.90.0030.01014.20
5.6.80.0060.00614.03
5.6.70.0030.01014.10
5.6.60.0030.01313.88
5.6.50.0070.01014.11
5.6.40.0030.01414.05
5.6.30.0060.00314.19
5.6.20.0030.00514.09
5.6.10.0000.01014.21
5.6.00.0080.00014.15

preferences:
43.99 ms | 401 KiB | 5 Q