3v4l.org

run code in 300+ PHP versions simultaneously
<?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.6.100.0130.06720.97
5.6.90.0070.06721.10
5.6.80.0100.07020.38
5.5.260.0130.07020.79
5.5.250.0030.07720.61
5.5.240.0230.07320.18
5.4.420.0070.06319.50
5.4.410.0130.07019.35
5.4.400.0030.05019.25
5.4.390.0070.03719.16
5.4.380.0000.04319.15
5.4.370.0030.03719.00
5.4.360.0070.05718.86
5.4.350.0170.06019.17
5.4.340.0070.04019.12
5.4.320.0000.05019.05
5.4.310.0030.04719.12
5.4.300.0030.08019.23
5.4.290.0130.07019.24
5.4.280.0030.06718.85
5.4.270.0000.04718.88
5.4.260.0130.07019.26
5.4.250.0030.06319.15
5.4.240.0100.04019.14
5.4.230.0130.07019.07
5.4.220.0100.03319.09
5.4.210.0200.06719.16
5.4.200.0100.06319.20
5.4.190.0070.03719.09
5.4.180.0000.07719.19
5.4.170.0070.08019.23
5.4.160.0030.05319.22
5.4.150.0070.04719.09
5.4.140.0100.06016.46
5.4.130.0000.04716.29
5.4.120.0030.04016.33
5.4.110.0100.07316.38
5.4.100.0030.05716.47
5.4.90.0070.03716.54
5.4.80.0100.04316.45
5.4.70.0000.08016.52
5.4.60.0070.03716.43
5.4.50.0130.06016.38
5.4.40.0200.06016.40
5.4.30.0030.04716.40
5.4.20.0070.06016.27
5.4.10.0000.04016.42
5.4.00.0200.05715.94
5.3.290.0100.07714.60
5.3.280.0070.07714.52
5.3.270.0070.06314.55
5.3.260.0070.07314.55
5.3.250.0030.04014.50
5.3.240.0000.06014.70
5.3.230.0070.05014.41
5.3.220.0030.03714.49
5.3.210.0030.03714.59
5.3.200.0070.04714.50
5.3.190.0130.07314.58
5.3.180.0100.07714.49
5.3.170.0170.06714.44
5.3.160.0070.08314.53
5.3.150.0130.06014.54
5.3.140.0130.08314.48
5.3.130.0130.07314.48
5.3.120.0070.06714.49
5.3.110.0030.04714.48
5.3.100.0030.06314.05
5.3.90.0100.07013.92
5.3.80.0030.07314.11
5.3.70.0130.06313.94
5.3.60.0100.04013.94
5.3.50.0270.02713.90
5.3.40.0070.04713.91
5.3.30.0100.04314.00
5.3.20.0030.03713.70
5.3.10.0070.07013.68
5.3.00.0070.04713.62
5.2.170.0030.07011.13
5.2.160.0030.04711.13
5.2.150.0030.03711.30
5.2.140.0070.06011.13
5.2.130.0030.06010.98
5.2.120.0030.05311.00
5.2.110.0070.06311.08
5.2.100.0170.05711.07
5.2.90.0070.04011.03
5.2.80.0000.03711.10
5.2.70.0030.06710.95
5.2.60.0030.06310.97
5.2.50.0030.04710.95
5.2.40.0030.04010.93
5.2.30.0000.06710.96
5.2.20.0070.04010.93
5.2.10.0130.04310.82
5.2.00.0130.03010.71
5.1.60.0030.0509.98
5.1.50.0070.05010.14
5.1.40.0030.0539.93
5.1.30.0070.05310.35
5.1.20.0070.05310.36
5.1.10.0030.04010.05
5.1.00.0000.03710.04
5.0.50.0000.0238.65
5.0.40.0030.0278.36
5.0.30.0030.0538.21
5.0.20.0100.0138.26
5.0.10.0000.0508.07
5.0.00.0030.0508.11
4.4.90.0030.0337.07
4.4.80.0070.0277.07
4.4.70.0000.0207.07
4.4.60.0000.0177.07
4.4.50.0000.0277.07
4.4.40.0030.0337.07
4.4.30.0000.0407.07
4.4.20.0030.0277.07
4.4.10.0030.0337.07
4.4.00.0030.0607.07
4.3.110.0000.0307.07
4.3.100.0030.0137.07
4.3.90.0030.0177.07
4.3.80.0070.0307.07
4.3.70.0030.0177.07
4.3.60.0000.0377.07
4.3.50.0030.0207.07
4.3.40.0000.0377.07
4.3.30.0000.0237.07
4.3.20.0030.0177.07
4.3.10.0000.0407.07
4.3.00.0000.0177.07

preferences:
143.13 ms | 1394 KiB | 7 Q