I use Zend IDE and quite often use Analyze code to quickly find undeclared or unused variables. As all PHP developers I also use regular expressions.
So main question is where to set a checkbox or tune config file to disable these warnings:
Bad escape sequence: \s (line NN)
Thanks for answers!
Why don’t you just correct the mistyped string declarations. If you have the regular expression foo\sbar
, write it as:
'foo\\sbar'
"foo\\sbar"