[PHP-DEV] Typos in pcntl.c

2004-01-22 Thread Mehdi Achour
Hi ! Attached is a patch that will s/singal/signal in the file. didou Index: pcntl.c === RCS file: /repository/php-src/ext/pcntl/pcntl.c,v retrieving revision 1.40 diff -u -r1.40 pcntl.c --- pcntl.c 28 Oct 2003 17:08:18 -

Re: [PHP-DEV] base class

2004-01-22 Thread Christian Schneider
Marcus Boerger wrote: Well you design a class tree/framework and should know what you have done. If not use reflection. So to be able to later add a constructor to a base class one would be stuck with one of two options: 1) have __construct() in all classes from the start, even if it's empty. Ugl

[PHP-DEV] CVS Account Request: sohli

2004-01-22 Thread Mohammed Sohli
Translating the documentation To Arabic -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Exception / trace member

2004-01-22 Thread Marcus Boerger
Hello Stephane, > if this is really the case, well then i am the one to blame. I'll have a > look. i looked into it - you were right - and i fixed it. Could you please test current HEAD to verify i have fixed all issues? That would give me a better feeling. And thanks for noticing this. marcus

Re: [PHP-DEV] base class

2004-01-22 Thread Marcus Boerger
Hello Stephane, Thursday, January 22, 2004, 3:48:19 PM, you wrote: > PHP implements an "stdClass". I expected that: > * this was the base class for all classes, even if they do not explicitly "extends > stdClass", nope, there is absolutely no reason for that > * this class implemented all the

Re: [PHP-DEV] Exception / trace member

2004-01-22 Thread Marcus Boerger
Hello Stephane, if this is really the case, well then i am the one to blame. I'll have a look. Thursday, January 22, 2004, 3:46:13 PM, you wrote: > The current implementation of class Exception has a private "trace" > member, which is used to store the backtrace. But if you throw an > exception

Re: [PHP-DEV] __clone() implementation

2004-01-22 Thread Marcus Boerger
Hello Stephane, you're right $that must be available in the derived __clone(). Thursday, January 22, 2004, 3:37:11 PM, you wrote: > I'm currently using PHP4 and I'm evaluating PHP5 for its new exciting features. > I have some remarks, split into distinct posts. > The first one is about the cur

[PHP-DEV] Re: php 5 bug?

2004-01-22 Thread Christian Schneider
Nuno Lopes wrote: I don't know if this is a bug or a feature, but... The code below works with PHP 4, but gives an error in PHP 5. Classes have to be defined before they are used in PHP5. - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/uns

[PHP-DEV] php 5 bug?

2004-01-22 Thread Nuno Lopes
Hello, I don't know if this is a bug or a feature, but... The code below works with PHP 4, but gives an error in PHP 5. Nuno func(); class test { function func() { echo 'test'; } } ?> --- PHP 4: test --- PHP 5: Fa

[PHP-DEV] Re: base class

2004-01-22 Thread Christian Schneider
Stephane Drouard wrote: > Currently it is not possible to call parent::__construct() if the class does not derived > from another one, or none of its parent implements a constructor. I agree that it should always be possible to call parent::__construct() (at least if a base class exists :-)). > _

Re: [PHP-DEV] buildconf

2004-01-22 Thread Patrick Welche
On Thu, Jan 22, 2004 at 04:51:43PM +0200, Jani Taskinen wrote: > > There's nothing wrong in this. If your autoconf/aclocal/etc. > tools are installed correctly, buildconf works fine. > > Please use the snapshots if you don't know what you're doing. :-) I have to smile otherwise I

Re: [PHP-DEV] To check in NetWare changes.

2004-01-22 Thread Andi Gutmans
Hi, We are indeed in a feature freeze. However, if your diff is simple and well written, we could consider including it (basically as a bug fix for novell). Please send a diff so that we can see if it's something which can go in. It really depends on the extent of your patch. If we feel it's too

Re: [PHP-DEV] buildconf

2004-01-22 Thread Jani Taskinen
There's nothing wrong in this. If your autoconf/aclocal/etc. tools are installed correctly, buildconf works fine. Please use the snapshots if you don't know what you're doing. --Jani On Thu, 22 Jan 2004, Patrick Welche wrote: >On Thu, Jan 22, 2004 at 01:06:11PM +02

[PHP-DEV] base class

2004-01-22 Thread Stephane Drouard
PHP implements an "stdClass". I expected that: * this was the base class for all classes, even if they do not explicitly "extends stdClass", * this class implemented all the "standard" methods (__construct(), __destruct(), ...). In the PHP5 presentation, it is mentionned the interest of unified c

[PHP-DEV] Exception / trace member

2004-01-22 Thread Stephane Drouard
The current implementation of class Exception has a private "trace" member, which is used to store the backtrace. But if you throw an exception of a derived class of Exception, print_r() displays an empty "trace:private" member, as well as a "trace" (public) member that really holds the backtrac

[PHP-DEV] __clone() implementation

2004-01-22 Thread Stephane Drouard
I'm currently using PHP4 and I'm evaluating PHP5 for its new exciting features. I have some remarks, split into distinct posts. The first one is about the current implementation of __clone(): * a derived __clone() can't call parent::__clone() because $that is only declared for the first __clone

Re: [PHP-DEV] buildconf

2004-01-22 Thread Patrick Welche
On Thu, Jan 22, 2004 at 01:06:11PM +0200, Jani Taskinen wrote: > > Yes, you need libtool 1.4.3. (no, 1.5 is not backwards compatible) There is still something strange with buildconf: % make -n -s -f build/build.mk AMFLAGS= ZENDDIR=Zend build/buildcheck.sh buildmk.stamp echo makefile_am_files

Re: [PHP-DEV] buildconf

2004-01-22 Thread Jani Taskinen
On Thu, 22 Jan 2004, Patrick Welche wrote: >On Wed, Jan 21, 2004 at 10:07:13PM +0200, Jani Taskinen wrote: >> >> Do fresh checkout of 'php5' module. You'll get all correct >> files then, no need to checkout ZendEngine2 separately.. > >I'm amazed how much that helped.. Now there is just

Re: [PHP-DEV] buildconf

2004-01-22 Thread Patrick Welche
On Wed, Jan 21, 2004 at 10:07:13PM +0200, Jani Taskinen wrote: > > Do fresh checkout of 'php5' module. You'll get all correct > files then, no need to checkout ZendEngine2 separately.. I'm amazed how much that helped.. Now there is just the following buglet: buildconf: libtool version

Re: [PHP-DEV] To check in NetWare changes.

2004-01-22 Thread Hartmut Holzgraefe
Ananth Kesari wrote: Hi Derick, How do you want me to do this? Should I check in a couple of files with NetWare modifications into CVS which you will take a look at or should I send the modified file over mail to this group for review before checking in? what about mailing the "cvs diff" results?

Re: [PHP-DEV] To check in NetWare changes.

2004-01-22 Thread Ananth Kesari
Hi Derick, How do you want me to do this? Should I check in a couple of files with NetWare modifications into CVS which you will take a look at or should I send the modified file over mail to this group for review before checking in? Thanks, Ananth. >>> Derick Rethans <[EMAIL PROTECTED]> 1/21/20

Re: [PHP-DEV] To check in NetWare changes.

2004-01-22 Thread Ananth Kesari
Hi Andi, Now that it is in code-freeze stage, when is PHP 5.0 going to be released? We have NetWare changes of approximately about 200 to 250 lines (maybe even more) spread across many files that include, TSRM, ZEND, sapi modules, extensions, ext/standard, main and netware directories. Thanks, An

Re: [PHP-DEV] switch($string{0}) segfault in 5.0.0b3

2004-01-22 Thread Andi Gutmans
Can you please check the latest CVS. It should be fixed. Thanks, Andi At 01:59 AM 1/22/2004 -0500, Josh Fuhs wrote: I've included a script which reproduces this bug. System details include: i386 arch Linux-2.4.23 Apache-1.3.27 The configuration is standard with MySQL. Using php.ini-dist with som

[PHP-DEV] switch($string{0}) segfault in 5.0.0b3

2004-01-22 Thread Josh Fuhs
I've included a script which reproduces this bug. System details include: i386 arch Linux-2.4.23 Apache-1.3.27 The configuration is standard with MySQL. Using php.ini-dist with some include_path modifications. The included script also demonstrates a workaround until this can b