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.0230.04718.95
5.4.260.0270.04019.18
5.4.250.0270.03718.96
5.4.240.0400.06719.05
5.4.230.0470.06319.14
5.4.220.0270.04719.26
5.4.210.0370.05019.20
5.4.200.0370.04319.12
5.4.190.0300.07319.16
5.4.180.0330.07718.94
5.4.170.0330.04019.21
5.4.160.0230.04018.95
5.4.150.0330.06019.21
5.4.140.0330.05316.45
5.4.130.0330.04016.38
5.4.120.0230.05016.41
5.4.110.0230.05716.46
5.4.100.0300.03716.32
5.4.90.0200.03716.25
5.4.80.0270.03716.39
5.4.70.0200.03716.30
5.4.60.0230.03316.50
5.4.50.0200.03316.19
5.4.40.0200.03716.20
5.4.30.0230.03316.50
5.4.20.0270.03316.45
5.4.10.0330.05016.49
5.4.00.0270.03715.88
5.3.280.0330.04714.57
5.3.270.0500.06014.63
5.3.260.0330.03314.63
5.3.250.0400.04014.70
5.3.240.0270.04314.55
5.3.230.0400.03714.38
5.3.220.0330.06314.44
5.3.210.0370.06714.53
5.3.200.0200.04014.36
5.3.190.0270.03314.50
5.3.180.0200.03714.36
5.3.170.0230.03314.52
5.3.160.0200.04314.36
5.3.150.0170.03714.36
5.3.140.0200.04014.54
5.3.130.0330.03314.49
5.3.120.0330.03714.52
5.3.110.0270.05314.43
5.3.100.0300.03714.13
5.3.90.0200.04013.95
5.3.80.0200.04713.94
5.3.70.0230.03713.84
5.3.60.0270.04013.97
5.3.50.0370.06013.89
5.3.40.0330.05014.03
5.3.30.0170.04713.87
5.3.20.0170.04013.65
5.3.10.0200.03713.61
5.3.00.0270.03713.47
5.2.170.0300.05710.98
5.2.160.0200.04711.08
5.2.150.0130.05011.23
5.2.140.0200.03011.08
5.2.130.0130.03311.08
5.2.120.0230.02311.05
5.2.110.0200.02711.07
5.2.100.0230.03011.08
5.2.90.0130.03310.98
5.2.80.0130.03310.99
5.2.70.0200.02711.08
5.2.60.0230.03010.94
5.2.50.0130.03310.95
5.2.40.0230.02310.91
5.2.30.0230.02710.91
5.2.20.0130.02710.90
5.2.10.0100.02710.87
5.2.00.0130.03010.66
5.1.60.0170.0209.97
5.1.50.0130.0239.97
5.1.40.0170.0239.96
5.1.30.0130.03010.19
5.1.20.0200.02310.36
5.1.10.0170.02710.05
5.1.00.0130.02710.03
5.0.50.0070.0208.52
5.0.40.0070.0178.40
5.0.30.0070.0308.21
5.0.20.0070.0208.18
5.0.10.0130.0178.18
5.0.00.0130.0278.13
4.4.90.0070.0177.78
4.4.80.0130.0107.78
4.4.70.0070.0177.78
4.4.60.0100.0137.78
4.4.50.0130.0137.78
4.4.40.0030.0307.78
4.4.30.0100.0137.78
4.4.20.0070.0177.78
4.4.10.0030.0137.78
4.4.00.0070.0277.78
4.3.110.0070.0137.78
4.3.100.0030.0237.78
4.3.90.0100.0177.78
4.3.80.0170.0307.78
4.3.70.0070.0137.78
4.3.60.0130.0177.78
4.3.50.0100.0177.78
4.3.40.0070.0337.78
4.3.30.0100.0307.78
4.3.20.0070.0137.78
4.3.10.0070.0377.78
4.3.00.0030.0177.78

preferences:
142.81 ms | 1394 KiB | 7 Q