3v4l.org

run code in 300+ PHP versions simultaneously
<?php $SQLRow=0; class Trip { } $t = new Trip(); $t->Properties->partnerId = "1"; $t->Properties->loadTrackExternalId = $loadNumber; $t->Properties->accountId = "12345678"; $t->Properties->dispatcherId = ""; $t->Properties->dispatcherEmail = $dispatcherEmail; $t->Properties->dispatcherPhoneNumber = "8008888888"; $t->Properties->driverCell = $driverCell; $t->Properties->driverName = $driverName; $t->Properties->carrierDispatcherEmail = $carrierDispatcherEmail; $t->Properties->Carrier->companyName = $Carrier_companyName; $t->Properties->Carrier->contactName = $Carrier_contactName; $t->Properties->Carrier->contactPhone = $Carrier_contactPhone; $t->Properties->Carrier->contactPhoneExt = ""; $t->Properties->Carrier->contactEmail = $Carrier_contactEmail; $t->Properties->Broker->companyName = "CompanyName here"; $t->Properties->Broker->contactName = "John Smith"; $t->Properties->Broker->contactPhone = "8008888888"; $t->Properties->Broker->contactPhoneExt = ""; $t->Properties->Broker->contactEmail = "jsmith@whatever.com"; $t->Properties->Shipper->loadNumber = $shipper_loadNumber; $t->Properties->Shipper->name = $shipper_name; $t->Properties->Shipper->shipperId = $shipper_shipperId; $t->Properties->Shipper->emails = $shipper_email; while($sql_row=oci_fetch_array($stid)) { $SQLRow++; $Stops_orderNumber[$SQLRow]=$sql_row['REFERENCE1']; $Stops_address[$SQLRow]=$sql_row['ADDRESS1']; $Stops_city[$SQLRow]=$sql_row['CITY']; $Stops_state[$SQLRow]=$sql_row['STATE']; $Stops_zipcode[$SQLRow]=$sql_row['ZIP']; $Stops_date[$SQLRow]=$sql_row['JAPT_L_DATE']; $Stops_time[$SQLRow]=$sql_row['LTIME']; $Stops_appt_hours[$SQLRow]=$sql_row['APPT_HOURS']; $Stops_email[$SQLRow]=$sql_row['EMAIL']; $Stops = new class(){}; $Stops->orderNumber = $Stops_orderNumber[$SQLRow]; $Stops->address = $Stops_address[$SQLRow]; $Stops->city = $Stops_city[$SQLRow]; $Stops->state = $Stops_state[$SQLRow]; $Stops->zipcode = $Stops_zipcode[$SQLRow]; $Stops->datetime = ""; $t->Stops []= $Stops; } echo json_encode($t);

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.0110.01116.63
8.3.50.0070.01118.19
8.3.40.0110.00718.97
8.3.30.0070.00719.00
8.3.20.0080.00020.47
8.3.10.0080.00022.05
8.3.00.0070.00023.66
8.2.180.0090.01216.63
8.2.170.0100.00722.96
8.2.160.0040.01120.65
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00420.49
8.2.120.0150.00426.35
8.2.110.0070.00322.25
8.2.100.0110.00417.84
8.2.90.0060.00317.84
8.2.80.0080.00019.28
8.2.70.0030.00517.63
8.2.60.0000.00819.42
8.2.50.0080.00018.22
8.2.40.0050.00320.68
8.2.30.0000.00719.27
8.2.20.0030.00617.98
8.2.10.0000.00817.99
8.2.00.0000.00818.20
8.1.280.0070.00725.92
8.1.270.0000.00723.99
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.00922.53
8.1.230.0040.00721.11
8.1.220.0030.00717.74
8.1.210.0030.00618.77
8.1.200.0070.00317.60
8.1.190.0080.00017.22
8.1.180.0070.00018.10
8.1.170.0060.00318.65
8.1.160.0030.00618.82
8.1.150.0000.00720.11
8.1.140.0060.00317.40
8.1.130.0040.00417.45
8.1.120.0000.00717.48
8.1.110.0030.00517.36
8.1.100.0000.00817.38
8.1.90.0070.00017.48
8.1.80.0040.00417.40
8.1.70.0030.00317.40
8.1.60.0030.00617.65
8.1.50.0040.00717.48
8.1.40.0090.00017.50
8.1.30.0030.00617.68
8.1.20.0030.00517.71
8.1.10.0030.00517.66
8.1.00.0050.00317.60
8.0.300.0030.00620.20
8.0.290.0070.00016.75
8.0.280.0030.00318.38
8.0.270.0070.00017.13
8.0.260.0030.00316.90
8.0.250.0030.00317.08
8.0.240.0030.00617.02
8.0.230.0000.00817.02
8.0.220.0030.00316.96
8.0.210.0040.00417.00
8.0.200.0050.00517.00
8.0.190.0000.00816.92
8.0.180.0030.00517.07
8.0.170.0070.00016.88
8.0.160.0030.00516.86
8.0.150.0070.00016.80
8.0.140.0000.00816.84
8.0.130.0050.00013.43
8.0.120.0000.00816.94
8.0.110.0040.00417.09
8.0.100.0040.00416.79
8.0.90.0000.00816.84
8.0.80.0030.01416.99
8.0.70.0040.00416.91
8.0.60.0040.00416.92
8.0.50.0040.00416.78
8.0.30.0070.01017.17
8.0.20.0130.00817.40
8.0.10.0070.00017.20
8.0.00.0200.00617.13
7.4.330.0000.00415.55
7.4.320.0030.00316.56
7.4.300.0000.00616.59
7.4.290.0070.00416.65
7.4.280.0000.00716.57
7.4.270.0030.00316.72
7.4.260.0040.00416.61
7.4.250.0000.00816.69
7.4.240.0070.00016.57
7.4.230.0070.00016.67
7.4.220.0070.01016.57
7.4.210.0130.00916.63
7.4.200.0070.00016.47
7.4.160.0070.01116.54
7.4.150.0030.01617.40
7.4.140.0080.01017.86
7.4.130.0120.01216.57
7.4.120.0090.01016.68
7.4.110.0090.00916.61
7.4.100.0070.01116.44
7.4.90.0110.00816.72
7.4.80.0060.01219.39
7.4.70.0150.00316.49
7.4.60.0080.00816.62
7.4.50.0000.01716.37
7.4.40.0120.00616.74
7.4.30.0130.00316.61
7.4.00.0070.00715.12
7.3.330.0030.00313.37
7.3.320.0000.00513.42
7.3.310.0000.00716.25
7.3.300.0000.00616.27
7.3.290.0060.00816.38
7.3.280.0090.00816.39
7.3.270.0030.01417.40
7.3.260.0130.00916.51
7.3.250.0110.00916.54
7.3.240.0140.00416.50
7.3.230.0130.01016.61
7.3.210.0060.01216.46
7.3.200.0120.00916.43
7.3.190.0090.00816.52
7.3.180.0160.00016.61
7.3.170.0070.01516.43
7.3.160.0080.00816.38
7.2.330.0030.01416.71
7.2.320.0060.01216.74
7.2.310.0080.00816.71
7.2.300.0130.00316.60
7.2.290.0070.01016.76
7.2.60.0000.00916.84
7.1.200.0090.00015.37
7.1.100.0170.01316.03
7.1.90.2900.01015.93
7.1.80.2310.01615.89
7.1.70.0110.01815.38
7.1.60.1930.01533.34
7.1.50.1780.01832.99
7.1.40.2170.01332.31
7.1.30.1610.01432.64
7.1.20.2250.01632.58
7.1.10.2260.01314.84
7.1.00.2110.00314.97
7.0.240.0080.01515.72
7.0.230.0080.02015.62
7.0.220.2740.01215.82
7.0.210.0150.01215.02
7.0.200.1980.00714.96
7.0.190.1720.01015.00
7.0.180.1530.00314.39
7.0.170.1400.01014.35
7.0.160.2100.01314.38
7.0.150.2590.01014.19
7.0.140.2170.01314.76
7.0.130.2300.01314.49
7.0.120.2100.00714.59
7.0.110.2200.00314.22
7.0.100.2400.01514.39
7.0.90.2180.02014.73
7.0.80.2560.01314.70
7.0.70.2190.00614.40
7.0.60.2250.01014.33
7.0.50.2050.00614.44
7.0.40.2270.01914.54
7.0.30.3180.01014.60
7.0.20.1920.00714.54
7.0.10.1910.01014.43
7.0.00.2020.00714.64

preferences:
33.51 ms | 400 KiB | 5 Q