3v4l.org

run code in 300+ PHP versions simultaneously
<?php $easypaisaAmount = 1200; $orderid =1001; echo "<form action='https://easypay.easypaisa.com.pk/easypay/Index.jsf' method='POST' target='_blank'>"; echo "<input name='storeId' value='2023' hidden = 'true'/>"; echo"<input name='amount' value='$easypaisaAmount' hidden = 'true'/>"; echo"<input name='postBackURL' value='ourhatti.com/test.php' hidden = 'true'/>"; echo "<input name='orderRefNum' value='$orderid' hidden = 'true'/>"; $date = new DateTime(time()); $date->add(new DateInterval('PT12H')); $mydate = date->format('Ymd His'); echo "<input type ='hidden' name='expiryDate' value='$mydate'>"; echo "</form>";

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.0430.04720.06
7.0.10.0000.06720.08
7.0.00.0030.04720.21
5.6.170.0300.06720.51
5.6.160.0100.08020.55
5.6.150.0200.07318.18
5.6.140.0100.08018.16
5.6.130.0000.05318.18
5.6.120.0070.04321.04
5.6.110.0070.09021.14
5.6.100.0170.07721.13
5.6.90.0070.08721.00
5.6.80.0200.07020.42
5.5.310.0270.04320.31
5.5.300.0070.05718.02
5.5.290.0100.05018.08
5.5.280.0100.08320.80
5.5.270.0030.04020.66
5.5.260.0130.03020.86
5.5.250.0070.06320.61
5.5.240.0200.07020.16

preferences:
33.64 ms | 400 KiB | 5 Q