Re: [PHP-DEV] Re: Bug #16739 Updated: `print' variable function callfails.

2002-05-10 Thread derick
On Fri, 10 May 2002, Markus Fischer wrote: Hi, can someone state the technical problems we're facing? I'ld rather see this documented (whether it works or no, but documenting). print is implemented in the scanner level as token (T_PRINT) and that prohibits it for use as

Re: [PHP-DEV] Re: Bug #16739 Updated: `print' variable function callfails.

2002-05-10 Thread derick
On Fri, 10 May 2002, brad lafountain wrote: Cant we do both.. keep the scaner token and introduce the function? What would you reach by introducing such a mess? Derick --- [EMAIL PROTECTED] wrote: On Fri, 10 May 2002, Markus Fischer wrote: Hi, can someone state the

Re: [PHP-DEV] Re: Bug #16739 Updated: `print' variable function callfails.

2002-05-10 Thread derick
On Fri, 10 May 2002, brad lafountain wrote: I dont' think its too much of a mess PHP_FUNCTION(echo) { char *mess; int mess_len; if(zend_parse_parameters(*) == SUCCESS) php_write(buf, size TSRMLS_CC); } What you gain is allowing people to do the following code and you don't