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.0170.05020.10
7.0.10.0070.08720.12
7.0.00.0030.09020.05
5.6.170.0230.08320.71
5.6.160.0130.07720.55
5.6.150.0070.06318.15
5.6.140.0070.04018.27
5.6.130.0100.03318.16
5.6.120.0000.08321.01
5.6.110.0070.08321.12
5.6.100.0000.04720.88
5.6.90.0030.06320.95
5.6.80.0070.08320.35
5.5.310.0230.04320.35
5.5.300.0070.03717.98
5.5.290.0100.05717.95
5.5.280.0100.06720.88
5.5.270.0030.08720.83
5.5.260.0070.05320.64
5.5.250.0070.05020.57
5.5.240.0070.07320.11

preferences:
141.29 ms | 1394 KiB | 7 Q