[PHP-DEV] Is there a technical reason

2009-05-18 Thread Roman I
>From what I know, in the future versions of PHP short tags are going to be disabled by default. Considering the conflicts with XML syntax, that's understandable. However, is there a technical reason to consider "<%="|"value.str.val = yytext; /* no copying - intentional */ zendlval->value.str.len

Re: [PHP-DEV] Is there a technical reason

2009-05-30 Thread Roman I
Philip Olson wrote: > > On May 18, 2009, at 5:33 PM, Roman I wrote: > > > From what I know, in the future versions of PHP short tags are going > > to be > > disabled by default. > > > Common misunderstanding but the short_open_tag directive will never

Re: [PHP-DEV] Is there a technical reason

2009-06-04 Thread Roman I
Philip Olson wrote: > On May 30, 2009, at 12:49 PM, Roman I wrote: > > > Philip Olson wrote: > >> > >> On May 18, 2009, at 5:33 PM, Roman I wrote: > > This neither answers nor invalidates the original question, though. > > Unfortunately I do not remem

Re: [PHP-DEV] Type hinting - Request for Discussion

2009-07-24 Thread Roman I
This sounds very similar to preconditions in Design by Contract. However, preconditions validate input to the method as a whole, while the proposed syntax only checks individual arguments one at a time. Thus the proposed syntax has rather significan limitations compared to real preconditions. For