1) Problem with stripping front & back slashes Looking for an easy way to find php array definitions without quotes $foo[bar] = 'bad'; with definitions with quotes: $foo['bar'] = 'good'; Peter Bojanic suggested the following: grep \"[[^'\"$].*[^'\"]]\" *.php Which is the set of all things in square brackets that do not start with either quote character or a $. This set includes some valid extras, like $bits[count($bits)-1], but you just have to careful. Extra spaces below a ?> in a php script can cause problems with cookies, caching, sessions, etc.. It's often a problem finding which file has the extra...