Overview
Comment:teste la syntaxe des fichiers php
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d790e5903521a9be4579312c4f232db6b7a0f30e
User & Date: bohwaz on 2014-03-14 18:43:39
Other Links: manifest | tags
Context
2014-03-14
18:44
Passage des tableaux en syntaxe courte check-in: 458d0edb83 user: bohwaz tags: trunk
18:43
teste la syntaxe des fichiers php check-in: d790e59035 user: bohwaz tags: trunk
18:28
Passage à la syntaxe courte des array() dans PHP 5.4 check-in: ee4dfba719 user: bohwaz tags: trunk
Changes

Added tests/syntax.sh version [9f1c94329e].

















>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
#!/bin/sh

SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"

cd $SCRIPTPATH
cd ../src

find . -name '*.php' -exec php -l '{}' \; | fgrep -v 'No syntax error'