3v4l.org

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

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.340.0230.07318.98
5.4.320.0330.06719.16
5.4.310.0300.06019.15
5.4.300.0270.05319.13
5.4.290.0470.05319.13
5.4.280.0300.06318.98
5.4.270.0230.06719.16
5.4.260.0130.04719.21
5.4.250.0300.06319.08
5.4.240.0200.06019.21
5.4.230.0230.06018.94
5.4.220.0130.04319.22
5.4.210.0230.07019.09
5.4.200.0170.04019.05
5.4.190.0300.06319.08
5.4.180.0230.06019.21
5.4.170.0330.06319.09
5.4.160.0230.04719.14
5.4.150.0170.08018.96
5.4.140.0170.06716.40
5.4.130.0230.06016.72
5.4.120.0200.07316.40
5.4.110.0230.04016.42
5.4.100.0200.04316.23
5.4.90.0230.04316.43
5.4.80.0230.05316.46
5.4.70.0230.06316.48
5.4.60.0170.06316.25
5.4.50.0230.06716.42
5.4.40.0200.04316.37
5.4.30.0130.04716.42
5.4.20.0200.06316.32
5.4.10.0270.03316.52
5.4.00.0270.06015.96
5.3.290.0270.07314.64
5.3.280.0330.07014.75
5.3.270.0300.04714.52
5.3.260.0170.08014.79
5.3.250.0270.04314.77
5.3.240.0300.03714.52
5.3.230.0300.04014.67
5.3.220.0270.06014.59
5.3.210.0230.05014.55
5.3.200.0430.02314.54
5.3.190.0230.07314.50
5.3.180.0170.06714.59
5.3.170.0130.04714.60
5.3.160.0270.04714.49
5.3.150.0230.07014.48
5.3.140.0270.04314.72
5.3.130.0200.06314.47
5.3.120.0230.04014.46
5.3.110.0230.07314.77
5.3.100.0200.04314.17
5.3.90.0230.06714.18
5.3.80.0200.05313.92
5.3.70.0300.03714.02
5.3.60.0270.06014.09
5.3.50.0300.05014.07
5.3.40.0230.07013.95
5.3.30.0330.06314.02
5.3.20.0200.06013.60
5.3.10.0200.07013.64
5.3.00.0330.06013.57
5.2.170.0230.04012.59
5.2.160.0130.04312.59
5.2.150.0170.06012.59
5.2.140.0270.04712.59
5.2.130.0230.04012.59
5.2.120.0230.03712.59
5.2.110.0230.04312.59
5.2.100.0270.03712.59
5.2.90.0230.05712.59
5.2.80.0130.04312.59
5.2.70.0170.06312.59
5.2.60.0230.05012.59
5.2.50.0200.06012.59
5.2.40.0230.05012.59
5.2.30.0170.05712.59
5.2.20.0100.05312.59
5.2.10.0130.04712.59
5.2.00.0130.06012.59
5.1.60.0170.05012.59
5.1.50.0200.04712.59
5.1.40.0200.04712.59
5.1.30.0200.04312.59
5.1.20.0130.06012.59
5.1.10.0200.04312.59
5.1.00.0130.03712.59
5.0.50.0100.04712.59
5.0.40.0070.04012.59
5.0.30.0100.05012.59
5.0.20.0070.03712.59
5.0.10.0070.04012.59
5.0.00.0100.05712.59
4.4.90.0070.04012.59
4.4.80.0100.02312.59
4.4.70.0070.03712.59
4.4.60.0130.02012.59
4.4.50.0100.03312.59
4.4.40.0130.03712.59
4.4.30.0070.02012.59
4.4.20.0070.03012.59
4.4.10.0100.03312.59
4.4.00.0070.04712.59
4.3.110.0030.03012.59
4.3.100.0030.03712.59
4.3.90.0070.03312.59
4.3.80.0070.05312.59
4.3.70.0070.03312.59
4.3.60.0100.01712.59
4.3.50.0030.04012.59
4.3.40.0100.04312.59
4.3.30.0000.02712.59
4.3.20.0070.02312.59
4.3.10.0070.02312.59
4.3.00.0030.03712.59

preferences:
139.43 ms | 1394 KiB | 7 Q