Improve isValidPHPCode method
improve examples