3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $message = “mage”; $mage= “css”; echo $message; echo ‘<br>’; echo $$message; ?>

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.390.0000.04019.16
5.4.380.0070.03718.86
5.4.370.0000.04318.85
5.4.360.0000.04018.87
5.4.350.0030.04018.86
5.4.340.0030.04019.24
5.4.320.0000.04719.24
5.4.310.0000.04018.85
5.4.300.0000.04018.87
5.4.290.0030.04019.15
5.4.280.0000.06319.15
5.4.270.0000.04019.15
5.4.260.0030.04018.92
5.4.250.0170.03019.23
5.4.240.0170.02319.14
5.4.230.0070.03319.23
5.4.220.0030.03719.00
5.4.210.0030.03719.00
5.4.200.0100.04318.86
5.4.190.0070.03319.14
5.4.180.0030.03719.27
5.4.170.0030.04018.84
5.4.160.0130.03018.85
5.4.150.0000.04019.13
5.4.140.0070.03316.36
5.4.130.0030.04316.43
5.4.120.0070.03016.39
5.4.110.0030.03316.39
5.4.100.0030.03316.38
5.4.90.0000.03716.43
5.4.80.0000.04016.31
5.4.70.0070.03016.46
5.4.60.0000.03716.38
5.4.50.0030.03316.27
5.4.40.0000.04016.38
5.4.30.0030.03316.36
5.4.20.0000.04016.50
5.4.10.0030.03316.40
5.4.00.0100.02715.91
5.3.290.0030.04314.64
5.3.280.0000.04014.54
5.3.270.0000.04014.53
5.3.260.0000.04014.62
5.3.250.0030.04014.55
5.3.240.0030.03714.50
5.3.230.0100.03714.52
5.3.220.0000.04314.51
5.3.210.0030.03714.45
5.3.200.0070.03314.53
5.3.190.0030.03714.50
5.3.180.0000.04014.46
5.3.170.0030.04014.51
5.3.160.0000.03714.38
5.3.150.0030.03714.50
5.3.140.0000.03714.48
5.3.130.0030.03714.48
5.3.120.0030.04014.51
5.3.110.0000.04014.49
5.3.100.0000.04013.96
5.3.90.0000.04013.98
5.3.80.0030.04013.85
5.3.70.0030.03713.83
5.3.60.0030.03713.92
5.3.50.0100.06713.88
5.3.40.0030.07313.73
5.3.30.0070.03313.87
5.3.20.0000.03713.62
5.3.10.0070.04713.58
5.3.00.0030.07713.46
5.2.170.0070.03011.22
5.2.160.0000.06011.13
5.2.150.0000.04711.12
5.2.140.0000.03311.16
5.2.130.0000.03010.93
5.2.120.0100.05711.08
5.2.110.0030.03011.00
5.2.100.0000.03311.00
5.2.90.0030.04311.11
5.2.80.0000.05311.06
5.2.70.0000.04011.08
5.2.60.0000.05711.02
5.2.50.0070.02711.00
5.2.40.0000.06010.98
5.2.30.0030.02710.89
5.2.20.0000.03010.89
5.2.10.0100.05710.85
5.2.00.0030.05710.59
5.1.60.0000.0309.99
5.1.50.0130.0339.89
5.1.40.0000.0279.88
5.1.30.0030.03710.37
5.1.20.0070.03710.35
5.1.10.0000.02710.04
5.1.00.0000.02710.04
5.0.50.0000.0208.63
5.0.40.0000.0338.42
5.0.30.0030.0308.17
5.0.20.0000.0238.17
5.0.10.0070.0178.17
5.0.00.0030.0338.21
4.4.90.0000.0178.17
4.4.80.0070.0108.17
4.4.70.0000.0178.17
4.4.60.0100.0108.17
4.4.50.0070.0178.17
4.4.40.0070.0278.17
4.4.30.0000.0178.17
4.4.20.0030.0208.17
4.4.10.0030.0178.17
4.4.00.0000.0378.17
4.3.110.0000.0408.17
4.3.100.0000.0338.17
4.3.90.0030.0138.17
4.3.80.0030.0238.17
4.3.70.0030.0138.17
4.3.60.0070.0308.17
4.3.50.0070.0108.17
4.3.40.0030.0508.17
4.3.30.0030.0208.17
4.3.20.0000.0178.17
4.3.10.0000.0178.17
4.3.00.0030.0338.17

preferences:
136.88 ms | 1394 KiB | 7 Q