A
Anonymous
Guest
I'm trying to learn and understand the correct terminology for some php script being used to create a pdf document using fpdf.
function show_other_info($sale_id, $prepayment_info, $pdf, $y_start=180, $fnt_sz, $style=4){
What is the correct term to use for the items in the parenthesis?
Are they variables, strings, arguments or something else altogether?
Do items in the parenthesis have to be defined in the function and/or somewhere else in the same script?
I've searched online using things like w3schools but they just cover a basic function syntax, php.net seems to reference 'passing arguments' so any comments or pointing in the right direction would be greatly appreciated.
function show_other_info($sale_id, $prepayment_info, $pdf, $y_start=180, $fnt_sz, $style=4){
What is the correct term to use for the items in the parenthesis?
Are they variables, strings, arguments or something else altogether?
Do items in the parenthesis have to be defined in the function and/or somewhere else in the same script?
I've searched online using things like w3schools but they just cover a basic function syntax, php.net seems to reference 'passing arguments' so any comments or pointing in the right direction would be greatly appreciated.