Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 172 Bytes

NonVariableReferenceReturn.md

File metadata and controls

11 lines (8 loc) · 172 Bytes

NonVariableReferenceReturn

Emitted when a function returns by reference expression that is not a variable

<?php

function &getByRef(): int {
    return 5;
}