Update compiler.js

support php tag when visitTag