On 16 Aug 2011, at 13:23, Hannes Magnusson wrote: > On Tue, Aug 16, 2011 at 13:05, Stefan Marr <p...@stefan-marr.de> wrote: >> Hi Hannes: >> >> On 16 Aug 2011, at 12:46, Hannes Magnusson wrote: >> >>> + if (!strcmp(Z_STRVAL_P(name), "strict")) { >>> + zend_error(E_COMPILE_ERROR, "You seem to be trying to >>> use a different language..."); >>> + } >> Could we change that error to be a bit more explicit about what is not >> expected? > > I'm unsure what you are asking...
Sorry, I don't know anything about the context of that change, but I don't see how anyone but you knows what 'zend_error(E_COMPILE_ERROR, "You seem to be trying to use a different language...");' means when it pops up in an error output. The goal of an error message should be to help to identify the cause for it, and even better to help to avoid it in the future, right? Best regards Stefan -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php