PHP - regexp modifiers changed