Please sign in to comment.
UndefinedFunctionCheck; $_ set even on null; style overhaul
Summary: i should have separated these but i didn't, deal-with-it UndefinedFunctionCheck has been requested for some time now. for $_ on null: this behavior seemed wrong: php> =$a=4 4 php> =$b=null null php> =$_ 4 but note that now we have: php> =$a=4 4 php> echo 'hi' hi php> =$_ null i think this is the better trade-off. no one in their right mind uses $_ anyway but it's less kooky and more elegant now anyway. Reviewed By: marcel Test Plan: php> =strleng() Not executing input: Possible call to undefined function strleng() See /etc/phpsh/config.sample to disable UndefinedFunctionCheck. but old behavior if ~/.phpsh/config with [General] UndefinedFunctionCheck: yes
- Loading branch information...
Showing with 326 additions and 242 deletions.
Oops, something went wrong.