3v4l.org

run code in 300+ PHP versions simultaneously
<?php $login = "\".$_ENV['PATH'])\;"; putenv("LOGIN=$login"); $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.0070.05719.00
5.4.260.0100.05718.84
5.4.250.0070.06018.71
5.4.240.0100.06018.71
5.4.230.0130.06718.85
5.4.220.0100.06018.93
5.4.210.0070.06319.09
5.4.200.0030.06018.89
5.4.190.0070.05319.02
5.4.180.0170.04718.75
5.4.170.0070.06318.96
5.4.160.0130.04718.71
5.4.150.0200.06718.69
5.4.140.0070.05316.37
5.4.130.0070.06316.39
5.4.120.0200.04716.38
5.4.110.0070.05316.45
5.4.100.0000.05716.59
5.4.90.0170.04716.62
5.4.80.0030.05316.45
5.4.70.0100.04716.25
5.4.60.0070.05716.41
5.4.50.0030.05016.36
5.4.40.0100.04716.43
5.4.30.0130.05716.48
5.4.20.0100.04716.45
5.4.10.0100.04716.37
5.4.00.0200.05015.84
5.3.280.0070.07014.61
5.3.270.0130.07014.46
5.3.260.0070.06014.46
5.3.250.0030.07714.63
5.3.240.0100.04714.63
5.3.230.0030.06714.52
5.3.220.0170.05714.61
5.3.210.0100.06014.34
5.3.200.0170.06014.49
5.3.190.0170.04314.48
5.3.180.0070.05014.43
5.3.170.0170.05314.34
5.3.160.0170.04314.57
5.3.150.0130.06014.41
5.3.140.0100.06714.58
5.3.130.0070.05314.40
5.3.120.0170.06014.55
5.3.110.0170.05714.47
5.3.100.0100.06713.96
5.3.90.0070.04713.94
5.3.80.0070.06714.01
5.3.70.0030.05313.86
5.3.60.0100.04713.77
5.3.50.0100.07714.10
5.3.40.0100.06013.81
5.3.30.0070.05713.76
5.3.20.0100.04713.57
5.3.10.0070.04713.52
5.3.00.0100.04713.49
5.2.170.0070.04011.14
5.2.160.0030.04311.14
5.2.150.0070.05711.06
5.2.140.0000.05710.90
5.2.130.0030.04011.03
5.2.120.0000.04711.02
5.2.110.0100.03311.20
5.2.100.0100.04711.09
5.2.90.0130.05011.11
5.2.80.0070.03711.10
5.2.70.0030.04311.09
5.2.60.0000.04711.06
5.2.50.0070.04011.03
5.2.40.0000.06010.88
5.2.30.0100.03710.96
5.2.20.0070.03710.97
5.2.10.0000.05311.03
5.2.00.0070.05010.79
5.1.60.0030.05010.05
5.1.50.0030.04010.09
5.1.40.0000.03710.21
5.1.30.0000.04010.25
5.1.20.0000.04010.36
5.1.10.0030.03710.12
5.1.00.0070.03710.12
5.0.50.0030.0408.31
5.0.40.0070.0338.47
5.0.30.0130.0338.13
5.0.20.0030.0278.25
5.0.10.0000.0408.20
5.0.00.0030.0407.98
4.4.90.0000.0275.81
4.4.80.0000.0275.78
4.4.70.0030.0205.78
4.4.60.0000.0235.79
4.4.50.0000.0235.91
4.4.40.0000.0375.79
4.4.30.0000.0235.79
4.4.20.0070.0205.74
4.4.10.0030.0235.89
4.4.00.0070.0305.79
4.3.110.0070.0205.62
4.3.100.0000.0305.69
4.3.90.0000.0305.66
4.3.80.0000.0335.70
4.3.70.0070.0205.69
4.3.60.0000.0235.70
4.3.50.0030.0205.66
4.3.40.0030.0335.64
4.3.30.0030.0275.24
4.3.20.0000.0235.24
4.3.10.0000.0235.24
4.3.00.0030.01713.33

preferences:
140.41 ms | 1394 KiB | 7 Q