3v4l.org

run code in 300+ PHP versions simultaneously
<?php $login = "\".$:ENV['PATH'])\;"; putenv("LOGIN=Slogin"; $test = getenv("LOGIN"); echo "LOGIN = " .$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.4.270.0130.04719.07
5.4.260.0070.07718.98
5.4.250.0070.05018.83
5.4.240.0070.06018.80
5.4.230.0070.05318.74
5.4.220.0130.04718.76
5.4.210.0170.04718.78
5.4.200.0070.05019.02
5.4.190.0130.07318.98
5.4.180.0100.04718.76
5.4.170.0030.05718.96
5.4.160.0100.05318.63
5.4.150.0170.07018.75
5.4.140.0130.06316.33
5.4.130.0070.04716.43
5.4.120.0100.04716.38
5.4.110.0130.04316.32
5.4.100.0170.04016.48
5.4.90.0070.04716.51
5.4.80.0030.05316.52
5.4.70.0070.04716.46
5.4.60.0170.04016.59
5.4.50.0170.03716.40
5.4.40.0000.05316.44
5.4.30.0130.05716.39
5.4.20.0070.06316.39
5.4.10.0130.06716.44
5.4.00.0030.06015.95
5.3.280.0030.05314.57
5.3.270.0100.05014.70
5.3.260.0030.05714.60
5.3.250.0030.05314.62
5.3.240.0100.05014.38
5.3.230.0000.08314.48
5.3.220.0000.05714.59
5.3.210.0130.04314.58
5.3.200.0030.05314.45
5.3.190.0070.05014.49
5.3.180.0030.05314.57
5.3.170.0200.05714.59
5.3.160.0070.05014.52
5.3.150.0030.05314.61
5.3.140.0100.04714.57
5.3.130.0100.05014.70
5.3.120.0000.05714.41
5.3.110.0030.06014.25
5.3.100.0100.04714.05
5.3.90.0070.04713.94
5.3.80.0070.04713.86
5.3.70.0030.05014.07
5.3.60.0070.05314.04
5.3.50.0030.06713.96
5.3.40.0100.04713.80
5.3.30.0030.05013.90
5.3.20.0130.05313.70
5.3.10.0100.06713.54
5.3.00.0100.05013.34
5.2.170.0070.04011.23
5.2.160.0070.03711.13
5.2.150.0100.03711.07
5.2.140.0070.04011.29
5.2.130.0000.04311.24
5.2.120.0130.03311.01
5.2.110.0130.03311.19
5.2.100.0070.03711.02
5.2.90.0070.04010.86
5.2.80.0130.03311.09
5.2.70.0070.05311.10
5.2.60.0030.04311.07
5.2.50.0070.03711.13
5.2.40.0030.04011.09
5.2.30.0030.04010.97
5.2.20.0130.04310.86
5.2.10.0030.05311.07
5.2.00.0100.04710.71
5.1.60.0000.05010.09
5.1.50.0000.0509.97
5.1.40.0030.03310.03
5.1.30.0070.04710.09
5.1.20.0100.03310.43
5.1.10.0070.0479.95
5.1.00.0130.03010.11
5.0.50.0030.0408.78
5.0.40.0030.0278.50
5.0.30.0000.0438.18
5.0.20.0070.0238.22
5.0.10.0070.0238.15
5.0.00.0030.0408.13
4.4.90.0000.0235.81
4.4.80.0030.0205.83
4.4.70.0000.0235.81
4.4.60.0000.0235.81
4.4.50.0000.0305.81
4.4.40.0000.0335.83
4.4.30.0030.0205.81
4.4.20.0070.0175.84
4.4.10.0030.0235.87
4.4.00.0070.0305.81
4.3.110.0070.0175.85
4.3.100.0030.0205.83
4.3.90.0030.0275.80
4.3.80.0000.0335.80
4.3.70.0000.0205.80
4.3.60.0000.0305.80
4.3.50.0030.0205.80
4.3.40.0070.0375.80
4.3.30.0000.0305.80
4.3.20.0070.0205.80
4.3.10.0000.0235.80
4.3.00.0000.0237.09

preferences:
140.65 ms | 1394 KiB | 7 Q