The "check syntax" appears to be the -l (lowercase L for Lint) flag. I don't know if there's any such thing as -w, although you might find something on this page. Does PHP even have warnings the way Perl does? It's not that type of language, I don't think. I see "warnings" from PHP pages all the time on the web, when they've failed completely.