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
$line is one of the variables that bleed over from the context that evaluates the code that was typed in.
While I don't think we can provide a completely clean context with eval(), we can certainly make sure we're not using something that is as easy to run into conflicts with than $line.
I haven't had the chance to dig into this further, but just wanted to log this somewhere to prevent forgetting about it.
Assigning a value to
$line
inwp shell
gives very unexpected results, causing some pretty confusing behavior and bugs.Behavior:
The text was updated successfully, but these errors were encountered: