Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php named parameters

// positional
function_name(0, 100, 50);
// named
function_name(start_index: 0, num: 100, value: 50);
// The order does not matter.
function_name(value: 50, num: 100, start_index: 0);
 
PREVIOUS NEXT
Tagged: #php #named #parameters
ADD COMMENT
Topic
Name
7+5 =