Php syntax checker

Aus crazylinux.de
Zur Navigation springen Zur Suche springen

A simple way to check syntax is by using the php syntax checker

$ php -l LanguageAr.php
No syntax errors detected in LanguageAr.php
$

Note that this will only catch syntax errors and not runtime errors, you can only test for those by actually running the code.

from http://meta.wikimedia.org/wiki/Mediawiki_i18n