3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "SWYgeW91IGNhbiByZWFkIGl0LCBnb29kIGpvYiEgTm93IHZpc2l0IC9jb29raWUucGhwIGFuZCBjaGVjayB0aGUgY3JlYXRlZCBjb29raWVzIQ=="; echo "bonjour !"; gzdecode ( string $a );

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.0330.05020.12
7.0.10.0100.08720.06
7.0.00.0070.08320.25
5.6.170.0230.08020.47
5.6.160.0170.08320.55
5.6.150.0070.03718.14
5.6.140.0070.04718.19
5.6.130.0130.03018.27
5.6.120.0100.07321.01
5.6.110.0130.06321.03
5.6.100.0100.04721.13
5.6.90.0100.07020.94
5.6.80.0070.06720.28
5.5.310.0130.04720.24
5.5.300.0000.04317.99
5.5.290.0030.07018.07
5.5.280.0030.08320.76
5.5.270.0130.08020.79
5.5.260.0030.08320.86
5.5.250.0100.08020.58
5.5.240.0130.07320.18

preferences:
295.2 ms | 1394 KiB | 8 Q