3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo:Baz { class Bar { } } class Baz { } $bar= new Foo:Baz::Bar(); var_dump($bar, serialize($bar), unserialize(serialize($bar))); $baz= new Baz(); var_dump(serialize($baz), unserialize(serialize($baz)));

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.04719.08
5.4.320.0230.04319.10
5.4.310.0430.06019.00
5.4.300.0370.06319.09
5.4.290.0330.05719.16
5.4.280.0330.06719.08
5.4.270.0370.06719.19
5.4.260.0300.06719.06
5.4.250.0330.07018.86
5.4.240.0300.06019.13
5.4.230.0270.05319.19
5.4.220.0330.05319.16
5.4.210.0400.06719.25
5.4.200.0230.04318.84
5.4.190.0300.06719.23
5.4.180.0400.03318.84
5.4.170.0370.05019.21
5.4.160.0270.04019.06
5.4.150.0200.04019.14
5.4.140.0370.05716.39
5.4.130.0300.06716.38
5.4.120.0170.07316.51
5.4.110.0270.07016.50
5.4.100.0270.03716.35
5.4.90.0270.05016.56
5.4.80.0200.04016.39
5.4.70.0300.05316.44
5.4.60.0130.03716.33
5.4.50.0200.04016.49
5.4.40.0200.07316.43
5.4.30.0300.07016.24
5.4.20.0230.07316.43
5.4.10.0200.05016.32
5.4.00.0300.06715.98
5.3.290.0330.07014.60
5.3.280.0270.06714.45
5.3.270.0300.08014.55
5.3.260.0230.04014.44
5.3.250.0270.03314.48
5.3.240.0370.06314.49
5.3.230.0230.05314.45
5.3.220.0330.06714.50
5.3.210.0300.05714.59
5.3.200.0330.06314.44
5.3.190.0300.06014.47
5.3.180.0170.05014.50
5.3.170.0270.03014.39
5.3.160.0130.04314.51
5.3.150.0300.06714.40
5.3.140.0200.03314.52
5.3.130.0300.06714.39
5.3.120.0270.07014.51
5.3.110.0330.06714.39
5.3.100.0270.04714.04
5.3.90.0300.07013.97
5.3.80.0430.05313.96
5.3.70.0300.07313.89
5.3.60.0370.04314.02
5.3.50.0270.07313.92
5.3.40.0230.06713.95
5.3.30.0300.06713.86
5.3.20.0200.07713.59
5.3.10.0230.05013.60
5.3.00.0230.04713.43
5.2.170.0270.05312.08
5.2.160.0170.06312.08
5.2.150.0230.05712.08
5.2.140.0230.05312.08
5.2.130.0200.03312.08
5.2.120.0230.05712.08
5.2.110.0270.06012.08
5.2.100.0230.04312.08
5.2.90.0300.03312.08
5.2.80.0230.06712.08
5.2.70.0200.05312.08
5.2.60.0200.05312.08
5.2.50.0170.05012.08
5.2.40.0200.04312.08
5.2.30.0200.05712.08
5.2.20.0200.06012.08
5.2.10.0300.02312.08
5.2.00.0170.06012.08
5.1.60.0170.03712.08
5.1.50.0230.03712.08
5.1.40.0200.03312.08
5.1.30.0100.06012.08
5.1.20.0270.05312.08
5.1.10.0200.05312.08
5.1.00.0200.04312.08
5.0.50.0130.03312.08
5.0.40.0130.03712.08
5.0.30.0100.04312.08
5.0.20.0070.02712.08
5.0.10.0100.02012.08
5.0.00.0100.05312.08
4.4.90.0100.03312.08
4.4.80.0070.01712.08
4.4.70.0100.03712.08
4.4.60.0100.03712.08
4.4.50.0170.02312.08
4.4.40.0100.04312.08
4.4.30.0100.03712.08
4.4.20.0100.03712.08
4.4.10.0130.01312.08
4.4.00.0070.05712.08
4.3.110.0100.02012.08
4.3.100.0100.02012.08
4.3.90.0130.01312.08
4.3.80.0070.02312.08
4.3.70.0100.02312.08
4.3.60.0070.02712.08
4.3.50.0170.01312.08
4.3.40.0100.04712.08
4.3.30.0100.03312.08
4.3.20.0070.03312.08
4.3.10.0100.02312.08
4.3.00.0030.03312.08

preferences:
145.83 ms | 1398 KiB | 7 Q