3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ini_set() { echo 123; } echo "namespace:".__NAMESPACE__."\n";

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)
7.1.70.0070.00716.77
7.1.60.0250.00635.06
7.1.50.0220.01534.41
7.1.40.0270.02034.20
7.1.30.0250.01334.46
7.1.20.0280.00934.52
7.1.10.0150.00616.57
7.1.00.0060.00916.44
7.0.200.0040.01116.54
7.0.190.0060.00816.45
7.0.180.0130.00716.29
7.0.170.0070.01416.00
7.0.160.0100.01016.12
7.0.150.0180.00516.25
7.0.140.0120.00516.11
7.0.130.0030.01616.36
7.0.120.0040.01216.23
7.0.110.0060.01316.05
7.0.100.0030.01016.08
7.0.90.0070.01016.03
7.0.80.0060.00916.24
7.0.70.0000.01816.02
7.0.60.0050.01115.81
7.0.50.0000.01716.33
7.0.40.0130.00616.39
7.0.30.0060.01416.54
7.0.20.0000.01516.27
7.0.10.0060.01016.29
7.0.00.0080.01116.27

preferences:
135.95 ms | 1394 KiB | 7 Q