3v4l.org

run code in 300+ PHP versions simultaneously
<?php $defaults = [ 'useremail' => null, 'distributor' => null, 'enduser' => null, 'distname' => null, 'contname' => null, 'testingdate' => null, 'dist_phone' => null, 'end_phone' => null, 'dist_email' => null, 'end_email' => null, 'w_material' => null, 'w_condition' => null, 'w_grade' => null, 'w_add_conditions' => null, 'w_hardness' => null, 'w_workholding' => null, 'machine_brand' => null, 'machine_model' => null, 'machine_type' => null, 'machine_max_rpm' => null, 'machine_horsepower' => null, 'spindle_taper' => null, 'coolant_type' => null, 'cooland_delivery' => null, 'concentration_percent' => null, 'tool_holder_type' => null, 'holder_condition' => null, 'holder_balancing' => null, 'static_runout' => null, 'holder_projection' => null, 'customer_parts_tool' => null, 'customer_linear_inches_tool' => null, 'customer_cu_inches_tool' => null, 'customer_cut_time_tool' => null, 'customer_cycle_time_reduction_pp' => null, 'customer_spindle_load' => null, 'customer_surface_finish_req' => null, 'tool_brand' => null, 'tool_style' => null, 'tool_coating' => null, 'tool_edp' => null, 'lot_shank' => null, 'lot_pkg' => null, 'number_flutes' => null, 'cutting_diameter_1' => null, 'shank_diameter_2' => null, 'length_cut_loc' => null, 'overall_length_oal' => null, 'length_below_shank_lbs' => null, 'tool_coating' => null, 'corner_construction_type' => null, 'corner_construction_size' => null, 'shank_construction' => null, 'surfacefeet' => null, 'revolutionsperminute' => null, 'feed_per_tooth_fpt' => null, 'ipm' => null, 'adoc' => null, 'rdoc' => null, 'metalremoval' => null, 'surface_finish' => null, 'cycle_time_ppart' => null, 'partsp_tool' => null, 'inches_machine_ptool' => null, 'cut_time_ptool' => null, 'brand_toolstyle' => null, 'brand_edp' => null, 'brand_lot_shank' => null, 'brand_lot_pkg' => null, 'brand_flutes_numb' => null, 'brand_cutting_diameter' => null, 'brand_length_of_cut' => null, 'brand_length_below_shank' => null, 'brand_tool_coating' => null, 'brand_corner_construction_type' => null, 'brand_corner_construction_size' => null, 'brand_shank_construction' => null, 'hsurfacefeet' => null, 'hrevolutionsperminute' => null, 'brand_fpt' => null, 'hipm' => null, 'hadoc' => null, 'hrdoc' => null, 'hmetalremoval' => null, 'brand_surface_finish' => null, 'brand_cycle_time_ppart' => null, 'brand_pptool' => null, 'brand_machined_ptool' => null, 'brand_ctime_ptool' => null, ]; $_POST = [ 'useremail' => 'foo@bar.com', 'dangerous_fieldname' => 'I am administrator! hahaha!', ]; $values = array_intersect_key($_POST + $defaults, $defaults); var_dump($values);

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.70.0070.01716.61
8.3.60.0110.01116.63
8.3.50.0110.00821.97
8.3.40.0140.01118.81
8.3.30.0100.01018.92
8.3.20.0090.00920.18
8.3.10.0040.00423.48
8.3.00.0080.00319.25
8.2.180.0170.00616.50
8.2.170.0070.01422.96
8.2.160.0040.01120.43
8.2.150.0140.00724.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0040.00422.11
8.2.110.0030.00622.29
8.2.100.0090.00317.91
8.2.90.0030.00619.09
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0000.00818.22
8.2.30.0030.00518.05
8.2.20.0000.00717.71
8.2.10.0040.00417.78
8.2.00.0050.00317.91
8.1.280.0120.00625.92
8.1.270.0000.00923.91
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0150.00723.84
8.1.230.0080.00319.05
8.1.220.0050.00317.79
8.1.210.0030.00518.77
8.1.200.0040.00417.23
8.1.190.0040.00417.39
8.1.180.0090.00018.10
8.1.170.0080.00018.65
8.1.160.0070.00021.95
8.1.150.0030.00518.57
8.1.140.0000.00817.50
8.1.130.0030.00317.84
8.1.120.0080.00017.46
8.1.110.0040.00417.45
8.1.100.0000.00817.53
8.1.90.0050.00317.50
8.1.80.0030.00317.40
8.1.70.0040.00417.41
8.1.60.0060.00317.64
8.1.50.0090.00017.48
8.1.40.0030.00517.44
8.1.30.0000.00817.64
8.1.20.0040.00417.64
8.1.10.0040.00417.45
8.1.00.0000.00717.44
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0030.00318.50
8.0.270.0040.00417.33
8.0.260.0030.00616.81
8.0.250.0030.00316.99
8.0.240.0030.00316.90
8.0.230.0080.00317.07
8.0.220.0030.00517.01
8.0.210.0070.00016.93
8.0.200.0070.00016.97
8.0.190.0040.00416.99
8.0.180.0080.00016.95
8.0.170.0000.00816.98
8.0.160.0040.00416.91
8.0.150.0040.00416.79
8.0.140.0000.00716.93
8.0.130.0050.00513.40
8.0.120.0000.00916.83
8.0.110.0030.00616.93
8.0.100.0040.00417.08
8.0.90.0000.00817.03
8.0.80.0040.01116.96
8.0.70.0000.00816.95
8.0.60.0070.00016.99
8.0.50.0000.00716.98
8.0.30.0170.00917.09
8.0.20.0110.01117.40
8.0.10.0040.00416.99
8.0.00.0190.00316.73
7.4.330.0000.00615.00
7.4.320.0080.00016.52
7.4.300.0070.00016.43
7.4.290.0050.00216.49
7.4.280.0000.00916.59
7.4.270.0070.00016.53
7.4.260.0040.00416.59
7.4.250.0040.00416.51
7.4.240.0050.00316.53
7.4.230.0030.00316.59
7.4.220.0120.00916.62
7.4.210.0030.01316.56
7.4.200.0040.00416.62
7.4.190.0040.00416.76
7.4.160.0160.00316.50
7.4.150.0000.02117.40
7.4.140.0130.01117.86
7.4.130.0130.01016.47
7.4.120.0110.00916.40
7.4.110.0120.00616.63
7.4.100.0100.01116.45
7.4.90.0090.00916.36
7.4.80.0100.01019.39
7.4.70.0070.01816.49
7.4.60.0140.00416.57
7.4.50.0000.00816.50
7.4.40.0030.00622.77
7.4.30.0110.00716.57
7.4.00.0120.00414.81
7.3.330.0000.00613.05
7.3.320.0030.00313.10
7.3.310.0000.00716.17
7.3.300.0000.00716.02
7.3.290.0000.01616.24
7.3.280.0050.01316.19
7.3.270.0090.01317.40
7.3.260.0090.01316.33
7.3.250.0100.01016.47
7.3.240.0130.00816.35
7.3.230.0100.01316.50
7.3.210.0130.00616.41
7.3.200.0060.01619.39
7.3.190.0190.00616.23
7.3.180.0140.00316.49
7.3.170.0130.00616.50
7.3.160.0110.01516.23
7.3.120.0070.00914.80
7.3.110.0090.00915.10
7.3.100.0030.01214.70
7.3.90.0070.01114.84
7.3.80.0030.01315.05
7.3.70.0060.00314.66
7.3.60.0060.00614.73
7.3.50.0000.00914.71
7.3.40.0070.00714.87
7.3.30.0130.00314.77
7.3.20.0040.00416.46
7.3.10.0070.00716.74
7.3.00.0090.00616.46
7.2.330.0070.01316.39
7.2.320.0130.00616.32
7.2.310.0180.00016.46
7.2.300.0140.00416.53
7.2.290.0130.01316.55
7.2.250.0060.00915.25
7.2.240.0070.01315.23
7.2.230.0000.01514.79
7.2.220.0070.00315.04
7.2.210.0070.00715.09
7.2.200.0070.01114.87
7.2.190.0070.01115.00
7.2.180.0030.00614.89
7.2.170.0030.01415.06
7.2.00.0060.00919.13
7.1.330.0000.01515.60
7.1.320.0030.00615.70
7.1.310.0070.00715.64
7.1.300.0070.01015.79
7.1.290.0030.00615.77
7.1.280.0030.00615.81
7.1.270.0040.00415.77
7.1.260.0070.01015.80
7.1.100.0040.00818.19
7.1.70.0000.01017.28
7.1.60.0120.00919.31
7.1.50.0110.00017.07
7.1.00.0030.07322.34
7.0.200.0040.00416.73
7.0.140.0000.07722.09
7.0.60.0070.08320.07
7.0.50.0070.08317.93
7.0.40.0070.08320.07
7.0.30.0370.04720.21
7.0.20.0430.06720.17
7.0.10.0030.07719.99
7.0.00.0070.08720.08
5.6.280.0130.06721.13
5.6.210.0100.08020.59
5.6.200.0100.06318.25
5.6.190.0070.05020.27
5.6.180.0330.08320.35
5.6.170.0430.07320.52
5.6.160.0100.07320.49
5.6.150.0100.07718.24
5.6.140.0030.07018.09
5.6.130.0170.07718.23
5.6.120.0130.03020.99
5.6.110.0170.06721.00
5.6.100.0130.08021.06
5.6.90.0000.06320.97
5.6.80.0030.04720.46
5.6.70.4500.04320.40
5.5.350.0130.09020.46
5.5.340.0000.08717.91
5.5.330.0000.09720.43
5.5.320.0400.07020.20
5.5.310.0070.06020.41
5.5.300.0130.03317.94
5.5.290.0100.04018.04
5.5.280.0070.07020.82
5.5.270.0030.06320.78
5.5.260.0230.06321.00
5.5.250.0000.05320.60
5.5.240.0270.06720.28
5.4.450.0800.05719.10
5.4.440.0800.06019.13
5.4.430.0370.05719.54
5.4.420.0600.00019.45
5.4.410.0030.06319.02
5.4.400.0270.05018.71
5.4.390.0270.05718.72
5.4.380.0300.05018.72
5.4.370.0070.05318.75
5.4.360.0070.04718.54
5.4.350.0070.03412.02
5.4.340.0050.03512.01
5.4.320.0030.03912.53
5.4.310.0070.03612.52
5.4.300.0090.04012.53
5.4.290.0100.04412.52
5.4.280.0070.04012.42
5.4.270.0070.04612.42
5.4.260.0060.03912.42
5.4.250.0090.04312.42
5.4.240.0090.04412.42
5.4.230.0100.04912.41
5.4.220.0070.04412.41
5.4.210.0100.03912.41
5.4.200.0200.04412.39
5.4.190.0170.04512.39
5.4.180.0190.04812.39
5.4.170.0160.04712.37
5.4.160.0140.05112.36
5.4.150.0200.04212.36
5.4.140.0190.04212.04
5.4.130.0180.04312.03
5.4.120.0190.04711.98
5.4.110.0170.04211.98
5.4.100.0190.04311.98
5.4.90.0170.04311.98
5.4.80.0150.04411.98
5.4.70.0140.04511.98
5.4.60.0180.04011.98
5.4.50.0170.04111.98
5.4.40.0140.04311.97
5.4.30.0150.04411.96
5.4.20.0150.04611.96
5.4.10.0200.04411.96
5.4.00.0170.04111.46
5.3.290.0060.04812.80
5.3.280.0040.03912.71
5.3.270.0160.04912.72
5.3.260.0100.05212.72
5.3.250.0230.04112.72
5.3.240.0200.04612.71
5.3.230.0220.04412.71
5.3.220.0210.04612.68
5.3.210.0190.04812.68
5.3.200.0160.04812.68
5.3.190.0180.04812.68
5.3.180.0150.04612.68
5.3.170.0140.04812.67
5.3.160.0140.04512.67
5.3.150.0140.04612.67
5.3.140.0150.04612.66
5.3.130.0150.04712.66
5.3.120.0160.04512.66
5.3.110.0170.04412.66
5.3.100.0190.04212.12
5.3.90.0160.04512.09
5.3.80.0190.04112.07
5.3.70.0190.04212.07
5.3.60.0150.05012.07
5.3.50.0120.05212.00
5.3.40.0200.04212.00
5.3.30.0220.03811.93
5.3.20.0150.04511.71
5.3.10.0130.04511.67
5.3.00.0150.04511.65
5.2.170.0210.0609.16
5.2.160.0190.0349.17
5.2.150.0150.0379.17
5.2.140.0170.0409.16
5.2.130.0170.0399.13
5.2.120.0200.0309.13
5.2.110.0360.0769.13
5.2.100.0190.0329.13
5.2.90.0160.0359.12
5.2.80.0140.0429.11
5.2.70.0150.0369.11
5.2.60.0160.0339.07
5.2.50.0200.0279.04
5.2.40.0110.0399.02
5.2.30.0160.0328.99
5.2.20.0110.0388.98
5.2.10.0130.0358.90
5.2.00.0150.0348.76
5.1.60.0110.0298.05
5.1.50.0090.0358.05
5.1.40.0160.0278.04
5.1.30.0120.0328.38
5.1.20.0120.0338.41
5.1.10.0150.0318.13
5.1.00.0080.0348.12
5.0.50.0100.0276.61
5.0.40.0100.0236.46
5.0.30.0110.0356.27
5.0.20.0120.0216.25
5.0.10.0060.0256.23
5.0.00.0150.0316.22
4.4.90.0080.0184.78
4.4.80.0070.0184.76
4.4.70.0100.0184.75
4.4.60.0080.0224.75
4.4.50.0090.0204.77
4.4.40.0110.0284.71
4.4.30.0110.0164.76
4.4.20.0080.0204.84
4.4.10.0130.0164.85
4.4.00.0140.0234.76
4.3.110.0090.0184.67
4.3.100.0080.0184.66
4.3.90.0140.0124.63
4.3.80.0090.0264.59
4.3.70.0060.0204.63
4.3.60.0080.0194.63
4.3.50.0070.0184.63
4.3.40.0080.0314.54
4.3.30.0040.0203.29
4.3.20.0060.0203.27
4.3.10.0050.0213.23
4.3.00.0170.0236.24

preferences:
44.53 ms | 401 KiB | 5 Q