3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 5; $bar = 10; $bar = &$foo var_dump($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.310.0130.03719.24
5.4.300.0200.03318.86
5.4.290.0130.04018.85
5.4.280.0170.03319.20
5.4.270.0130.04319.03
5.4.260.0130.03718.99
5.4.250.0100.04318.84
5.4.240.0130.03719.22
5.4.230.0130.03719.23
5.4.220.0170.03718.85
5.4.210.0130.03718.94
5.4.200.0130.03719.21
5.4.190.0230.03319.07
5.4.180.0130.03719.09
5.4.170.0170.03319.07
5.4.160.0170.03719.13
5.4.150.0130.03719.06
5.4.140.0130.04316.55
5.4.130.0130.04016.51
5.4.120.0130.03316.28
5.4.110.0070.04316.27
5.4.100.0230.02716.45
5.4.90.0170.03316.55
5.4.80.0230.04316.44
5.4.70.0230.04716.57
5.4.60.0130.06716.43
5.4.50.0230.07316.42
5.4.40.0200.06716.48
5.4.30.0270.06016.42
5.4.20.0170.04716.21
5.4.10.0200.04716.33
5.4.00.0300.03715.84
5.3.290.0100.04314.76
5.3.280.0100.05714.64
5.3.270.0100.04014.45
5.3.260.0170.03714.48
5.3.250.0170.03314.65
5.3.240.0170.03314.46
5.3.230.0130.04014.47
5.3.220.0200.03314.41
5.3.210.0230.04314.52
5.3.200.0100.04014.52
5.3.190.0230.03314.61
5.3.180.0070.04014.39
5.3.170.0170.07714.59
5.3.160.0270.07014.59
5.3.150.0200.04714.48
5.3.140.0230.05714.44
5.3.130.0170.04314.58
5.3.120.0330.05314.48
5.3.110.0200.03314.59
5.3.100.0230.07013.88
5.3.90.0200.04713.97
5.3.80.0330.05313.89
5.3.70.0170.04314.04
5.3.60.0370.06313.95
5.3.50.0230.05713.88
5.3.40.0130.05013.93
5.3.30.0270.03714.00
5.3.20.0230.03313.48
5.3.10.0270.06713.63
5.3.00.0200.05713.44
5.2.170.0100.04712.31
5.2.160.0200.05712.31
5.2.150.0200.04312.31
5.2.140.0100.04312.31
5.2.130.0200.04712.31
5.2.120.0200.05712.31
5.2.110.0300.04012.31
5.2.100.0170.05712.31
5.2.90.0200.05712.31
5.2.80.0130.06712.31
5.2.70.0100.05712.31
5.2.60.0170.05012.31
5.2.50.0230.03312.31
5.2.40.0170.05312.31
5.2.30.0170.06012.31
5.2.20.0200.05312.31
5.2.10.0130.06012.31
5.2.00.0100.05712.31
5.1.60.0130.05012.31
5.1.50.0170.03312.31
5.1.40.0070.05712.31
5.1.30.0170.05312.31
5.1.20.0170.05312.31
5.1.10.0170.05012.31
5.1.00.0130.04712.31
5.0.50.0100.04312.31
5.0.40.0100.04012.31
5.0.30.0070.06712.31
5.0.20.0070.03012.31
5.0.10.0100.02712.31
5.0.00.0070.05012.31
4.4.90.0100.01712.31
4.4.80.0000.02712.31
4.4.70.0030.03312.31
4.4.60.0070.03312.31
4.4.50.0070.02712.31
4.4.40.0100.03712.31
4.4.30.0030.03712.31
4.4.20.0030.03312.31
4.4.10.0100.03012.31
4.4.00.0100.05312.31
4.3.110.0070.03712.31
4.3.100.0070.02712.31
4.3.90.0030.03712.31
4.3.80.0100.03712.31
4.3.70.0100.02712.31
4.3.60.0100.02312.31
4.3.50.0070.03712.31
4.3.40.0130.03312.31
4.3.30.0030.02312.31
4.3.20.0070.02312.31
4.3.10.0030.03312.31
4.3.00.0030.03712.31

preferences:
241.29 ms | 1394 KiB | 8 Q