Answers for "php named parameters"

PHP
0

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);
Posted by: Guest on August-08-2021

Browse Popular Code Answers by Language