3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function who() { echo __CLASS__; } public static function test() { static::who(); // Here comes Late Static Bindings } } 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.70.0100.01016.58
8.3.60.0150.00318.18
8.3.50.0070.01221.08
8.3.40.0090.00918.66
8.3.30.0030.01020.20
8.3.20.0050.00320.16
8.3.10.0080.00021.00
8.3.00.0030.00522.41
8.2.180.0140.00716.63
8.2.170.0070.00722.96
8.2.160.0160.00322.12
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0120.00626.16
8.2.120.0040.00420.65
8.2.110.0040.00419.39
8.2.100.0060.00617.78
8.2.90.0000.00919.04
8.2.80.0030.00617.97
8.2.70.0060.00317.38
8.2.60.0080.00017.91
8.2.50.0000.00718.07
8.2.40.0040.00418.03
8.2.30.0050.00319.42
8.2.20.0040.00417.46
8.2.10.0040.00417.66
8.2.00.0050.00317.54
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0130.00922.46
8.1.230.0000.01021.03
8.1.220.0040.00418.77
8.1.210.0030.00519.11
8.1.200.0030.00617.00
8.1.190.0050.00317.18
8.1.180.0060.00318.10
8.1.170.0050.00318.52
8.1.160.0040.00418.67
8.1.150.0000.00718.37
8.1.140.0030.00617.19
8.1.130.0070.00017.67
8.1.120.0000.00817.39
8.1.110.0000.00717.35
8.1.100.0040.00417.23
8.1.90.0050.00217.24
8.1.80.0040.00417.30
8.1.70.0040.00417.22
8.1.60.0030.00617.39
8.1.50.0060.00317.44
8.1.40.0050.00217.40
8.1.30.0000.00817.59
8.1.20.0030.00517.59
8.1.10.0030.00617.39
8.1.00.0090.00017.39
8.0.300.0030.00320.02
8.0.290.0040.00417.05
8.0.280.0000.00918.45
8.0.270.0070.00017.29
8.0.260.0030.00316.68
8.0.250.0000.00616.86
8.0.240.0060.00616.88
8.0.230.0090.00016.75
8.0.220.0000.00716.84
8.0.210.0080.00016.82
8.0.200.0030.00316.86
8.0.190.0000.00716.82
8.0.180.0050.00316.73
8.0.170.0040.00416.74
8.0.160.0000.00716.68
8.0.150.0000.00716.89
8.0.140.0040.00716.79
8.0.130.0030.00313.31
8.0.120.0000.00816.80
8.0.110.0000.00716.78
8.0.100.0040.00316.86
8.0.90.0040.00416.71
8.0.80.0040.01216.73
8.0.70.0030.00416.61
8.0.60.0000.00716.59
8.0.50.0000.00716.82
8.0.30.0090.00917.09
8.0.20.0060.01217.40
8.0.10.0040.00416.75
8.0.00.0060.01316.74
7.4.330.0000.00516.74
7.4.320.0000.00616.43
7.4.300.0000.00716.65
7.4.290.0030.00316.44
7.4.280.0050.00216.43
7.4.270.0040.00416.58
7.4.260.0030.00313.28
7.4.250.0030.00316.45
7.4.240.0020.00516.54
7.4.230.0030.00316.53
7.4.220.0070.01016.36
7.4.210.0070.01216.54
7.4.200.0070.00016.59
7.4.190.0030.00316.31
7.4.160.0060.00916.51
7.4.150.0130.00317.40
7.4.140.0100.00617.86
7.4.130.0070.01216.38
7.4.120.0030.01316.41
7.4.110.0110.00716.36
7.4.100.0110.01116.41
7.4.90.0130.00516.51
7.4.80.0060.01417.90
7.4.70.0100.00816.39
7.4.60.0100.00716.53
7.4.50.0130.00416.43
7.4.40.0100.00616.38
7.4.30.0110.00516.40
7.4.20.0090.00816.31
7.4.10.0080.00916.45
7.4.00.0100.00715.79
7.3.330.0050.00013.09
7.3.320.0030.00313.00
7.3.310.0000.00716.22
7.3.300.0040.00416.07
7.3.290.0060.00716.23
7.3.280.0040.01216.24
7.3.270.0090.00917.40
7.3.260.0100.00718.24
7.3.250.0040.01316.38
7.3.240.0130.00316.18
7.3.230.0070.01016.41
7.3.220.0170.00716.44
7.3.210.0090.00716.50
7.3.200.0100.01017.82
7.3.190.0060.01116.34
7.3.180.0080.01016.31
7.3.170.0060.01016.22
7.3.160.0080.00816.30
7.3.150.0080.00916.36
7.3.140.0040.01216.25
7.3.130.0070.01016.24
7.3.120.0080.00915.66
7.3.110.0080.00815.87
7.3.100.0070.00915.81
7.3.90.0070.00715.93
7.3.80.0060.00915.88
7.3.70.0080.00615.77
7.3.60.0070.00715.86
7.3.50.0060.01015.79
7.3.40.0070.00815.89
7.3.30.0070.00715.49
7.3.20.0180.00916.00
7.3.10.0210.00415.95
7.3.00.0160.01015.96
7.2.330.0080.00916.48
7.2.320.0050.01316.38
7.2.310.0090.01116.54
7.2.300.0080.00816.40
7.2.290.0120.00516.48
7.2.280.0060.01016.40
7.2.270.0120.00616.31
7.2.260.0060.01116.38
7.2.250.0100.00716.10
7.2.240.0080.00916.02
7.2.230.0100.00715.95
7.2.220.0090.00716.20
7.2.210.0090.00715.98
7.2.200.0090.00715.99
7.2.190.0110.00616.04
7.2.180.0110.00516.06
7.2.170.0060.01016.02
7.2.160.0090.00915.83
7.2.150.0200.00716.23
7.2.140.0160.00716.24
7.2.130.0220.00716.20
7.2.120.0190.00816.21
7.2.110.0270.00915.90
7.2.100.0270.00915.89
7.2.90.0260.00615.83
7.2.80.0310.01015.91
7.2.70.0310.00615.86
7.2.60.0310.01115.92
7.2.50.0260.01015.95
7.2.40.0270.00815.95
7.2.30.0270.00716.11
7.2.20.0270.01015.95
7.2.10.0260.01015.89
7.2.00.0300.00716.49
7.1.330.0140.00715.43
7.1.320.0160.00915.44
7.1.310.0100.01115.42
7.1.300.0150.00615.32
7.1.290.0190.00815.40
7.1.280.0140.00915.37
7.1.270.0200.00915.10
7.1.260.0240.00615.03
7.1.250.0230.00815.08
7.1.240.0210.00814.98
7.1.230.0310.00714.74
7.1.220.0330.00914.77
7.1.210.0370.01014.72
7.1.200.0260.00614.83
7.1.190.0300.00714.83
7.1.180.0330.00914.60
7.1.170.0330.00914.71
7.1.160.0300.00714.75
7.1.150.0310.00714.67
7.1.140.0320.00714.76
7.1.130.0380.01014.75
7.1.120.0290.01014.75
7.1.110.0300.00714.89
7.1.100.0260.00815.30
7.1.90.0360.00514.78
7.1.80.0350.00714.70
7.1.70.0290.00715.09
7.1.60.0290.00917.74
7.1.50.0330.00817.60
7.1.40.0340.00717.64
7.1.30.0320.00717.61
7.1.20.0330.00717.63
7.1.10.0290.00915.05
7.1.00.0280.00715.05
7.0.330.0280.00814.66
7.0.320.0560.00914.61
7.0.310.0520.00814.39
7.0.300.0370.00914.43
7.0.290.0340.00714.35
7.0.280.0320.00914.41
7.0.270.0460.00714.42
7.0.260.0420.00814.40
7.0.250.0370.00814.53
7.0.240.0360.00714.39
7.0.230.0460.00814.45
7.0.220.0490.01014.37
7.0.210.0390.00614.55
7.0.200.0280.00914.84
7.0.190.0330.00914.83
7.0.180.0300.01014.67
7.0.170.0390.00714.77
7.0.160.0330.00814.70
7.0.150.0310.00714.76
7.0.140.0310.00914.81
7.0.130.0340.01014.86
7.0.120.0390.00814.80
7.0.110.0370.00714.78
7.0.100.0250.01314.80
7.0.90.0320.00814.69
7.0.80.0290.01014.86
7.0.70.0310.00714.73
7.0.60.0320.00714.74
7.0.50.0280.01114.73
7.0.40.0420.00714.57
7.0.30.0440.00714.47
7.0.20.0330.00714.60
7.0.10.0360.00814.51
7.0.00.0340.00714.57
5.6.400.0150.00915.29
5.6.390.0140.00815.38
5.6.380.0130.00815.11
5.6.370.0130.01115.17
5.6.360.0150.01115.15
5.6.350.0170.00715.16
5.6.340.0120.01215.25
5.6.330.0200.01114.94
5.6.320.0220.00415.14
5.6.310.0160.00815.23
5.6.300.0160.01316.13
5.6.290.0140.01616.06
5.6.280.0130.01616.12
5.6.270.0120.01416.09
5.6.260.0130.01216.21
5.6.250.0170.01816.08
5.6.240.0160.01016.12
5.6.230.0120.01816.10
5.6.220.0130.01916.10
5.6.210.0190.01216.13
5.6.200.0160.01416.11
5.6.190.0150.01316.05
5.6.180.0120.01416.13
5.6.170.0110.01516.07
5.6.160.0100.02016.05
5.6.150.0140.01416.13
5.6.140.0130.01616.07
5.6.130.0090.01616.10
5.6.120.0130.01316.07
5.6.110.0110.01416.09
5.6.100.0120.01516.05
5.6.90.0120.01516.18
5.6.80.0110.01515.98
5.6.70.0110.01515.98
5.6.60.0130.01415.93
5.6.50.0130.01315.93
5.6.40.0120.01515.93
5.6.30.0110.01415.90
5.6.20.0160.01515.92
5.6.10.0160.01215.99
5.6.00.0110.01415.92
5.5.380.0120.01914.89
5.5.370.0150.01014.96
5.5.360.0140.01814.89
5.5.350.0120.01914.91
5.5.340.0180.01515.00
5.5.330.0090.01615.04
5.5.320.0150.01215.07
5.5.310.0140.01415.05
5.5.300.0140.01415.15
5.5.290.0130.01315.04
5.5.280.0130.01715.10
5.5.270.0140.01314.99
5.5.260.0140.01415.13
5.5.250.0130.01614.89
5.5.240.0130.01314.91
5.5.230.0100.01514.83
5.5.220.0130.01314.96
5.5.210.0120.01614.86
5.5.200.0130.01214.93
5.5.190.0100.01514.87
5.5.180.0130.01414.97
5.5.170.0170.00915.02
5.5.160.0140.01114.91
5.5.150.0130.01214.88
5.5.140.0110.01614.94
5.5.130.0110.01514.89
5.5.120.0110.01614.86
5.5.110.0120.02014.79
5.5.100.0150.01114.86
5.5.90.0140.02014.84
5.5.80.0130.01314.94
5.5.70.0150.01414.91
5.5.60.0130.01514.92
5.5.50.0090.01714.76
5.5.40.0130.01514.92
5.5.30.0100.01514.71
5.5.20.0150.01214.83
5.5.10.0130.01314.88
5.5.00.0140.01314.75
5.4.450.0100.01413.23
5.4.440.0120.01413.19
5.4.430.0100.01313.06
5.4.420.0100.01313.24
5.4.410.0150.01013.20
5.4.400.0100.01313.01
5.4.390.0100.01413.01
5.4.380.0110.01213.07
5.4.370.0130.01013.07
5.4.360.0120.01213.06
5.4.350.0110.01513.11
5.4.340.0110.01113.08
5.4.330.0130.00711.78
5.4.320.0120.01213.09
5.4.310.0090.01213.04
5.4.300.0130.00913.02
5.4.290.0110.01113.05
5.4.280.0120.01313.08
5.4.270.0130.01213.04
5.4.260.0140.01612.97
5.4.250.0140.01113.05
5.4.240.0140.01912.95
5.4.230.0150.01113.08
5.4.220.0140.01212.96
5.4.210.0110.01313.05
5.4.200.0130.01113.10
5.4.190.0110.01312.99
5.4.180.0120.01413.15
5.4.170.0120.01313.10
5.4.160.0140.01013.06
5.4.150.0120.01313.00
5.4.140.0130.01012.67
5.4.130.0150.01112.58
5.4.120.0090.01412.77
5.4.110.0130.01312.65
5.4.100.0120.01112.75
5.4.90.0120.01412.71
5.4.80.0140.01012.67
5.4.70.0140.01012.71
5.4.60.0110.01412.75
5.4.50.0110.01212.64
5.4.40.0110.01412.65
5.4.30.0140.01112.71
5.4.20.0100.01312.54
5.4.10.0100.01412.71
5.4.00.0120.01112.55
5.3.290.0120.01212.60
5.3.280.0110.01212.44
5.3.270.0110.01412.56
5.3.260.0140.01112.51
5.3.250.0080.01512.51
5.3.240.0140.01012.45
5.3.230.0130.01312.51
5.3.220.0130.01112.36
5.3.210.0130.01312.42
5.3.200.0110.01312.39
5.3.190.0090.01612.49
5.3.180.0120.01212.56
5.3.170.0120.01912.58
5.3.160.0120.01312.63
5.3.150.0110.01412.64
5.3.140.0120.01212.55
5.3.130.0110.01612.50
5.3.120.0110.01112.54
5.3.110.0140.01212.53
5.3.100.0110.01312.40
5.3.90.0120.01512.43
5.3.80.0110.01312.37
5.3.70.0110.01312.36
5.3.60.0110.01312.53
5.3.50.0090.01612.34
5.3.40.0100.01612.38
5.3.30.0070.01612.45
5.3.20.0110.01212.34
5.3.10.0100.01412.22
5.3.00.0100.01512.19

preferences:
38.28 ms | 401 KiB | 5 Q