3v4l.org

run code in 300+ PHP versions simultaneously
<?php ##----------------------------------------------------- $processing_method= SHEETWORK; if ($processing_method == WORKTURN) {$TTDT= (15 /60); } elseif ($processing_method == WORKTUMBLE) {$TTDT= (15 /60); } else($TTDT=0); $IWUT = (2)*(8)/60; $INKT = (2)*(8)/60; $BWUT = (2)*(8)/60; $PMRT = (3)*(8)/ 60; $AWUT = (10)/60; $MMRT = (15)/60; $number_of_runs = ceil(4 / 4) + ceil(4 / 4) ; $number_of_sets = ( ceil(4 / 4) + ceil(4 / 4) )* 1; $start_up_time = $MMRT + $AWUT + $IWUT +$INKT+ $BWUT+ $PMRT + $TTDT; $start_up_cost = ($MMRT + $AWUT + $IWUT +$INKT+ $BWUT+ $PMRT +$TTDT) * (78.21 + 15.89); $PT = $number_of_runs * 250 * (1 + 10 / 100) / 6000; $printing_cost = $PT * (78.21 + 15.89); $operation_cost = $printing_cost + $start_up_cost ; $minimum_operation_cost = 60 * 1; if ($operation_cost <=$minimum_operation_cost) {$operation_cost = $minimum_operation_cost; } $operation_time = ($MMRT + $AWUT + $IWUT +$INKT+ $BWUT + $PMRT + $PT +$TTDT); $setup_price = 8 * $plate_price ; $running_price = ceil((250 * (4 + 4) * (4>1?2:1) )/1000) * 8; $selling_price = $setup_price + $running_price ;

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.0060.00916.50
8.3.50.0070.00716.50
8.3.40.0070.00718.69
8.3.30.0140.00318.83
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.180.0120.00625.92
8.2.170.0150.00018.91
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00326.35
8.2.110.0030.00619.23
8.2.100.0040.01117.91
8.2.90.0060.00617.75
8.2.80.0000.00818.91
8.2.70.0050.00317.63
8.2.60.0000.00818.03
8.2.50.0040.00418.05
8.2.40.0000.00818.09
8.2.30.0030.00718.12
8.2.20.0030.00618.18
8.2.10.0030.00621.01
8.2.00.0040.00419.16
8.1.280.0100.00725.92
8.1.270.0050.00323.99
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0030.00622.14
8.1.230.0040.00718.82
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0090.00017.23
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0000.00718.85
8.1.150.0040.00418.84
8.1.140.0000.00718.78
8.1.130.0000.00720.07
8.1.120.0030.00517.46
8.1.110.0030.00517.33
8.1.100.0040.00417.38
8.1.90.0000.00717.41
8.1.80.0000.00817.27
8.1.70.0030.00517.44
8.1.60.0030.00617.51
8.1.50.0020.00517.47
8.1.40.0050.00217.36
8.1.30.0030.00517.65
8.1.20.0030.00517.43
8.1.10.0040.00417.59
8.1.00.0040.00417.51
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.46
8.0.270.0030.00318.11
8.0.260.0000.00618.33
8.0.250.0000.00817.04
8.0.240.0040.00417.02
8.0.230.0030.00317.02
8.0.220.0030.00516.86
8.0.210.0000.00717.00
8.0.200.0000.00616.89
8.0.190.0120.00017.00
8.0.180.0000.00717.00
8.0.170.0080.00016.86
8.0.160.0000.00717.02
8.0.150.0000.00716.96
8.0.140.0040.00716.81
8.0.130.0050.00013.46
8.0.120.0040.00416.84
8.0.110.0040.00416.84
8.0.100.0050.00216.96
8.0.90.0050.00316.95
8.0.80.0040.01116.94
8.0.70.0040.00416.85
8.0.60.0030.00516.86
8.0.50.0040.00417.09
8.0.30.0090.00916.96
8.0.20.0160.00317.19
8.0.10.0090.00917.12
8.0.00.0100.01016.89
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0080.00016.59
7.4.290.0000.00716.46
7.4.280.0030.00416.50
7.4.270.0040.00416.66
7.4.260.0060.00013.29
7.4.250.0070.00016.38
7.4.240.0070.00016.59
7.4.230.0050.00316.41
7.4.220.0030.00316.68
7.4.210.0140.00316.54
7.4.200.0040.00416.64
7.4.140.0040.01516.44
7.4.130.0120.00916.39
7.4.120.0150.00316.61
7.4.110.0030.01516.43
7.4.100.0030.01416.62
7.4.90.0060.01116.49
7.4.80.0180.00016.60
7.4.70.0110.00716.29
7.4.60.0060.01116.63
7.4.50.0120.00616.47
7.4.40.0100.00716.29
7.4.30.0100.00716.27
7.4.20.0130.01316.53
7.4.10.0120.01216.68
7.4.00.0170.00016.65
7.3.330.0060.00016.41
7.3.320.0030.00313.17
7.3.310.0070.00016.40
7.3.300.0030.00316.43
7.3.290.0090.01016.38
7.3.260.0090.00916.29
7.3.250.0070.01416.21
7.3.240.0070.01016.34
7.3.230.0130.00516.48
7.3.220.0120.00616.59
7.3.210.0150.00316.37
7.3.200.0150.00316.19
7.3.190.0140.00316.46
7.3.180.0040.01416.46
7.3.170.0060.01116.41
7.3.160.0100.00616.32
7.3.150.0100.00716.55
7.3.140.0090.00916.50
7.3.130.0170.00416.47
7.3.120.0150.00616.29
7.3.110.0110.00716.44
7.3.100.0170.00716.42
7.3.90.0140.00316.30
7.3.80.0100.00616.34
7.3.70.0110.00416.04
7.3.60.0090.00616.27
7.3.50.0140.00316.17
7.3.40.0100.00716.16
7.3.30.0140.00616.45
7.3.20.0090.00916.21
7.3.10.0070.01016.21
7.3.00.0060.01216.21

preferences:
72.72 ms | 401 KiB | 5 Q