In PHP you can optionally make parameters pass by reference with an &
in the function definition:
someFunction($byValue, &$byReference) {
// $byValue is passed in by value
// $byReference is passed in by reference due to the preceding &
}
Is this possible in Kotlin? If not, does anyone know if it's planned?