Re: [PHP-DEV] CGI and CLI [packaging issues]

2003-01-05 Thread Jean-Michel Dault
Le sam 04/01/2003 à 18:13, Marcus Börger a écrit : > What might happen is that CLI becomes widely accepted and scripts > calling php from shebang lines. Id so your above solution is a bad idea > and i hope CLI will be... I'm CC'ing the maintainers of PHP for most distributions of Linux, so we can

[PHP-DEV] CLI behavior with -q switch

2003-01-05 Thread Jean-Michel Dault
Several production sytems I manage have a bunch of php scripts, that were called with php -q using the CGI interface. The problem is that the -q switch is still in the CLI for backward compatibility, but it breaks scripts because it does not change directories. I would strongly suggest that the

[PHP-DEV] CVS Account Request: decorj

2003-01-05 Thread Andre Vasconcelos Roque
Translating the PHP manual to Portuguese (Brazil) -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] string functions

2003-01-05 Thread Leon Atkinson
> Because this behavior is not documented For the record, it is documented: http://www.php.net/manual/en/function.strstr.php "If needle is not a string, it is converted to an integer and applied as the ordinal value of a character. " And I'm sure it's worked this way for at least three years. L

Re: [PHP-DEV] Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-05 Thread Edin Kadribasic
Hello, Read-only GIF support has now been enabled in the windows version of the bundled GDLIB. Fixed version of php_gd2.dll compatible with PHP 4.3.0 will be available from http://snaps.php.net/win32/php4-win32-STABLE-latest.zip in approx. 8 hours. Edin - Original Message - From: "Brian

[PHP-DEV] no get_property_resource ?

2003-01-05 Thread Clinton Roy
Hello, I'm writing an extension module to wrap an external library, I've got to the point of having classes that need to reference resources, so I call add_property_resource, but I'm not sure how to get the resource reference back from the object when I need it? The ming extension defines it's o

Re: [PHP-DEV] string functions

2003-01-05 Thread Moriyoshi Koizumi
I mentioned a similar inconsistency of range() parameters in the past and pointed out a possible BC breaking issue raised by your recent patch on array.c in HEAD. http://news.php.net/article.php?group=php.dev&article=91489 http://news.php.net/article.php?group=php.dev&article=92910 I meant no tri

Re: [PHP-DEV] string functions

2003-01-05 Thread Sascha Schumann
On Sun, 5 Jan 2003, Ilia A. wrote: > While converting the functions inside string.c to the new parameter parsing > API and doing some general cleanup, I've come across an interesting > 'feature'. Ilia, there is a consensus that the new (slower) parameter parsing is only supposed to be use

[PHP-DEV] Generic expressions interpolation in strings

2003-01-05 Thread Federico Giannici
I already opened a bug (#21433) about this Feature Request, but I realized it is better to discuss here about it. I'm relatively new to PHP. Previously I used to program a lot in Perl. What I really lack in PHP is Perl's ability to interpolate any expression inside a string. For example: Perl: "

[PHP-DEV] string functions

2003-01-05 Thread Ilia A.
While converting the functions inside string.c to the new parameter parsing API and doing some general cleanup, I've come across an interesting 'feature'. Three string functions: stristr(), strstr() and strpos() have peculiar way of handling non string values passed as 'needle'. Instead of conv

[PHP-DEV] Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-05 Thread Brian Weil
So... WIll gif support ever be available on win32? Can a patched gd.dll be found somewhere with readonly gif support or will we have to re-install php when the binary is updated? I've been (patiently) waiting for this since GD1.6. Thanks, Brian "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP-DEV] Statistical analysis extension

2003-01-05 Thread Nyk Cowham
Hi Andrey, I have already built some wrappers around just the gsl_stats_* functions in GSL during my first cut at adding some stats functionality. Unfortunately GSL doesn't have any ANOVA functions or too many nonparametric tests (look to MacANOVA for that I guess). Please let me know what res

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/gd gd_bundled.dsp

2003-01-05 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > sebastian Sun Jan 5 11:32:02 2003 EDT > > Modified files: > /php4/ext/gd gd_bundled.dsp > Log: > Define HAVE_GD_GIF_READ. Now I get gd.obj: error LNK2001: Unresolved external symbol: _gdImageCreateFromGifCtx gd.obj: error LNK2

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main .cvsignore config.w32.h config.w32.h.in /win32 php4dll.dsp php4dllts.dsp

2003-01-05 Thread Sebastian Bergmann
Rasmus Lerdorf wrote: > You need to define HAVE_GD_GIF_READ when building the gd extension > against the bundled libgd. I don't think that config.w32.h is the right place for this, since ext/gd is not built-in. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://ph

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /main .cvsignore config.w32.hconfig.w32.h.in /win32 php4dll.dsp php4dllts.dsp

2003-01-05 Thread Pierre-Alain Joye
On Sun, 05 Jan 2003 17:23:48 +0100 Sebastian Bergmann <[EMAIL PROTECTED]> wrote: > Pierre-Alain Joye wrote: > > While you are working on it, is it possible to fix these actually > > completly useless constants ? using getenv too ? > > > > It will be very usefull. > > I don't know how. Someone e

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main .cvsignore config.w32.h config.w32.h.in /win32 php4dll.dsp php4dllts.dsp

2003-01-05 Thread Sebastian Bergmann
Pierre-Alain Joye wrote: > While you are working on it, is it possible to fix these actually > completly useless constants ? using getenv too ? > > It will be very usefull. I don't know how. Someone else is/was working on it, IIRC. -- Sebastian Bergmann http://sebastian-bergmann.de/

[PHP-DEV] ext_skel

2003-01-05 Thread Andi Gutmans
Hi, Someone seems to have changed ext_skel to create the ZEND_FETCH_RESOURCE() call to be inside an if() statement to check the resource is non-zero, i.e.: if (myresource) { ZEND_FETCH_RESOURCE(); } What is the reason this was added? The resource mechanism checks for this automatically and

Re: [PHP-DEV] branch compile problem - win32

2003-01-05 Thread Edin Kadribasic
> Maybe this is know but on snaps there is an error : > Next STABLE Win32 snapshot in: Win32 build failed. Consult compile.log for > failure reason. > Cvs build is ok. It should be fixed now (or on the next stable build to be precise). Edin -- PHP Development Mailing List

Re: [PHP-DEV] Maintainer of SNMP module?

2003-01-05 Thread Harrie Hazewinkel
HI, This is the same as you have send to the net-snmp-users mailinglist, right?? If not let me know. Harrie On Thursday, December 26, 2002, at 09:06 PM, Johann Hanne wrote: Hi, is somebody actually maintaining the SNMP module? I'm currently using PHP 4.2.3 and I have two major problems whic

Re: [PHP-DEV] Zend 2 - how to test

2003-01-05 Thread Marcus Börger
At 12:47 05.01.2003, Stefano Corsi wrote: Hello. I have downloaded Zend2 and tried to compile it against php 4.3.0 with many errors during the linking phase and some corrections at main/* files. Which is the right version/checkout for php to compile against Zend2 and where is it possible to get

[PHP-DEV] branch compile problem - win32

2003-01-05 Thread Andrey Hristov
Maybe this is know but on snaps there is an error : Next STABLE Win32 snapshot in: Win32 build failed. Consult compile.log for failure reason. Cvs build is ok. Andrey -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Zend 2 - how to test

2003-01-05 Thread Stefano Corsi
Hello. I have downloaded Zend2 and tried to compile it against php 4.3.0 with many errors during the linking phase and some corrections at main/* files. Which is the right version/checkout for php to compile against Zend2 and where is it possible to get it? Thanks, Stefano -- PHP Deve

Re: [PHP-DEV] Statistical analysis extension

2003-01-05 Thread Andrey Hristov
I hope that this is delay because of the holidays. I will try again in few days. And if then I have no answer I will discontinue my efforts Thanks for the reply. Andrey - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]>; "George Schlo

Re: [PHP-DEV] Statistical analysis extension

2003-01-05 Thread Andi Gutmans
If you haven't received any approval you should assume that it's disapproval. Andi At 10:16 AM 1/5/2003 +0200, Andrey Hristov wrote: Hi GSL(GNU Scientific Library) has a part about statistics. It has 27 functions. I think not to copy the names of all functions. At the moment or better - my curr

Re: [PHP-DEV] Statistical analysis extension

2003-01-05 Thread Andrey Hristov
Hi GSL(GNU Scientific Library) has a part about statistics. It has 27 functions. I think not to copy the names of all functions. At the moment or better - my current effort to wrap this library. However it is GPLed and I haven't received an (dis)approval from the authors. You make take a look at t