3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST = array(); $_POST["orderId"]="9879879879_afadak31"; $_POST["orderAmount"]="190.0"; $_POST["referenceId"]="16242"; $_POST["txStatus"]="SUCCESS"; $_POST["paymentMode"]="NET_BANKING"; $_POST["txMsg"]="OK"; $_POST["txTime"]="2018-02-16 01:30:36"; $orderId = $_POST["orderId"]; $orderAmount = $_POST["orderAmount"]; $referenceId = $_POST["referenceId"]; $txStatus = $_POST["txStatus"]; $paymentMode = $_POST["paymentMode"]; $txMsg = $_POST["txMsg"]; $txTime = $_POST["txTime"]; $data = $orderId.$orderAmount.$referenceId.$txStatus.$paymentMode.$txMsg.$txTime; echo 'Hello ' . htmlspecialchars($_POST["orderId"]) . '!'; echo $data;

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)
8.3.60.0120.00618.30
8.3.50.0110.00718.44
8.3.40.0070.00718.70
8.3.30.0100.00318.67
8.3.20.0080.00020.30
8.3.10.0040.00423.66
8.3.00.0060.00319.79
8.2.180.0130.00316.66
8.2.170.0110.00422.96
8.2.160.0140.00020.33
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0070.00022.20
8.2.120.0040.00426.35
8.2.110.0000.00920.58
8.2.100.0090.00319.57
8.2.90.0030.00517.91
8.2.80.0050.00320.28
8.2.70.0000.00818.04
8.2.60.0080.00018.16
8.2.50.0040.00418.22
8.2.40.0000.00820.63
8.2.30.0000.00819.29
8.2.20.0050.00218.20
8.2.10.0000.00718.19
8.2.00.0040.00318.21
8.1.280.0140.00325.92
8.1.270.0060.00323.88
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00723.91
8.1.230.0030.00920.91
8.1.220.0080.00017.79
8.1.210.0000.00918.77
8.1.200.0000.00917.48
8.1.190.0050.00317.41
8.1.180.0000.00818.10
8.1.170.0030.00518.66
8.1.160.0050.00218.86
8.1.150.0000.00720.18
8.1.140.0070.00017.68
8.1.130.0000.00817.38
8.1.120.0000.00817.38
8.1.110.0000.00817.48
8.1.100.0050.00317.39
8.1.90.0070.00017.43
8.1.80.0040.00417.49
8.1.70.0050.00217.48
8.1.60.0040.00417.51
8.1.50.0040.00417.59
8.1.40.0050.00317.40
8.1.30.0040.00417.71
8.1.20.0040.00717.61
8.1.10.0060.00317.46
8.1.00.0030.00617.52
8.0.300.0040.00420.18
8.0.290.0040.00416.75
8.0.280.0000.00718.36
8.0.270.0000.00717.34
8.0.260.0040.00416.70
8.0.250.0000.00716.93
8.0.240.0050.00217.00
8.0.230.0030.00316.88
8.0.220.0030.00516.83
8.0.210.0070.00016.77
8.0.200.0030.00616.99
8.0.190.0070.00016.87
8.0.180.0000.00716.82
8.0.170.0040.00416.82
8.0.160.0070.00016.93
8.0.150.0050.00216.86
8.0.140.0080.00016.84
8.0.130.0030.00313.33
8.0.120.0040.00416.88
8.0.110.0030.00316.77
8.0.100.0050.00216.87
8.0.90.0000.00817.03
8.0.80.0130.00916.93
8.0.70.0050.00216.91
8.0.60.0000.00716.86
8.0.50.0040.00416.80
8.0.30.0070.01017.09
8.0.20.0130.00717.40
8.0.10.0000.00817.09
8.0.00.0120.00716.69
7.4.330.0030.00315.55
7.4.320.0000.00616.45
7.4.300.0060.00016.64
7.4.290.0000.00716.47
7.4.280.0050.00316.62
7.4.270.0040.00416.43
7.4.260.0040.00416.53
7.4.250.0070.00016.59
7.4.240.0040.00416.55
7.4.230.0000.00716.53
7.4.220.0000.00716.43
7.4.210.0060.00916.69
7.4.200.0030.00316.71
7.4.160.0090.00716.45
7.4.150.0100.00717.40
7.4.140.0110.00717.86
7.4.130.0090.00916.55
7.4.120.0110.00716.55
7.4.110.0130.00316.45
7.4.100.0030.01616.44
7.4.90.0120.00916.64
7.4.80.0080.01619.39
7.4.70.0090.00916.45
7.4.60.0060.00916.46
7.4.50.0000.01716.38
7.4.40.0070.01016.50
7.4.00.0030.01414.89
7.3.330.0000.00613.22
7.3.320.0000.00713.27
7.3.310.0000.00716.34
7.3.300.0000.00716.33
7.3.290.0030.00316.24
7.3.280.0080.00916.37
7.3.270.0110.00617.40
7.3.260.0170.00716.54
7.3.240.0170.00416.50
7.3.230.0130.00416.45
7.3.210.0100.01016.50
7.3.200.0070.01016.29
7.3.190.0080.00816.22
7.3.180.0050.01016.38
7.3.170.0130.00316.41
7.3.160.0090.00616.46
7.2.330.0100.01016.33
7.2.320.0060.01916.36
7.2.310.0060.01016.76
7.2.300.0140.00816.84
7.2.290.0110.00816.48
7.2.110.0090.00616.65
7.2.60.0000.00917.13
7.2.20.0060.01319.79
7.2.10.0060.01319.93
7.2.00.0080.01120.03
7.1.200.0000.01315.93
7.1.140.0080.01018.99
7.1.130.0050.01418.54
7.1.120.0090.00818.82
7.1.110.0090.01118.34
7.1.100.0070.01318.04
7.1.90.0060.01417.79
7.1.80.0080.01218.23
7.1.70.0070.01216.98
7.1.60.0220.01535.03
7.1.50.0260.02534.54
7.1.40.0280.01934.49
7.1.30.0250.02134.41
7.1.20.0280.01934.78
7.1.10.0050.01016.60
7.1.00.0080.00716.63

preferences:
56.22 ms | 401 KiB | 5 Q