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

2002-05-10 Thread derick
On Sat, 11 May 2002, 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 > >

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

2002-05-10 Thread derick
On Sat, 11 May 2002, Yasuo Ohgaki wrote: [...] > IMHO, we need someone who documents language design Actually, we need someone to finish this: http://cvs.php.net/cvs.php/php-lang regards, Derick --- Did I help you?

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 20020

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 loo

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_MODU

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 w

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 >

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, th

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

2002-05-10 Thread Yasuo Ohgaki
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 > > Or is this just unnecessary bloat and let's fire all versions > we have to stan

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 pe

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

2002-05-10 Thread Markus Fischer
macros are used. Ok, that would mean getting the PHP version number is something like php -v |grep PHP |grep -v PHP_ | ... sounds ok to me. So a complete output can look like: $ php -v PHP 4.3.0-dev (cli) Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technolog

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 abou

[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 i

[PHP-DEV] Operator Precedence

2002-05-10 Thread Andrew Sitnikov
Hello php-dev, Why & How this code will work? Output: if (!$a = foo(FALSE))) is true bool(false) http://www.php.net/manual/en/language.operators.php "Operator Precedence" `!` has more precedence than `=` And after `!` we must have boolean constant in left side: FALSE =

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 need

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 PROTE

[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 To unsubscribe, visit: http://www.php

[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 To unsubscribe, visit: http://www.php.net/unsub.php

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 an

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: > 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 someon

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

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 > pro

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] 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 ph

[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

[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 --logfile

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

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