Re: [PHP-DOC] operator precedence missing

2003-01-19 Thread James E. Flemer
Well actually I didn't notice that one, but now that I have looked at it I'm glad I wrote mine w/o looking at the Zend one. The Zend one is a bit cluttered, but I can probably use it to figure out the few remaining precedence issues. It is interesting how flex start conditions were used to deal wi

Re: [PHP-DOC] operator precedence missing

2003-01-19 Thread Derick Rethans
On Sun, 19 Jan 2003, James E. Flemer wrote: > I am about 90% done writing a bison grammar for PHP, but > will have to do some code reading to find the precedence of > the class related operators. If someone knows where they > should go, I'd appreciate a reply. Why are you writing bison grammer w

Re: [PHP-DOC] operator precedence missing

2003-01-19 Thread Gabor Hojtsy
The operator precedence table[1] is missing several operators. The following operators are missing: "->" class member operator "::" scope resolution operator "<>" not equals (same precedence as "!=" ?) Well, I don't know the precedence, so someone with sufficient knowlegde can please add these

[PHP-DOC] operator precedence missing

2003-01-18 Thread James E. Flemer
The operator precedence table[1] is missing several operators. The following operators are missing: "->"class member operator "::"scope resolution operator "<>"not equals (same precedence as "!=" ?) Also missing are a few casts: (bool), (boolean), (real), (double), (integer). Though

Re: [PHP-DOC] @ operator

2001-03-21 Thread Hojtsy Gabor
> > But it is not the intended use > > of this modifier I think... Maybe it is... > It works this way, and it's good (as for me). > Anyone may help us on this issue (if ever this is an issue). The question is exactly that we should use @ on undifined variables, or we shouldnt use undefined vars..

Re: [PHP-DOC] @ operator

2001-03-21 Thread Damien Seguy
on 21/03/01 19:48, Hojtsy Gabor at [EMAIL PROTECTED] wrote: > Well, the text says: > > | When prepended to an expression in PHP, any error messages > | that might be generated by that expression will be ignored. > > Variables are expressions themselfs... You're right, but this may be made cleare

Re: [PHP-DOC] @ operator

2001-03-21 Thread Hojtsy Gabor
Hi! > I noticed that the "@" operator works also on variables. > > error_reporting(E_ALL); > print @$not_defined_variables > print ""; // just for the sight > print $not_defined_variables > > ?> > > Did I mentionned something knew from long? > If not, I'll add this in the doc tomorow. Well,

[PHP-DOC] @ operator

2001-03-21 Thread Damien Seguy
Hi all, I noticed that the "@" operator works also on variables. "; // just for the sight print $not_defined_variables ?> Did I mentionned something knew from long? If not, I'll add this in the doc tomorow. Bye. Damien Seguy