3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c=' <?php $c=\'%s\'; printf($c, addslashes($c));';p[]] printf($c, addslashes($c));

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.0.20.0270.03720.12
7.0.10.0030.08720.06
7.0.00.0130.07320.07
5.6.170.0370.05320.39
5.6.160.0070.08720.33
5.6.150.0030.04018.22
5.6.140.0030.08718.20
5.6.130.0030.08318.11
5.6.120.0000.04720.98
5.6.110.0070.04020.95
5.6.100.0130.07721.00
5.6.90.0000.04720.95
5.6.80.0030.04020.35
5.5.310.0170.06320.32
5.5.300.0030.08318.10
5.5.290.0030.06017.95
5.5.280.0000.04320.87
5.5.270.0030.04320.97
5.5.260.0100.08020.84
5.5.250.0100.07720.71
5.5.240.0130.04320.16

preferences:
143.76 ms | 1394 KiB | 7 Q