dexen
public php v1 · immutable/** a way to define function with default argument */function myFunc( $normalArgument, $defaultArgument = 10 ) { // $defaultArgument is always set, but you don't need to pass it to function call print $normalArgument * $defaultArgument;}