roman wrote:Is in Sublime editor php syntax checker? can this function be done somehow? Can it be done with setting up new build option and if so, how to do that?
Try the SublimeLinter plugin, it has php syntax checking either interactively, on load/save or on demand.
https://github.com/Kronuz/SublimeLinter or you can install it via the Package Control plugin.