Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 178 Bytes

InvalidPassByReference.md

File metadata and controls

10 lines (7 loc) · 178 Bytes

InvalidPassByReference

Emitted when passing a non-variable to a function that expects a by-ref variable

<?php

function foo(array &$arr) : void {}
foo([0, 1, 2]);