PHP does all three, pass-by-value (simple values), pass-reference-by-value (objects and arrays), pass-by-reference (when using & prefix)
The terms still have important distinctions in modern languages as they are functionally different.
PHP does all three, pass-by-value (simple values), pass-reference-by-value (objects and arrays), pass-by-reference (when using & prefix)
The terms still have important distinctions in modern languages as they are functionally different.