3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function define(\static $self) { } } Foo::define(new Foo);

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.320.0080.03812.52
5.4.310.0330.04718.78
5.4.300.0470.04718.59
5.4.290.0430.05318.77
5.4.280.0230.06018.73
5.4.270.0050.03912.41
5.4.260.0100.03512.41
5.4.250.0120.03912.34
5.4.240.0070.04012.41
5.4.230.0090.03912.40
5.4.220.0100.03612.40
5.4.210.0070.03612.40
5.4.200.0070.03812.40
5.4.190.0090.03412.40
5.4.180.0090.03512.39
5.4.170.0050.03812.41
5.4.160.0100.03312.40
5.4.150.0070.03712.40
5.4.140.0370.06716.36
5.4.130.0070.03612.07
5.4.120.0050.03812.03
5.4.110.0200.04016.17
5.4.100.0500.05716.17
5.4.90.0270.05716.46
5.4.80.0200.06016.34
5.4.70.0300.04716.33
5.4.60.0470.04316.19
5.4.50.0230.05016.14
5.4.40.0330.05716.11
5.4.30.0330.05016.29
5.4.20.0570.04716.16
5.4.10.0090.03412.00
5.4.00.0050.04211.51
5.3.290.0060.04212.80
5.3.280.0070.04012.71
5.3.270.0060.04612.73
5.3.260.0060.04212.71
5.3.250.0270.05314.73
5.3.240.0370.05014.59
5.3.230.0300.05014.70
5.3.220.0270.06314.70
5.3.210.0230.04314.57
5.3.200.0070.04112.68
5.3.190.0080.03812.68
5.3.180.0080.03612.67
5.3.170.0470.05014.56
5.3.160.0370.05014.74
5.3.150.0400.05014.79
5.3.140.0370.05314.74
5.3.130.0330.05314.68
5.3.120.0300.05714.71
5.3.110.1000.05014.73
5.3.100.0030.04112.13
5.3.90.0060.03812.10
5.3.80.0080.03612.09
5.3.70.0090.03512.09
5.3.60.0070.03612.08
5.3.50.0060.03912.02
5.3.40.0090.03512.03
5.3.30.0070.03611.98
5.3.20.0060.03711.76
5.3.10.0040.03811.73
5.3.00.0370.05313.71
5.2.170.0270.04711.20
5.2.160.0270.04311.25
5.2.150.0330.03711.27
5.2.140.0300.04711.24
5.2.130.0070.0279.18
5.2.120.0080.0279.18
5.2.110.0080.0289.18
5.2.100.0080.0279.18
5.2.90.0070.0289.18
5.2.80.0040.0329.17
5.2.70.0200.04711.22
5.2.60.0060.0319.13
5.2.50.0060.0319.10
5.2.40.0200.04311.07
5.2.30.0400.06010.96
5.2.20.0060.0299.04
5.2.10.0300.04010.96
5.2.00.0060.0288.80
5.1.60.0030.0258.09
5.1.50.0700.03710.06
5.1.40.0100.0208.07
5.1.30.0050.0268.41
5.1.20.0090.0238.44
5.1.10.0200.03710.25
5.1.00.0170.03710.09
5.0.50.0230.0279.67
5.0.40.0060.0186.50
5.0.30.0040.0326.31
5.0.20.0130.0279.67
5.0.10.0130.0339.67
5.0.00.0200.0509.67
4.4.90.0170.0339.67
4.4.80.0170.0209.67
4.4.70.0100.0279.67
4.4.60.0100.0239.67
4.4.50.0130.0209.67
4.4.40.0020.0264.71
4.4.30.0020.0174.75
4.4.20.0030.0164.84
4.4.10.0010.0174.85
4.4.00.0050.0234.75
4.3.110.0100.0239.67
4.3.100.0070.0239.67
4.3.90.0070.0239.67
4.3.80.0100.0339.67
4.3.70.0170.0239.67
4.3.60.0010.0174.63
4.3.50.0020.0174.63
4.3.40.0050.0224.54
4.3.30.0030.0163.30
4.3.20.0100.0209.67
4.3.10.0020.0163.23
4.3.00.0000.02018.23

preferences:
146.22 ms | 1398 KiB | 7 Q