[PHP-DEV] PHP 5 Bug Summary Report

2005-02-07 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (464 total including feature requests) ===[*Configuration Issues] 29478 Open ignore_user_abort not in php.ini 29971 Open variables_order behaviour 31867 Open

[PHP-DEV] Re: text

2005-02-07 Thread webmaster
Your document is attached. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Lukas Smith
Could we maybe stop running around in circles? Its obvious that the input filter is for sysadmins only. Its not a developer tool, nor does it replace developer responsibilities. Since its an admin tool it will likely only be of interest on controlled servers. Think of them as a firewall

Re: [PHP-DEV] AMD64 and libdir Broken?

2005-02-07 Thread Joe Orton
On Sat, Feb 05, 2005 at 07:03:52PM -0500, Hans Zaunere wrote: ... However, after downloading the php5-200502052330.tar.gz snapshot, things seem broken again. My ./configure starts out like this: ./configure --with-libdir=lib64 --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Sveta Smirnova
Reading very interesting discuss I have noticed next thing. You are replacing problem's of server administrator and programmer. For example, this words: But if I am going to run your application on my server, I want a way to make sure no XSS, for example, can get through no matter how badly

Re: [PHP-DEV] #define for zend engine 2.1

2005-02-07 Thread Derick Rethans
On Mon, 7 Feb 2005, M. Sokolewicz wrote: #if PHP_MAJOR_VERSION == 5 PHP_MINOR_VERSION = 1 works ;-) wouldn't #if PHP_MAJOR_VERSION = 5 PHP_MINOR_VERSION = 1 be better in case this code would ever be used with a hypothetical PHP version 6? ;) No - then it wouldn't be triggered for

Re: [PHP-DEV] #define for zend engine 2.1

2005-02-07 Thread messju mohr
On Mon, Feb 07, 2005 at 02:07:47PM +0100, M. Sokolewicz wrote: [...] wouldn't #if PHP_MAJOR_VERSION = 5 PHP_MINOR_VERSION = 1 be better in case this code would ever be used with a hypothetical PHP version 6? ;) - tul no, it wouldn't. it would work with 6.1, but not with 6.0 messju --

Re: [PHP-DEV] #define for zend engine 2.1

2005-02-07 Thread Marcus Boerger
Hello M., as found in SRM the correct code is: #if (PHP_MAJOR_VERSION 5) || (PHP_MAJOR_VERSION == 5 PHP_MINOR_VERSION = 1) regards marcus Monday, February 7, 2005, 2:07:47 PM, you wrote: Derick Rethans wrote: On Mon, 7 Feb 2005, val khokhlov wrote: is there a way to find out

RE: [PHP-DEV] AMD64 and libdir Broken?

2005-02-07 Thread Hans Zaunere
However, after downloading the php5-200502052330.tar.gz snapshot, things seem broken again. My ./configure starts out like this: ./configure --with-libdir=lib64 --prefix=/usr/local/php --with- apxs=/usr/local/apache/bin/apxs . Which had worked fine before. However, when

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Wez Furlong
I don't think Rasmus needs my permission... --Wez. On Mon, 07 Feb 2005 10:22:12 +0100, Lukas Smith [EMAIL PROTECTED] wrote: Since now we dont need to talk about this in internals but instead we can just go to Wez and ask him if its welcome in PECL or not. -- PHP Internals - PHP Runtime

Re: [PHP-DEV] AMD64 and libdir Broken?

2005-02-07 Thread Joe Orton
On Mon, Feb 07, 2005 at 10:09:29AM -0500, Hans Zaunere wrote: However, after downloading the php5-200502052330.tar.gz snapshot, things seem broken again. My ./configure starts out like this: ./configure --with-libdir=lib64 --prefix=/usr/local/php --with-

RE: [PHP-DEV] AMD64 and libdir Broken?

2005-02-07 Thread Hans Zaunere
However, after downloading the php5-200502052330.tar.gz snapshot, things seem broken again. My ./configure starts out like this: ./configure --with-libdir=lib64 --prefix=/usr/local/php --with- apxs=/usr/local/apache/bin/apxs . Which had worked fine before.

Re: [PHP-DEV] PHP 5.1 - operator overloading

2005-02-07 Thread Terje Slettebø
From: Stanislav Malyshev [EMAIL PROTECTED] TSNo, you don't have to go that far. For starters, one could allow function TS(and possibly operator) overloading, based on type hints. The following is TSlegal PHP5: That will already open the can of worms. And make each function call to go

[PHP-DEV] is the bankers' round() algorithm implemented well?

2005-02-07 Thread Ron Korving
I understood that round() is using the so called Bankers' round algorithm. But I notice it's inconsistent. The banker's algorithm is magically activated only for numbers beyond 2047.0. Before 2047, the classic 5-is-rounded-up method is used. 5 is rounded up for: round(9.005, 2) gives 9.01

Re: [PHP-DEV] Type hints with null default values

2005-02-07 Thread lingwitt
What was the result of this discussion? Thanks On 27 Oct 2004, at 12:50, Andi Gutmans wrote: At 10:53 AM 10/27/2004 +0200, Christian Schneider wrote: Marcus Boerger wrote: So for now the only addition we may probably consider for 5.1 is adding 4: optional typehinted values that default to null and

[PHP-DEV] Re: is the bankers' round() algorithm implemented well?

2005-02-07 Thread Sara Golemon
I understood that round() is using the so called Bankers' round algorithm. But I notice it's inconsistent. The banker's algorithm is magically activated only for numbers beyond 2047.0. Before 2047, the classic 5-is-rounded-up method is used. Floating point numbers are imprecise.

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Terje Slettebø
(I don't mind this discussion, but as several have asked for this subthread on overloading be ended, it may be best to do so) On Thu, 2005-02-03 at 19:58, Terje Slettebø wrote: From: Stig S. Bakken [EMAIL PROTECTED] Oh, and the comment about Code should be readable, not cuddly-cute:

[PHP-DEV] Re: is the bankers' round() algorithm implemented well?

2005-02-07 Thread Ron Korving
I just did a long test from 1 - 1 and I noticed that every time the number was increased with one bit (starting with 2048, then 4096, then 8192) behaviour changes. You were right, my bad. Makes me wonder though, what's the point of a bankers' algorithm if .005 can never be reached, only

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Andrei Zmievski
Attention: you have posted C++ template code on PHP mailing list. Please pay a $100 fine immediately and carefully proceed to the exit. -Andrei On Mon, 07 Feb 2005, Terje Slettebø wrote: To illustrate its use, I can give a simple example in C++: #include iostream class plus { public:

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Christian Schneider
Andrei Zmievski wrote: Attention: you have posted C++ template code on PHP mailing list. Please pay a $100 fine immediately and carefully proceed to the exit. Luckily my peril sensitive sunglasses turned black at the first line before I even managed to read the template part of the code :-) To

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Terje Sletteb
From: Andrei Zmievski [EMAIL PROTECTED] Attention: you have posted C++ template code on PHP mailing list. Please pay a $100 fine immediately and carefully proceed to the exit. Hehe... I do hope this is a joke (it would seem rather closed-minded, otherwise). I don't think anybody would have

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Marcus Boerger
Hello Christian, Monday, February 7, 2005, 11:59:04 PM, you wrote: Andrei Zmievski wrote: Attention: you have posted C++ template code on PHP mailing list. Please pay a $100 fine immediately and carefully proceed to the exit. Luckily my peril sensitive sunglasses turned black at the first

Re: [PHP-DEV] XMLReader in PHP 5.1

2005-02-07 Thread Andi Gutmans
I think that's OK. Would you deal with having the docs merged into the PHP Manual? If no one objects then we can go ahead and do it. Anyone know if this is done via the modules file or if it requires other CVS magic? Andi At 04:28 PM 2/7/2005 +0100, Christian Stocker wrote: Hi As briefly

Re: [PHP-DEV] XMLReader in PHP 5.1

2005-02-07 Thread Andi Gutmans
Yeah, unless someone objects that'd be great. Thanks, Andi At 08:37 PM 2/7/2005 -0500, Wez Furlong wrote: This is usually done by symlinking in the repository; I can do this if you like. --Wez. On Mon, 07 Feb 2005 17:16:00 -0800, Andi Gutmans [EMAIL PROTECTED] wrote: If no one objects then we

Re: [PHP-DEV] XMLReader in PHP 5.1

2005-02-07 Thread Wez Furlong
This is usually done by symlinking in the repository; I can do this if you like. --Wez. On Mon, 07 Feb 2005 17:16:00 -0800, Andi Gutmans [EMAIL PROTECTED] wrote: If no one objects then we can go ahead and do it. Anyone know if this is done via the modules file or if it requires other CVS

Re: [PHP-DEV] XMLReader in PHP 5.1

2005-02-07 Thread Wez Furlong
Done (can be easily backed out if somone finds a good reason). --Wez. On Mon, 07 Feb 2005 17:48:27 -0800, Andi Gutmans [EMAIL PROTECTED] wrote: Yeah, unless someone objects that'd be great. Thanks, Andi At 08:37 PM 2/7/2005 -0500, Wez Furlong wrote: This is usually done by symlinking

[PHP-DEV] Debian changelog for latest 4.3.10 package

2005-02-07 Thread Rasmus Lerdorf
A number of things on here we should pick up. The broken libtool is at the top of my list. Of course, there are a few crazy things on there too like building all SAPIs with ZTS. php4 (4:4.3.10-3) unstable; urgency=medium * Update to CVS, as of 200502060530 (closes: #288672) - File

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Andrei Zmievski
From: Andrei Zmievski [EMAIL PROTECTED] Attention: you have posted C++ template code on PHP mailing list. Please pay a $100 fine immediately and carefully proceed to the exit. Hehe... I do hope this is a joke (it would seem rather closed-minded, otherwise). I don't think anybody would have

Re: [PHP-DEV] PHP 5.1

2005-02-07 Thread Adam Maccabee Trachtenberg
On Mon, 7 Feb 2005, Andrei Zmievski wrote: Hehe... I do hope this is a joke (it would seem rather closed-minded, otherwise). I don't think anybody would have bothered if anyone posted PHP code on e.g. comp.lang.c++(.moderated), in order to illustrate a point. That would be stupid.