Hi! Michael Stucki wrote: > No idea since I'm not using Zend IDE. Well, if you make that change then I > prefer the 2nd option: > > $matches=array(); > if (preg_match('/xyz/', $string, $matches) I also prefer to have declared variables before passing them anywhere. It just makes code easier to read. Dmitry.