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

2002-05-10 Thread Markus Fischer
Hi, can someone state the technical problems we're facing? I'ld rather see this documented (whether it works or no, but documenting). - Markus On Fri, May 10, 2002 at 08:04:25AM +0200, Derick Rethans wrote : Hello, as far as I know this never worked, the wisest thing

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

[PHP-DEV] Some WIN contrib

2002-05-10 Thread Mladen Turk
Hi all, Here are the two SAPI apps I wrote recently to help me to use the PHP more productively. The first is php_srv, and enables me to run the script as windows service, or as standard console application. It has the --install, --install-auto, --remove service management options, and

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Markus Fischer
Hi, $ php -v 4.3.0-dev (cli) but $ php -m Running PHP 4.3.0-dev Zend Engine v2.0.0-dev, Copyright (c) 1998-2002 Zend Technologies [PHP Modules] xml tokenizer standard session posix pcre overload mysql mbstring ctype

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cliphp_cli.c

2002-05-10 Thread derick
On Fri, 10 May 2002, Markus Fischer wrote: [...] Shouldn't we move the Zend Engine version output to php -v too and let -m only list the modules -v only all the version numbers ? Sounds like a good idea to me, and then we can also output the 3 different kidns of API NOs to php

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

2002-05-10 Thread Manuzhai
Is it impossible to make it a language construct as well as a function? Manuzhai [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 10 May 2002, Markus Fischer wrote: Hi, can someone state the technical problems we're facing? I'ld

Re: [PHP-DEV] Some WIN contrib

2002-05-10 Thread fabwash
wow that's nice! fab. - Original Message - From: Mladen Turk [EMAIL PROTECTED] To: PHP dev list [EMAIL PROTECTED] Sent: Friday, May 10, 2002 6:08 AM Subject: [PHP-DEV] Some WIN contrib Hi all, Here are the two SAPI apps I wrote recently to help me to use the PHP more productively.

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

2002-05-10 Thread brad lafountain
Cant we do both.. keep the scaner token and introduce the function? - Brad --- [EMAIL PROTECTED] wrote: 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

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 call fails.

2002-05-10 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: 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? I dont' think its too much of a mess PHP_FUNCTION(echo) { char *mess; int mess_len;

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

[PHP-DEV] CVS Account Request: sagi

2002-05-10 Thread Sagi Bashari
phpdoc - Help with the hebrew translation of the PHP manual. pear - Hopefully, help in the development of pear (contribute some classes that I wrote). -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Committal list

2002-05-10 Thread Dan Hardiker
May I ask, how many people have CVS accounts with commital access? (I just see an awful lot of account requests and was interested) -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] CVS Committal list

2002-05-10 Thread Rasmus Lerdorf
There are currently 522 CVS accounts most of which have commit access to something. On Fri, 10 May 2002, Dan Hardiker wrote: May I ask, how many people have CVS accounts with commital access? (I just see an awful lot of account requests and was interested) -- Dan Hardiker [[EMAIL

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Markus Fischer
Hi, I've modified the out now to look something like $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies Derick suggested also to add some other internal version numbers like module about for both PHP and Zend. We just

[PHP-DEV] Operator Precedence

2002-05-10 Thread Andrew Sitnikov
Hello php-dev, Why How this code will work? ? function foo($flag) { return $flag; } $a=TRUE; echo if (!\$a = foo(FALSE))) is ; if (!$a = foo(FALSE)) echo true; else echo false; echo \n; var_dump($a); echo \n; ? Output: if (!$a =

[PHP-DEV] [PATCH] IMAP module efficiency improvements

2002-05-10 Thread Rob Siemborski
Last summer I sent in some patches to speed up the IMAP module's dealing with large mailboxes. At the time I noted that there were similar problems with other parts of the module, but I didn't have time to fix them then. Since I still see the problems in 4.2.0 (and I've suddenly had a need to

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cliphp_cli.c

2002-05-10 Thread Yasuo Ohgaki
Markus Fischer wrote: Hi, I've modified the out now to look something like $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies Derick suggested also to add some other internal version numbers like module about for

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Markus Fischer
: $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510 ? Hmm, now looking again, this looks ugly :) Would it make sense to have $ php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cliphp_cli.c

2002-05-10 Thread Yasuo Ohgaki
, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510 Or is this just unnecessary bloat and let's fire all versions we have to standard output with -v ? It looks great to have -v and -vv options. -- Yasuo

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

2002-05-10 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: 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

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Edin Kadribasic
$ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510 ? Hmm, now looking again, this looks ugly :) Would it make sense to have

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Markus Fischer
On Sat, May 11, 2002 at 04:22:48AM +0200, Edin Kadribasic wrote : $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Edin Kadribasic
$ php -vv PHP 4.3.0-dev (cli), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510 On second thought, do we really need this. Can you

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cliphp_cli.c

2002-05-10 Thread Yasuo Ohgaki
Edin Kadribasic wrote: $ php -vv PHP 4.3.0-dev (cli), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510 On second thought, do we

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cliphp_cli.c

2002-05-10 Thread Dan Kalowsky
On Sat, 11 May 2002, Markus Fischer wrote: $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510 ZEND_MODULE_API_NO 20020510 While this may look ugly, I'd say stick

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-10 Thread Markus Fischer
On Sat, May 11, 2002 at 12:33:21AM -0400, Dan Kalowsky wrote : On Sat, 11 May 2002, Markus Fischer wrote: $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies PHP_VERSION_API 20020510 ZEND_EXTENSION_API_NO 20020510