On Tue, Nov 30, 2010 at 11:55 AM, Aryeh Gregor <[email protected]> wrote: > This assumes that all .inc files are actually PHP. Probably they are > right now, but I can foresee this potentially breaking years down the > line and confusing someone. Maybe for .inc files, you should check if > they start with "<?php" before trying php -l. >
That's one option. Another would be to stop using .inc files ;-) -Chad _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
