Re: [PHP-DEV] Re: Announcement: Next generation ext_skel

2003-02-25 Thread Rasmus Lerdorf
The current one does, so it better... On Wed, 19 Feb 2003, l0t3k wrote: > Hartmut, > will this also generate zend_parse_parameters calls based on prototype ? > > l0t3k > "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > i've just added the first working

[PHP-DEV] Re: Announcement: Next generation ext_skel

2003-02-25 Thread l0t3k
Hartmut, will this also generate zend_parse_parameters calls based on prototype ? l0t3k "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > i've just added the first working results of a replacement for the good > old ext_skel script in php/scripts/ext_skel_ng

Re: [PHP-DEV] Performance degradation part 2 the module version

2003-02-25 Thread Rasmus Lerdorf
> I'm sure we can eliminate those seeks. Are there any other areas in the > streams code that you can see that could do with a syscall tune-up? Ok, found two more. In _php_stream_fopen() we fstat() the script to be opened: realpath = expand_filepath(filename, NULL TSRMLS_CC); fp = fop

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread Sascha Schumann
Or more accurately: > PHP5 -> co php5 > PHP4.3 -> co -rPHP_4_3 php4 > PHP4 -> co -rPHP_4 php4 - Sascha -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread Ilia A.
On February 25, 2003 05:05 pm, Magnus M wrote: > On Tue, 25 Feb 2003 14:45:26 -0500 > > J Smith <[EMAIL PROTECTED]> wrote: > > I get missing > > symbols like ZEND_INI_PARSER_POP_ENTRY and such, which should be defined > > in zend_ini.h.) Checking out php5 seemed to correct this. > > That is because

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread J Smith
A lesson I learned yesterday after wondering why the hell the thing wouldn't compile for the past three or four days... php5 works fine, though, like you say. J Magnus N wrote: > On Tue, 25 Feb 2003 14:45:26 -0500 > J Smith <[EMAIL PROTECTED]> wrote: > >> I get missing >> symbols like ZEND_IN

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread Magnus M
On Tue, 25 Feb 2003 14:45:26 -0500 J Smith <[EMAIL PROTECTED]> wrote: > I get missing > symbols like ZEND_INI_PARSER_POP_ENTRY and such, which should be defined in > zend_ini.h.) Checking out php5 seemed to correct this. That is because php5 is HEAD. I have no idea what php4 is, except not-workin

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread J Smith
I think that HEAD is getting slightly screwed up recently, as a couple of recent cvs updates have got me some code from 4.3.x, or at least it looks that way. (Specifically, Zend isn't coming down right, and I get missing symbols like ZEND_INI_PARSER_POP_ENTRY and such, which should be defined in z

Re: [PHP-DEV] buildconf warning

2003-02-25 Thread Magnus Mb@)
On 25 Feb 2003 17:19:28 +0100 michel 'ziobudda' morelli <[EMAIL PROTECTED]> wrote: > buildconf: autoconf version 2.53 (ok) > buildconf: Your version of autoconf likely contains buggy cache code. >Running cvsclean for you. >To avoid this, install autoconf-2.13 and automake-1

Re: [PHP-DEV] buildconf warning

2003-02-25 Thread michel 'ziobudda' morelli
Il mar, 2003-02-25 alle 18:13, Magnus Mb@) ha scritto: > This is because you are running autoconf version 2.53 (which is buggy). > Downgrading to 2.13 will remove those warnings. Tnx. -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List To un

[PHP-DEV] RE: PHP, Windows and COM.

2003-02-25 Thread Harald Radi
hi richard, currently there is no way of calling a function with named arguments. your proposed array syntax wouldn't allow for passing arrays. on the other hand variant arrays can only be indexed arrays and not hash arrays so i could treat all string indices as named parameters. this would be

RE: [PHP-DEV] Re: new construct

2003-02-25 Thread John Coggeshall
I was asking myself -- I had assumed that __construct() would be searched for first. I was /am under the impression __construct() is a special function that the engine wouldn't allow you to use in PHP5 in any other context than its intended purpose. I don't know what Zeev plans on doing with th

Re: [PHP-DEV] Re: new construct

2003-02-25 Thread Andrew Heebner
Perhaps i may be mistaken, but it seems logical to search for the old-style constructor first in order to be backwards compatible with old-style scripts. Putting __construct in old style classes would yield a classname of '__construct', an ugly and unlikely name for a class. Seeing as A::A() wou

RE: [PHP-DEV] Re: new construct

2003-02-25 Thread John Coggeshall
>__construct is the new method of defining a constructor, but >the 'bug' you suspect is not a bug. The parser will search >for a function of the same name in the class as the >constructor for backwards compatibility with Older scripts, etc... But shouldn't __construct() be searched for and us

Re: [PHP-DEV] Re: new construct

2003-02-25 Thread Hartmut Holzgraefe
Andrew Heebner wrote: This is done by design, not by 'bugginess'. "For backwards compatibility, if the Zend Engine 2.0 cannot find a __construct() function for a given class, it will search for the old-style constructor function, by the name of the class." in the exmaple it uses the 'old style'

[PHP-DEV] Re: new construct

2003-02-25 Thread Andrew Heebner
__construct is the new method of defining a constructor, but the 'bug' you suspect is not a bug. The parser will search for a function of the same name in the class as the constructor for backwards compatibility with Older scripts, etc... This is done by design, not by 'bugginess'. ~ Andrew Heeb

[PHP-DEV] buildconf warning

2003-02-25 Thread michel 'ziobudda' morelli
>From today's cvs using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.53 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running cvsclean for you. To avoid this, install autoconf-2.13 and automake-1.5. buil

[PHP-DEV] new construct

2003-02-25 Thread michel 'ziobudda' morelli
Hi, I need to know which is the correct new construct: class_name or __construct. >From Zend_Changes: The Zend Engine 2.0 introduces a standard way of declaring constructor methods by calling them by the name __construct(). ... For backwards compatibility, if the Zend Engine 2.0 cannot find a __c

Re: [PHP-DEV] Performance degradation part 2 the module version

2003-02-25 Thread Rasmus Lerdorf
> Admittedly, when opening the file for the first time, we do not need to > seek - so we can avoid it by passing a flag (OR'd with the REPORT_ERRORS > flag). > > I'm sure we can eliminate those seeks. Are there any other areas in the > streams code that you can see that could do with a syscall tu

[PHP-DEV] CVS Account Request: seth

2003-02-25 Thread Christopher Korn
I want to help to translate the php documentation in the german language. because there are not all pages translatet i wanna help to do this. i hope this is enough :) -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Libtool for RH8

2003-02-25 Thread Derick Rethans
On Mon, 24 Feb 2003, Joseph Tate wrote: > Derick, would you post the SRPM for libtool? sure, http://files.derickrethans.nl/libtool-1.4.3-4.src.rpm Derick -- Stop mad cowboy disease! ---

Re: [PHP-DEV] KINDLY GET BACK TO ME.

2003-02-25 Thread Gareth Ardron
On Tuesday 25 Feb 2003 10:55 am, wesleymougata wrote: > MEMO > Just an idea, but why not have 2 lists rather than one. One is php-dev, other is php-dev-post which ecoes content to php-dev and not to any of it's subscribers and make this list subscriber postings only. Ergo, when sombody subscribe

[PHP-DEV] KINDLY GET BACK TO ME.

2003-02-25 Thread wesleymougata
MEMO TEL :+31-621-454-271. ATTN: URGENT ASSISTANCE NEEDED You may be surprise to receive this Email from me since you do not know me personally. However, I would like to introduce myself. I am Mr. wesly mougata, the son of Dr. Stephen Mougata who was murdered few mont

Re: [PHP-DEV] Performance degradation part 2 the module version

2003-02-25 Thread Wez Furlong
On Mon, 24 Feb 2003, Rasmus Lerdorf wrote: > if (stream) { > if (self->is_pipe) { > stream->flags |= PHP_STREAM_FLAG_NO_SEEK; > } else { > stream->position = ftell(file); > } > } > > We should be able to skip that ftell() call on a script or

[PHP-DEV] KINDLY GET BACK TO ME.

2003-02-25 Thread wesleymougata
MEMO TEL :+31-621-454-271. ATTN: URGENT ASSISTANCE NEEDED You may be surprise to receive this Email from me since you do not know me personally. However, I would like to introduce myself. I am Mr. wesly mougata, the son of Dr. Stephen Mougata who was murdered few mont

[PHP-DEV] KINDLY GET BACK TO ME.

2003-02-25 Thread wesleymougata
MEMO TEL :+31-621-454-271. ATTN: URGENT ASSISTANCE NEEDED You may be surprise to receive this Email from me since you do not know me personally. However, I would like to introduce myself. I am Mr. wesly mougata, the son of Dr. Stephen Mougata who was murdered few mont