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::who(); ?>

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.0170.00318.43
8.3.50.0130.01021.21
8.3.40.0110.00418.70
8.3.30.0070.00720.34
8.3.20.0040.00420.29
8.3.10.0070.00021.05
8.3.00.0050.00222.43
8.2.180.0180.00418.19
8.2.170.0110.00822.96
8.2.160.0070.00722.06
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0060.00926.16
8.2.120.0090.00920.62
8.2.110.0060.00320.35
8.2.100.0040.00717.78
8.2.90.0060.00319.27
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0060.00617.91
8.2.50.0030.00618.07
8.2.40.0040.00418.09
8.2.30.0070.00019.48
8.2.20.0080.00017.50
8.2.10.0040.00417.49
8.2.00.0050.00517.47
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00722.19
8.1.230.0080.00417.42
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.13
8.1.190.0050.00217.50
8.1.180.0030.00618.10
8.1.170.0040.00418.50
8.1.160.0040.00418.66
8.1.150.0000.00918.51
8.1.140.0000.00717.32
8.1.130.0000.00817.84
8.1.120.0000.00717.35
8.1.110.0000.00717.35
8.1.100.0000.00817.27
8.1.90.0070.00017.21
8.1.80.0070.00017.20
8.1.70.0070.00017.31
8.1.60.0030.00617.54
8.1.50.0070.00017.31
8.1.40.0030.00517.49
8.1.30.0050.00317.49
8.1.20.0040.00417.62
8.1.10.0020.00517.38
8.1.00.0040.00417.51
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.45
8.0.270.0000.00717.14
8.0.260.0060.00016.82
8.0.250.0100.00016.85
8.0.240.0040.00416.94
8.0.230.0040.00416.79
8.0.220.0030.00316.83
8.0.210.0000.00716.87
8.0.200.0000.00616.87
8.0.190.0070.00016.93
8.0.180.0030.00616.85
8.0.170.0050.00316.82
8.0.160.0030.00516.68
8.0.150.0070.00016.66
8.0.140.0080.00016.61
8.0.130.0050.00013.14
8.0.120.0050.00316.64
8.0.110.0040.00416.60
8.0.100.0050.00316.80
8.0.90.0000.00716.78
8.0.80.0060.00916.82
8.0.70.0040.00416.58
8.0.60.0040.00416.80
8.0.50.0070.00016.63
8.0.30.0110.01117.14
8.0.20.0110.00817.40
8.0.10.0000.00716.92
8.0.00.0090.01116.81
7.4.330.0050.00016.72
7.4.320.0020.00516.47
7.4.300.0030.00316.44
7.4.290.0070.00016.45
7.4.280.0000.00716.53
7.4.270.0030.00316.42
7.4.260.0000.00513.24
7.4.250.0000.00716.41
7.4.240.0040.00416.45
7.4.230.0070.00016.53
7.4.220.0100.00716.47
7.4.210.0050.00916.59
7.4.200.0030.00316.53
7.4.190.0000.00616.40
7.4.160.0140.00416.39
7.4.150.0140.00617.40
7.4.140.0100.01017.86
7.4.130.0130.00616.39
7.4.120.0040.01316.26
7.4.110.0160.00816.50
7.4.100.0060.01016.49
7.4.90.0070.01016.62
7.4.80.0160.01019.39
7.4.70.0070.01116.43
7.4.60.0030.01416.56
7.4.50.0030.00516.28
7.4.40.0030.01022.77
7.4.30.0080.00916.40
7.4.00.0060.01014.99
7.3.330.0050.00013.23
7.3.320.0030.00313.16
7.3.310.0070.00016.16
7.3.300.0000.00716.08
7.3.290.0100.01016.29
7.3.280.0090.00916.21
7.3.270.0100.00717.40
7.3.260.0100.00618.24
7.3.250.0120.00516.31
7.3.240.0100.00616.30
7.3.230.0150.00816.39
7.3.210.0030.01316.42
7.3.200.0030.01419.39
7.3.190.0060.01016.31
7.3.180.0150.00716.54
7.3.170.0120.00416.29
7.3.160.0150.00616.48
7.3.120.0030.01314.79
7.3.00.0100.00616.37
7.2.330.0130.00316.66
7.2.320.0060.01016.78
7.2.310.0100.00716.57
7.2.300.0100.00616.34
7.2.290.0080.00816.65
7.2.130.0060.00816.76
7.2.120.0090.00616.55
7.2.110.0050.01116.82
7.2.100.0060.00616.62
7.2.90.0090.00816.68
7.2.80.0100.00716.85
7.2.70.0050.01016.85
7.2.60.0060.00916.79
7.2.50.0090.01016.81
7.2.40.0060.01316.80
7.2.30.0060.00816.63
7.2.20.0100.00316.69
7.2.10.0110.00516.92
7.2.00.0090.00417.38
7.1.250.0090.00415.50
7.1.240.0070.00615.40
7.1.230.0070.00715.71
7.1.220.0030.01215.49
7.1.210.0070.01015.56
7.1.200.0070.00815.48
7.1.190.0090.00515.56
7.1.180.0060.01015.40
7.1.170.0030.01015.67
7.1.160.0050.00715.67
7.1.150.0050.00815.62
7.1.140.0030.00815.77
7.1.130.0050.00715.52
7.1.120.0050.00715.50
7.1.110.0070.00715.57
7.1.100.0060.00716.46
7.1.90.0060.00415.74
7.1.80.0120.00515.61
7.1.70.0040.00616.01
7.1.60.0140.00516.79
7.1.50.0100.01016.03
7.1.40.0090.00915.46
7.1.30.0030.00815.52
7.1.20.0100.00515.38
7.1.10.0080.00815.56
7.1.00.0070.01617.71
7.0.330.0100.00315.03
7.0.320.0090.00314.99
7.0.310.0060.00615.11
7.0.300.0050.00715.18
7.0.290.0070.01015.16
7.0.280.0040.00715.25
7.0.270.0060.00815.43
7.0.260.0090.00715.09
7.0.250.0040.00915.18
7.0.240.0070.00515.38
7.0.230.0070.00615.30
7.0.220.0120.00415.26
7.0.210.0090.00715.25
7.0.200.0070.00615.67
7.0.190.0070.00415.05
7.0.180.0070.00715.03
7.0.170.0070.00615.41
7.0.160.0100.00515.14
7.0.150.0090.00415.22
7.0.140.0050.03317.44
7.0.130.0040.00915.17
7.0.120.0110.00415.29
7.0.110.0050.00815.07
7.0.100.0030.01015.12
7.0.90.0050.00915.35
7.0.80.0060.00715.28
7.0.70.0030.01015.27
7.0.60.0100.03116.86
7.0.50.0080.01916.00
7.0.40.0050.02915.51
7.0.30.0210.02515.44
7.0.20.0200.02515.53
7.0.10.0080.02115.61
7.0.00.0040.02115.65
5.6.380.0060.00614.23
5.6.370.0060.00614.42
5.6.360.0030.01214.07
5.6.350.0050.00714.22
5.6.340.0040.00614.28
5.6.330.0030.01014.21
5.6.320.0030.01214.29
5.6.310.0040.00714.11
5.6.300.0070.00814.32
5.6.290.0070.00614.30
5.6.280.0070.02716.60
5.6.270.0030.00814.18
5.6.260.0080.00714.16
5.6.250.0080.00514.09
5.6.240.0040.01114.25
5.6.230.0050.01014.15
5.6.220.0020.00914.04
5.6.210.0080.01716.21
5.6.200.0080.02915.53
5.6.190.0090.02116.19
5.6.180.0160.02016.14
5.6.170.0140.01616.24
5.6.160.0140.01216.17
5.6.150.0050.02515.47
5.6.140.0070.01615.56
5.6.130.0060.01915.46
5.6.120.0090.03116.33
5.6.110.0090.03216.37
5.6.100.0040.03116.34
5.6.90.0040.02016.29
5.6.80.0070.02516.10
5.6.70.1600.02016.14
5.6.60.0060.00714.06
5.6.50.0070.00714.08
5.6.40.0010.01114.18
5.6.30.0050.00714.11
5.6.20.0060.00614.36
5.6.10.0040.00814.24
5.6.00.0070.00514.11
5.5.380.0040.00410.95
5.5.370.0060.00310.99
5.5.360.0030.00610.97
5.5.350.0030.02014.04
5.5.340.0020.03213.25
5.5.330.0060.01814.14
5.5.320.1150.01714.16
5.5.310.0150.01814.13
5.5.300.0000.01913.19
5.5.290.0090.02713.21
5.5.280.0060.01514.22
5.5.270.0030.02114.17
5.5.260.0120.02914.24
5.5.250.0050.02914.10
5.5.240.0070.02914.02
5.5.230.0040.00810.79
5.5.220.0040.00610.75
5.5.210.0040.00510.78
5.5.200.0050.00210.90
5.5.190.0060.00410.68
5.5.180.0030.00910.91
5.5.170.0050.00310.70
5.5.160.0050.00510.92
5.5.150.0050.00410.93
5.5.140.0030.00510.92
5.5.130.0020.00810.86
5.5.120.0060.00511.00
5.5.110.0040.00610.95
5.5.100.0040.00510.78
5.5.90.0040.00510.71
5.5.80.0050.00410.95
5.5.70.0060.00610.85
5.5.60.0070.00610.93
5.5.50.0050.00910.84
5.5.40.0070.00310.98
5.5.30.0140.00510.96
5.5.20.0080.00210.75
5.5.10.0050.00510.86
5.5.00.0080.00610.90
5.4.450.0120.03013.72
5.4.440.0140.02613.72
5.4.430.0110.02913.76
5.4.420.0140.01613.77
5.4.410.0110.03013.69
5.4.400.0100.01813.59
5.4.390.0080.02913.60
5.4.380.0140.02613.54
5.4.370.0130.01813.62
5.4.360.0120.01413.62
5.4.350.0140.02413.70
5.4.340.0120.01713.54
5.4.330.0040.00710.88
5.4.320.0100.01913.51
5.4.310.0070.01913.48
5.4.300.0140.02213.52
5.4.290.0110.02713.71
5.4.280.0140.01913.47
5.4.270.0130.02413.41
5.4.260.0100.02013.57
5.4.250.0110.03013.52
5.4.240.0120.02013.78
5.4.230.0150.02613.66
5.4.220.0120.01613.58
5.4.210.0130.01613.78
5.4.200.0120.01313.63
5.4.190.0130.01513.62
5.4.180.0140.01213.67
5.4.170.0130.02613.65
5.4.160.0140.02513.62
5.4.150.0170.01613.61
5.4.140.0090.02812.75
5.4.130.0110.02612.67
5.4.120.0130.01712.62
5.4.110.0090.02712.72
5.4.100.0100.01912.82
5.4.90.0070.01712.74
5.4.80.0170.02112.71
5.4.70.0070.01912.71
5.4.60.0120.01512.59
5.4.50.0110.02812.57
5.4.40.0140.01412.57
5.4.30.0120.02712.52
5.4.20.0100.01912.58
5.4.10.0110.01712.64
5.4.00.0150.02312.43
5.3.290.0120.02312.11
5.3.280.0080.02212.02
5.3.270.0100.02612.03
5.3.260.0100.02412.01
5.3.250.0130.02712.05
5.3.240.0100.02911.99
5.3.230.0080.02911.99
5.3.220.0140.01511.99
5.3.210.0120.02611.98
5.3.200.0170.01211.94
5.3.190.0130.01811.99
5.3.180.0120.03011.92
5.3.170.0110.02812.03
5.3.160.0130.01912.04
5.3.150.0100.02211.97
5.3.140.0120.02111.90
5.3.130.0150.02712.03
5.3.120.0160.02711.97
5.3.110.0140.01811.98
5.3.100.0140.02611.78
5.3.90.0090.02811.80
5.3.80.0110.03011.75
5.3.70.0140.02911.75
5.3.60.0120.02611.68
5.3.50.0120.02611.73
5.3.40.0130.02311.73
5.3.30.0130.02711.74
5.3.20.0150.01811.63
5.3.10.0110.01911.47
5.3.00.0130.01211.63
5.2.170.0070.01610.67
5.2.160.0120.00910.63
5.2.150.0120.01010.63
5.2.140.0110.02310.64
5.2.130.0080.01310.68
5.2.120.0090.01110.63
5.2.110.0140.01010.69
5.2.100.0120.01110.68
5.2.90.0120.01210.62
5.2.80.0090.01310.67
5.2.70.0130.02110.68
5.2.60.0070.01410.71
5.2.50.0080.01410.60
5.2.40.0110.02410.61
5.2.30.0100.01810.58
5.2.20.0050.01910.57
5.2.10.0080.01210.56
5.2.00.0050.01210.52
5.1.60.0090.01010.31
5.1.50.0100.01110.24
5.1.40.0040.01610.26
5.1.30.0060.01310.39
5.1.20.0050.01910.39
5.1.10.0050.01310.36
5.1.00.0060.01110.29
5.0.50.0060.0089.78
5.0.40.0000.0129.77
5.0.30.0030.0159.74
5.0.20.0030.0149.73
5.0.10.0060.0089.68
5.0.00.0040.0129.67
4.4.90.0030.0089.59
4.4.80.0060.0049.59
4.4.70.0030.0089.59
4.4.60.0010.0109.59
4.4.50.0030.0099.59
4.4.40.0040.0119.59
4.4.30.0040.0139.59
4.4.20.0030.0099.59
4.4.10.0020.0089.59
4.4.00.0010.0149.59
4.3.110.0050.0069.59
4.3.100.0020.0149.59
4.3.90.0030.0109.59
4.3.80.0030.0109.59
4.3.70.0050.0089.59
4.3.60.0040.0079.59
4.3.50.0010.0109.59
4.3.40.0030.0139.59
4.3.30.0020.0089.59
4.3.20.0010.0089.59
4.3.10.0010.0079.59
4.3.00.0030.0089.59

preferences:
34.74 ms | 401 KiB | 5 Q