3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bla(&$test){ $test=2; return $test; } $x='qqq'; bla(&$x); echo $x;

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.260.0130.04718.80
5.4.250.0130.04718.95
5.4.240.0100.05718.90
5.4.230.0100.05018.96
5.4.220.0130.08019.00
5.4.210.0200.04018.80
5.4.200.0170.05719.00
5.4.190.0170.07018.98
5.4.180.0170.05318.81
5.4.170.0100.07718.94
5.4.160.0130.04718.82
5.4.150.0130.05018.93
5.4.140.0100.05316.57
5.4.130.0070.05016.59
5.4.120.0100.04316.40
5.4.110.0100.05716.62
5.4.100.0170.06316.38
5.4.90.0070.04716.41
5.4.80.0170.05016.61
5.4.70.0070.06016.40
5.4.60.0100.06016.54
5.4.50.0100.04716.30
5.4.40.0070.05016.68
5.4.30.0100.05016.45
5.4.20.0130.04016.48
5.4.10.0070.05016.33
5.4.00.0170.04015.87
5.3.290.0100.03912.80
5.3.280.0070.05314.67
5.3.270.0000.06714.59
5.3.260.0030.05714.69
5.3.250.0100.06014.74
5.3.240.0100.05014.75
5.3.230.0130.04314.77
5.3.220.0100.04714.78
5.3.210.0100.06014.58
5.3.200.0100.04714.70
5.3.190.0070.05714.46
5.3.180.0130.06714.53
5.3.170.0070.05314.62
5.3.160.0130.04714.70
5.3.150.0070.05014.39
5.3.140.0170.04014.53
5.3.130.0100.05014.72
5.3.120.0030.05314.68
5.3.110.0030.05714.55
5.3.100.0100.04714.07
5.3.90.0100.04714.13
5.3.80.0100.07014.10
5.3.70.0100.05014.08
5.3.60.0100.04714.17
5.3.50.0130.04314.11
5.3.40.0070.05014.12
5.3.30.0130.06713.99
5.3.20.0070.05013.77
5.3.10.0030.05013.63
5.3.00.0170.04013.64
5.2.170.0070.04011.05
5.2.160.0070.04011.14
5.2.150.0130.04011.13
5.2.140.0130.03711.12
5.2.130.0170.04011.18
5.2.120.0100.03711.00
5.2.110.0100.03311.14
5.2.100.0100.03311.14
5.2.90.0030.04011.17
5.2.80.0030.04311.26
5.2.70.0030.04311.30
5.2.60.0100.03711.14
5.2.50.0030.04311.10
5.2.40.0100.05011.05
5.2.30.0070.04011.04
5.2.20.0130.03310.91
5.2.10.0070.04010.94
5.2.00.0030.05710.70
5.1.60.0070.0309.92
5.1.50.0070.03010.17
5.1.40.0070.03310.18
5.1.30.0070.03710.30
5.1.20.0070.03310.42
5.1.10.0070.04310.13
5.1.00.0030.03710.31
5.0.50.0070.0308.38
5.0.40.0030.0378.64
5.0.30.0100.0508.22
5.0.20.0070.0238.18
5.0.10.0070.0238.14
5.0.00.0030.0408.16
4.4.90.0070.0176.43
4.4.80.0000.0236.43
4.4.70.0030.0276.43
4.4.60.0030.0306.43
4.4.50.0030.0206.43
4.4.40.0000.0506.43
4.4.30.0030.0206.43
4.4.20.0130.0206.43
4.4.10.0030.0306.43
4.4.00.0130.0406.43
4.3.110.0070.0206.43
4.3.100.0030.0206.43
4.3.90.0000.0206.43
4.3.80.0070.0276.43
4.3.70.0030.0306.41
4.3.60.0000.0236.41
4.3.50.0100.0176.41
4.3.40.0000.0336.41
4.3.30.0000.0236.41
4.3.20.0000.0236.41
4.3.10.0030.0276.41
4.3.00.0200.0177.16

preferences:
138.06 ms | 1394 KiB | 7 Q