3v4l.org

run code in 300+ PHP versions simultaneously
<span style="color:green"><font size="27"><div align="center"> YAZI </div></font></span> <form action="cal.php" method="post"> Sayi 1 :<input type="text" name="sy"> sayi 2:<input type="text" name="sy1"> <input type="submit" name="hesapla" value="topla"> <input type="submit" name="hesapla1" value="çıkar"> <input type="submit" name="hesapla2" value="çarp"> <input type="submit" name="hesapla3" value="böl"> <?php $hesapla = $sy1 + $sy; echo "TOPLAM :" .$hesapla; $hesapla1 = $sy1 - $sy; echo "TOPLAM :" .$hesapla1; $hesapla2 = $sy1 * $sy; echo "TOPLAM :" .$hesapla2; $hesapla3 = $sy1 //$sy; echo "TOPLAM :" .$hesapla3; { echo $hesapla } ?>

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.1.60.0680.01333.21
7.1.50.0870.01332.76
7.1.40.0830.01032.49
7.1.30.1030.01032.60
7.1.20.0770.01332.76
7.1.10.0650.01014.54
7.1.00.0720.00714.68
7.0.200.0780.00514.71
7.0.190.0800.00814.66
7.0.180.0630.00714.27
7.0.170.1050.00714.21
7.0.160.0900.00714.20
7.0.150.0830.00514.29
7.0.140.0770.00714.35
7.0.130.0700.00814.50
7.0.120.0750.00214.63
7.0.110.1120.00514.32
7.0.100.0720.01014.31
7.0.90.0820.00314.31
7.0.80.0980.00714.37
7.0.70.0600.01014.34
7.0.60.0650.01014.17
7.0.50.0670.00714.42
7.0.40.0620.01214.62
7.0.30.0680.01214.46
7.0.20.0630.00714.32
7.0.10.0670.01014.44
7.0.00.0670.00714.40

preferences:
137.72 ms | 1386 KiB | 7 Q