[PHP-DEV] zend_atoi() compatibilty

2004-07-26 Thread Curt Zirzow
In light of bug#29306 (http://php.net/29306), I looked at zend_atoi and found that it uses strtol which treats numbers prefixed with 0 as octal, according to my docs on BSD. Can i get a confirmation that this is standard strtol behaviour, so I can document it as such? Thanks! Curt -- First, l

Re: [PHP-DEV] [Fwd: PHP5 in Windows]

2004-07-26 Thread Edin Kadribasic
Hi Phil, Sorry but I completely missed the installer for php5. I've just committed it to the cvs so it should be showing up on the mirrors in the next few hours. Edin - Original Message - From: "Phil Driscoll" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Gabor Hojtsy" <[EMAIL PROTEC

[PHP-DEV] Re: Bugreports - is it worth it? (or: glob() disclosing file names with open_basedir and safe_mode-restriction)

2004-07-26 Thread Peter Brodersen
Hi, On Mon, 26 Jul 2004 10:39:42 +0200 Jakub Vrana <[EMAIL PROTECTED]> wrote: > > Is there any way restricting people from retrieving file names (where > > open_basedir and safe_mode obviously won't help), besides adding glob to > > disable_functions in php.ini? > If I understand you correctly, o

Re: [PHP-DEV] Segfault problem with PHP5

2004-07-26 Thread Rasmus Lerdorf
> If the segfault was the same everytime it should be easy to track > down, but I've had a large amount of different segfaults running > apache through gdb. The other thing is that one screen can be loaded > different times before the segfault comes as well, sometimes the > segfault comes straight

[PHP-DEV] explicit clone vs implicit zend.ze1_compatibility_mode clone

2004-07-26 Thread Rob Richards
Referencing bug 29386, I am not sure wether this would be considered a bug or expected behavior. It looks like in order to support using an explicit clone call, you also have to support implicitly called clones when zend.ze1_compatibility_mode clone is set on. It seems to be an all or nothing there

Re: [PHP-DEV] Calling PHP functions from an extension

2004-07-26 Thread John Lim
A bulb lights up! Now i understand. I hand-coded the extension source code based on Rasmus' PHP book, and did not use the skeleton. Thx Andrey "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It is for thread safety access of globals. Defined in basic_functions.h :

[PHP-DEV] who is setting php_init_environ?

2004-07-26 Thread Kamesh Jayachandran
Hi All, I have seen, extern int php_init_environ(void); inside the main/php.h Who is defining this function? Where it is used? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [Fwd: PHP5 in Windows]

2004-07-26 Thread Phil Driscoll
On Monday 26 July 2004 12:48, Gabor Hojtsy wrote: > Well, this is not my duty, contact the release manager reponsible for > the Windows version. This is a lot requested package. Done. -- Phil Driscoll -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.n

[PHP-DEV] Re: Bugreports - is it worth it? (or: glob() disclosing file names with open_basedir and safe_mode-restriction)

2004-07-26 Thread Jakub Vrana
> Is there any way restricting people from retrieving file names (where > open_basedir and safe_mode obviously won't help), besides adding glob to > disable_functions in php.ini? If I understand you correctly, only files owned by script owner (thus potentially Apache user) are disclosed. Because

Re: [PHP-DEV] [PATCH] two small typos in php.ini.* and mail.c

2004-07-26 Thread Jakub Vrana
> This should probably be applied but what if people are using them already? > Any idea when these were introduced? It was introduced early in PHP 5. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [Fwd: PHP5 in Windows]

2004-07-26 Thread Gabor Hojtsy
Forwarded. Why is there not an InstallShield Wizard? Will there be one? Goba I've built one and have been testing it. I think it's probably good enough (i.e. as good as the php 4 version!) to post on the downloads page. http://www.dialsolutions.com/phil/php/php-5.0.0-installer.exe Well, this i

[PHP-DEV] lxr.php.net needs new picture

2004-07-26 Thread Andrey Hristov
Currently on lxr.php.net there is at the top of every page an image stating "PHP4 Cross reference" thanks, andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] bug #29336

2004-07-26 Thread Antony Dovgal
On Mon, 26 Jul 2004 09:58:01 +0200 (CEST) Sascha Schumann <[EMAIL PROTECTED]> wrote: > On Mon, 26 Jul 2004, Antony Dovgal wrote: > > > Hi all! > > > > Plz, take a look at bug #29336 ( http://bugs.php.net/29336 for lazy > > ones =)). > > HEAD segfaults on session_start() after empty_string -> > >

Re: [PHP-DEV] [PATCH] bug #29336

2004-07-26 Thread Sascha Schumann
On Mon, 26 Jul 2004, Antony Dovgal wrote: Hi all! Plz, take a look at bug #29336 ( http://bugs.php.net/29336 for lazy ones =)). HEAD segfaults on session_start() after empty_string -> STR_EMPTY_ALLOC() change. This happens because SID constant gets initialized with "" string instead of STR_EMPTY_AL

Re: [PHP-DEV] [Fwd: PHP5 in Windows]

2004-07-26 Thread Phil Driscoll
On Sunday 25 July 2004 12:52, Gabor Hojtsy wrote: > Forwarded. > > Why is there not an InstallShield Wizard? Will there be one? Goba I've built one and have been testing it. I think it's probably good enough (i.e. as good as the php 4 version!) to post on the downloads page. http://www.dialso

[PHP-DEV] Segfault problem with PHP5

2004-07-26 Thread håvard eide
Hi! This might be a long mail, so I'll start quickly: Case: working on a PHP5/postgres system that segfaults ( apparently randomly ) on different spots in the program. * I have managed to track it down to our custom class loader ( static object ) that manage all loading and initializing of objects

Re: [PHP-DEV] [PATCH] tests/classes/factory_and_singleton_010.phpt

2004-07-26 Thread Kamesh Jayachandran
Hello Marcus, I am attaching my test log file after adding echo "*\n"; as the first executable statment. With regards Kamesh Jayachandran On Sun, 25 Jul 2004 08:21:38 +0200, "Marcus Boerger" <[EMAIL PROTECTED]> said: > Hello Kamesh, > > Saturday, July 24, 2004, 6:10:56 PM, you wrote: > > > Hello