You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
<?php
function testUndefinedRefParam($subject)
{
// Notice: You are trying to use an undefined variable $matches [undefined-variable]
if (preg_match('/$([a-zA-Z0-9_]+)/', $subject, $matches)) {
echo "test\n";
}
}
The text was updated successfully, but these errors were encountered:
Although you can obtain a list of parameters passed by reference of built-in functions, it can not judge whether it is assignment(e.g. preg_match) or change(e.g. each).
Moved from #298
The text was updated successfully, but these errors were encountered: