3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a="adarsh"; $b="uppala."; echo "the first name is:".$a.",\nthe second name is:" .$b; echo "/n"; $list ="\nhtml\nhtml"; $list .="\ncss"; $list .="\nphp"; echo $list; $adhi="\njoe's mdad"; echo "$adhi"; <?= $the="fight"; echo "the"; ?>

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.08
7.0.10.0000.05020.24
7.0.00.0030.04020.07
5.6.170.0330.08020.55
5.6.160.0030.06320.54
5.6.150.0070.04018.15
5.6.140.0030.07018.22
5.6.130.0100.05018.23
5.6.120.0100.05321.09
5.6.110.0130.08021.08
5.6.100.0100.07321.02
5.6.90.0030.07720.96
5.6.80.0030.07720.50
5.5.310.0330.06320.41
5.5.300.0100.07717.98
5.5.290.0130.08017.98
5.5.280.0100.04720.80
5.5.270.0070.07720.67
5.5.260.0070.04020.95
5.5.250.0030.07320.70
5.5.240.0170.07320.36

preferences:
142.28 ms | 1394 KiB | 7 Q