On Wed, 2008-03-05 at 18:15 +0300, Antony Dovgal wrote: > On 05.03.2008 18:12, Jani Taskinen wrote: > > -Parse error: parse error, expecting `T_VARIABLE' or `'$'' in %s(9) : > > mbregex replace on line %d > > +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or > > '$' in %s/bug43301.php(%d) : mbregex replace on line 1 > > Jani, this error message depends on bison IIRC, so the first one is > correct for MacOS with older bison and the second is correct for newer > versions.
This is correct output with bison 2.3 which is propably the most common version around in Linux distros. MacOSX is marginal OS anyway. And like I said in the commit message, this was simply merge from PHP_5_3. Just keeping it in sync here.. -- Patches/Donations: http://pecl.php.net/~jani/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php