Php syntax checker: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
 
Keine Bearbeitungszusammenfassung
 
Zeile 8: Zeile 8:


from http://meta.wikimedia.org/wiki/Mediawiki_i18n
from http://meta.wikimedia.org/wiki/Mediawiki_i18n
{{Category:Tips und Tricks}}
[[Category:Tips und Tricks]]

Aktuelle Version vom 10. Juni 2006, 21:14 Uhr

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