3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number1="123456789"; $text=vsprint(%b); echo ("this is binary format($text)"); ?>

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.0370.07320.23
7.0.10.0130.07720.25
7.0.00.0030.08720.23
5.6.170.0270.08020.55
5.6.160.0070.03720.43
5.6.150.0000.04318.16
5.6.140.0170.07018.24
5.6.130.0030.07718.21
5.6.120.0070.03721.09
5.6.110.0030.09321.00
5.6.100.0200.07321.12
5.6.90.0100.06720.96
5.6.80.0070.07320.35
5.5.310.0170.04020.41
5.5.300.0100.08017.99
5.5.290.0070.04017.98
5.5.280.0030.08720.95
5.5.270.0030.05320.72
5.5.260.0100.07720.84
5.5.250.0170.07020.79
5.5.240.0300.06720.35

preferences:
126.63 ms | 1398 KiB | 7 Q