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')); echo "<input type ='hidden' name='expiryDate' value='echo $date->format(\'Ymd His\')'>"; 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.2.60.0040.01116.95
7.2.00.0040.01119.38
7.1.200.0040.01115.93
7.1.100.0080.00318.24
7.1.70.0000.01117.15
7.1.60.0130.01019.40
7.1.50.0150.00434.88
7.1.00.0070.07322.36
7.0.200.1630.00715.05
7.0.90.0070.06321.74
7.0.80.0000.08021.92
7.0.70.0030.08321.93
7.0.60.0030.07021.77
7.0.50.0030.07722.05
7.0.40.0000.08320.11
7.0.30.0030.08019.94
7.0.20.0070.08320.08
7.0.10.0070.04020.04
7.0.00.0030.08020.07
5.6.280.0030.03021.09
5.6.240.0000.09020.69
5.6.230.0030.08320.66
5.6.220.0100.06720.51
5.6.210.0030.04720.58
5.6.200.0070.07321.08
5.6.190.0030.07321.17
5.6.180.0030.04020.95
5.6.170.0070.08020.93
5.6.160.0070.05720.93
5.6.150.0030.06721.04
5.6.140.0070.07721.07
5.6.130.0030.05721.10
5.6.120.0030.08021.09
5.6.110.0030.07721.01
5.6.100.0130.07720.93
5.6.90.0070.04721.00
5.6.80.0030.07720.41
5.6.70.0100.04720.44
5.6.60.0000.08320.50
5.6.50.0030.05320.39
5.6.40.0070.07020.46
5.6.30.0000.08320.43
5.6.20.0100.04320.38
5.6.10.0030.07320.48
5.6.00.0000.05020.45
5.5.380.0000.08020.45
5.5.370.0070.07720.46
5.5.360.0030.05020.34
5.5.350.0130.06720.46
5.5.340.0000.04020.78
5.5.330.0030.05320.88
5.5.320.0000.06720.84
5.5.310.0030.08320.83
5.5.300.0070.08020.90
5.5.290.0070.08320.92
5.5.280.0100.07020.73
5.5.270.0170.06720.89
5.5.260.0030.07020.75
5.5.250.0070.09020.71
5.5.240.0070.06720.30
5.5.230.0070.07720.29
5.5.220.0130.06020.23
5.5.210.0070.04320.27
5.5.200.0000.06720.14
5.5.190.0070.06720.23
5.5.180.0100.04320.16
5.5.160.0070.08020.27
5.5.150.0030.04020.27
5.5.140.0030.07320.27
5.5.130.0000.05320.19
5.5.120.0070.07320.27
5.5.110.0030.03720.21
5.5.100.0100.06020.07
5.5.90.0100.03720.09
5.5.80.0100.07020.10
5.5.70.0030.07320.14
5.5.60.0030.03720.06
5.5.50.0070.05720.05
5.5.40.0070.04319.92
5.5.30.0000.06320.14
5.5.20.0000.08720.18
5.5.10.0100.04720.06
5.5.00.0030.04719.99

preferences:
36.82 ms | 400 KiB | 5 Q