Re: Re: Parse errors & php -l vs CVS
| From: | Christian Weiske | Date: | Wed, 12 Nov 2008 15:15:12 +0000 |
| Subject: | Re: Re: Parse errors & php -l vs CVS | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51062@lists.php.net to get a copy of this message | ||
Hello Mark,
> > till points out there's a bunch of parse errors around the place.
> Parse error: syntax error, unexpected '.', expecting ')' in
> ./Structures_DataGrid/docs/examples/htmleditform-basic.php on line 5
> Errors parsing
> ./Structures_DataGrid/docs/examples/htmleditform-basic.php
>
> Line 9 and 5 are:
> $datagrid->bind(...); // bind your data here
>
> We could add a short array here, yes, but this clearly states that one
> has to edit the code to be able to run the example in a reasonable
> manner.
>
> Maybe the docs directory should be excluded from the list?
No, broken examples are bad, even worse than broken normal code.
--
Regards/Mit freundlichen Grüßen
Christian Weiske