3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { protected protected static function getFoo(){ return 'foo'; } } Foo::getFoo();

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)
5.4.270.0070.04214.55
5.4.260.0090.04414.53
5.4.250.0080.04714.65
5.4.240.0080.04114.56
5.4.230.0090.04314.54
5.4.220.0070.04914.59
5.4.210.0130.04214.54
5.4.200.0100.04314.57
5.4.190.0060.04614.57
5.4.180.0110.04114.58
5.4.170.0080.04714.55
5.4.160.0090.04614.55
5.4.150.0100.04214.51
5.4.140.0110.03813.58
5.4.130.0090.04113.50
5.4.120.0100.03713.51
5.4.110.0060.04313.53
5.4.100.0080.04313.55
5.4.90.0070.04213.53
5.4.80.0110.04213.50
5.4.70.0070.04113.53
5.4.60.0120.04213.48
5.4.50.0050.04113.53
5.4.40.0110.04413.52
5.4.30.0100.03813.42
5.4.20.0080.04113.53
5.4.10.0080.04813.50
5.4.00.0100.03813.00
5.3.280.0120.03713.39
5.3.270.0100.04413.44
5.3.260.0080.04413.41
5.3.250.0110.03713.44
5.3.240.0120.04013.44
5.3.230.0090.04213.36
5.3.220.0080.04313.33
5.3.210.0060.05113.38
5.3.200.0050.04613.40
5.3.190.0060.04913.39
5.3.180.0060.04913.36
5.3.170.0090.04013.40
5.3.160.0090.04613.39
5.3.150.0110.03713.40
5.3.140.0060.04213.29
5.3.130.0070.04513.27
5.3.120.0060.04413.28
5.3.110.0090.04113.30
5.3.100.0070.04212.77
5.3.90.0050.04712.74
5.3.80.0070.04112.78
5.3.70.0070.04012.72
5.3.60.0090.03812.79
5.3.50.0070.04012.66
5.3.40.0100.03912.75
5.3.30.0090.04712.69
5.3.20.0110.04012.37
5.3.10.0090.05112.39
5.3.00.0040.05612.32
5.2.170.0050.0349.87
5.2.160.0070.0319.90
5.2.150.0060.0359.89
5.2.140.0050.0419.91
5.2.130.0030.0349.85
5.2.120.0060.0389.85
5.2.110.0040.0389.80
5.2.100.0040.0369.86
5.2.90.0070.0349.85
5.2.80.0060.0429.85
5.2.70.0060.0339.85
5.2.60.0090.0299.81
5.2.50.0060.0339.77
5.2.40.0090.0309.77
5.2.30.0040.0399.67
5.2.20.0070.0379.64
5.2.10.0060.0339.65
5.2.00.0060.0369.43
5.1.60.0060.0298.77
5.1.50.0060.0298.76
5.1.40.0040.0318.74
5.1.30.0060.0369.08
5.1.20.0080.0379.10
5.1.10.0050.0308.80
5.1.00.0050.0308.76
5.0.50.0060.0247.30
5.0.40.0030.0247.13
5.0.30.0060.0326.92
5.0.20.0050.0246.98
5.0.10.0060.0256.89
5.0.00.0040.0336.84
4.4.90.0050.0165.75
4.4.80.0070.0185.73
4.4.70.0030.0205.74
4.4.60.0020.0195.74
4.4.50.0040.0205.75
4.4.40.0040.0325.70
4.4.30.0040.0185.74
4.4.20.0040.0225.80
4.4.10.0030.0205.80
4.4.00.0060.0255.73
4.3.110.0020.0185.68
4.3.100.0020.0175.68
4.3.90.0020.0205.65
4.3.80.0040.0285.62
4.3.70.0030.0175.65
4.3.60.0030.0175.65
4.3.50.0010.0205.65
4.3.40.0050.0265.59
4.3.30.0020.0184.75
4.3.20.0030.0164.74
4.3.10.0010.0204.71
4.3.00.0130.0206.73

preferences:
146.64 ms | 1394 KiB | 7 Q