"Undefined Variable Error" thrown for used variables whose value are null · Issue #23 · jeremeamia/super_closure · GitHub
More Web Proxy on the site http://driver.im/
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
I am curious as to why isset is being used on line 153 of the closure parser where the getUsedVariables method is called, as opposed to array_key_exists. The effect is that used variables whose value are null are not passed through which becomes an issue during the unserialization process, since they can not be found. An undefined variable error is thrown instead.
I am curious as to why
isset
is being used on line 153 of the closure parser where thegetUsedVariables
method is called, as opposed toarray_key_exists
. The effect is that used variables whose value arenull
are not passed through which becomes an issue during the unserialization process, since they can not be found. An undefined variable error is thrown instead.super_closure/src/Jeremeamia/SuperClosure/ClosureParser.php
Line 153 in 13184e2
The text was updated successfully, but these errors were encountered: