3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function __callStatic() { echo "static call!\n"; } static function test() { echo "from inside Foo:\n"; self::bar(); } } Foo::bar(); Foo::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)
5.6.110.0170.07020.99
5.6.100.0100.04721.01
5.6.90.0070.08321.10
5.6.80.0100.05320.36
5.5.270.0030.04720.75
5.5.260.0070.08320.87
5.5.250.0130.07020.58
5.5.240.0000.03320.13
5.4.430.0130.06019.61
5.4.420.0130.06019.42
5.4.410.0130.05719.46
5.4.400.0370.05319.25
5.4.390.0170.05719.27
5.4.380.0230.05318.88
5.4.370.0500.05718.99
5.4.360.0070.07719.07
5.4.350.0100.05319.10
5.4.340.0570.05319.21
5.4.320.0170.05318.95
5.4.310.0100.06319.22
5.4.300.0100.05318.97
5.4.290.0530.05318.95
5.4.280.0700.04719.25
5.4.270.0670.04319.27
5.4.260.0070.06019.16
5.4.250.0200.05018.98
5.4.240.0230.04019.17
5.4.230.0530.05318.89
5.4.220.0370.05019.14
5.4.210.0100.05719.12
5.4.200.0130.04716.61
5.4.190.0130.05018.98
5.4.180.0300.04319.12
5.4.170.0170.06018.88
5.4.160.0400.06019.12
5.4.150.0330.05719.13
5.4.140.0100.05316.24
5.4.130.0500.04316.30
5.4.120.0400.04016.25
5.4.110.0570.04716.42
5.4.100.0400.04716.53
5.4.90.0200.04716.23
5.4.80.0100.05016.40
5.4.70.0400.06716.36
5.4.60.0300.05016.38
5.4.50.0300.05716.50
5.4.40.0500.05016.37
5.4.30.0130.05316.37
5.4.20.0170.05016.39
5.4.10.0200.04716.48
5.4.00.0170.04716.02
5.3.290.0100.06314.76
5.3.280.0030.06014.59
5.3.270.0030.06014.45
5.3.260.0570.05714.54
5.3.250.0600.05714.59
5.3.240.0170.05314.48
5.3.230.0100.05014.55
5.3.220.0230.05014.63
5.3.210.0100.05314.50
5.3.200.0400.04314.63
5.3.190.0070.05714.47
5.3.180.0100.05014.67
5.3.170.0170.05714.52
5.3.160.0170.04014.54
5.3.150.0630.04714.55
5.3.140.0130.05314.43
5.3.130.0100.06014.61
5.3.120.0170.05314.64
5.3.110.0070.06014.48
5.3.100.0130.05014.01
5.3.90.0270.04314.13
5.3.80.0370.05313.88
5.3.70.0570.04313.89
5.3.60.0330.05014.11
5.3.50.0130.05314.00
5.3.40.0130.05013.94
5.3.30.0030.05713.82
5.3.20.0130.04313.79
5.3.10.0130.04313.50
5.3.00.0370.04713.57
5.2.170.0070.04311.11
5.2.160.0130.04011.00
5.2.150.0170.03311.02
5.2.140.0000.05011.05
5.2.130.0100.03711.17
5.2.120.0070.04011.01
5.2.110.0100.04011.04
5.2.100.0070.04011.02
5.2.90.0070.04010.95
5.2.80.0070.04011.12
5.2.70.0500.03711.21
5.2.60.0330.04310.99
5.2.50.0430.04310.96
5.2.40.0300.04711.13
5.2.30.0030.04710.99
5.2.20.0130.03310.87
5.2.10.0130.04010.89
5.2.00.0070.04310.82
5.1.60.0130.0279.85
5.1.50.0100.0479.88
5.1.40.0170.0279.91
5.1.30.0030.04010.30
5.1.20.0070.03310.20
5.1.10.0130.03310.00
5.1.00.0330.03710.18
5.0.50.0200.0278.52
5.0.40.0170.0308.53
5.0.30.0070.0408.11
5.0.20.0030.0278.20
5.0.10.0000.0308.11
5.0.00.0200.0378.09
4.4.90.0200.0205.89
4.4.80.0130.0205.82
4.4.70.0170.0205.86
4.4.60.0130.0275.73
4.4.50.0200.0135.86
4.4.40.0170.0335.92
4.4.30.0100.0275.90
4.4.20.0130.0275.83
4.4.10.0130.0305.83
4.4.00.0100.0475.88
4.3.110.0170.0305.77
4.3.100.0070.0175.68
4.3.90.0000.0235.76
4.3.80.0030.0405.75
4.3.70.0000.0235.68
4.3.60.0100.0175.72
4.3.50.0200.0175.64
4.3.40.0070.0305.64
4.3.30.0000.0234.41
4.3.20.0070.0274.53
4.3.10.0170.0204.35
4.3.00.0030.0237.51

preferences:
149.65 ms | 1394 KiB | 7 Q