3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "Hello"; <br> echo $a; $b = $a.", "; echo $b; $b = $b."world"; echo $b;

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.07020.22
7.0.10.0130.06320.26
7.0.00.0100.08320.10
5.6.170.0170.04320.50
5.6.160.0100.06320.54
5.6.150.0100.07718.19
5.6.140.0000.08718.23
5.6.130.0030.04318.18
5.6.120.0070.04721.01
5.6.110.0100.07721.01
5.6.100.0030.04720.98
5.6.90.0130.06721.00
5.6.80.0030.07720.37
5.5.310.0230.06720.34
5.5.300.0000.08317.98
5.5.290.0070.04017.95
5.5.280.0000.04720.88
5.5.270.0100.03720.86
5.5.260.0130.03320.95
5.5.250.0100.06320.57
5.5.240.0370.06020.36

preferences:
138.56 ms | 1394 KiB | 7 Q