[PHP-DEV] Re: Piping to the PHP binary

2003-02-26 Thread moshe doron
use the cli not cgi: [EMAIL PROTECTED] moshe]$ php -v PHP 4.3.2-dev (cli) (built: Feb 24 2003 18:43:23) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies [EMAIL PROTECTED] moshe]$ echo ?php echo \hi\; ? | php [EMAIL PROTECTED] moshe]$ Dan

Re: [PHP-DEV] Re: Piping to the PHP binary

2003-02-26 Thread Dan Hardiker
Hi, So there is no upgrade path for the cgi - it's lost this functionality? (please confirm, as that breaks backward compatability for alot of my scripts) Surely the CGI should be able to handle piping too? [btw: if I build a CLI version, I get the same problem... Im guessing that its caused by

[PHP-DEV] bug notification ?

2003-02-26 Thread Corne' Cornelius
Are maintainers of extensions automagically notified of bugs submitted regarding the ext's they maintain ? Corne' !Exclude Disclaimer! -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Piping to the PHP binary

2003-02-26 Thread moshe doron
So there is no upgrade path for the cgi - it's lost this functionality? (please confirm, as that breaks backward compatability for alot of my scripts) well, i'm not the right person asking him just tried helping. version, I get the same problem... Im guessing that its caused by one of the

Re: [PHP-DEV] bug notification ?

2003-02-26 Thread Jani Taskinen
No. --Jani On Wed, 26 Feb 2003, Corne' Cornelius wrote: Are maintainers of extensions automagically notified of bugs submitted regarding the ext's they maintain ? Corne' !Exclude Disclaimer! -- - For Sale! - -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread David Brown
Hi everyone: This may well be a stupid question, but I've spend enough time staring blankly at zend_compile.c/zend_execute.c that I figured it was time to ask. :) Say I have a section of code like this: ?php $s1 = 'foo' . 'bar' . 'baz'; $s2 = 'foobarbaz'; ? In the PHP bytecode (I hope I'm

Re: [PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread Derick Rethans
On Wed, 26 Feb 2003, David Brown wrote: This may well be a stupid question, but I've spend enough time staring blankly at zend_compile.c/zend_execute.c that I figured it was time to ask. :) Say I have a section of code like this: ?php $s1 = 'foo' . 'bar' . 'baz'; $s2 = 'foobarbaz';

Re: [PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread George Schlossnagle
It's the job of an optimizer, not of a compiler. And because PHP doesn't have an internal optimizer, this is not optimized out. You can either check the ZendOptimiser (I can't show you the opcodes that that generates) or PEAR::Optimizer, which is in Pecl (which might not do this optimization yet

Re: [PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread David Brown
On Wed, Feb 26, 2003 at 05:36:54PM +0100, Derick Rethans wrote: | No, the engine doesn't do this at compile time. This first one produces: | | number of ops: 5 | line # op fetch ext operands | ---

Re: [PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread Daniel Cowgill
On Wed, 26 Feb 2003, David Brown wrote: Okay. Makes complete sense. I was thinking more along the lines of wouldn't it be nice if...?. I hadn't quite made it to where would that belong?. :) I'll check out the optimizers. I noticed that the new CVS version of APC seems to have a

Re: [PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread Derick Rethans
On Wed, 26 Feb 2003, David Brown wrote: Is that output a ZEND_DEBUG thing, or is that an external tool? It's an external tool: VLD from http://www.derickrethans.nl/vld.php Derick -- Stop mad cowboy disease!

Re: [PHP-DEV] Piping to the PHP binary

2003-02-26 Thread Shane Caraveo
4.3.1 works fine. Shane Dan Hardiker wrote: Hey all, echo ?php echo \hi\; ? | /path/to/php That works on php v4.2.x but Ive got 3 machines on v4.3.x and none of them seem to respond to the piping of the php config. v4.2.x Response

[PHP-DEV] CVS Account Request: thierry_bo

2003-02-26 Thread Thierry Bothorel
HELP IN MAINTENANCE : - help Pierre-Alain Joye [EMAIL PROTECTED] and pearfr.org to translate pear manual and pear weekly news in french -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] parser generator for php

2003-02-26 Thread Pete James
I hope that this is not the wrong venue for this. I've seen references to questions about this before, but is there any tool similar to yacc, written in php? I know that there is the tokenizer ext., which forms one half of the equation. Perl, Python, etc, have their YAPP, and YAPPS tools. Is

Re: [PHP-DEV] [PATCH][NEW FEATURE][HELP NEEDED] Forcing -f via mail()(ext/standard/mail.c)

2003-02-26 Thread Derick Rethans
On Sat, 22 Feb 2003, Daniel Lorch wrote: I don't really know to start. I've made a patch and want to ask for the offical way to bring this patch into the php engine (if this is possible). [..] This has been done several times now. Once by me, once by someone else, and once by you. The

Re: [PHP-DEV] CVS Account Request: thierry_bo

2003-02-26 Thread Pierre-Alain Joye
On 26 Feb 2003 18:15:42 - Thierry Bothorel [EMAIL PROTECTED] wrote: HELP IN MAINTENANCE : - help Pierre-Alain Joye [EMAIL PROTECTED] and pearfr.org to translate pear manual and pear weekly news in french I confirm this request. See my post on peardoc ML. He needs access to /peardoc and

[PHP-DEV] Flex never-interactive mode

2003-02-26 Thread Rasmus Lerdorf
I think we can add %option never-interactive to the ini-scanner lexer to speed it up a tiny little bit. Speeding up the ini scanner might be important for the folks running the cgi version. More importantly, to me anyway, when we know we are not interactive, should we not programmatically set

Re: [PHP-DEV] Flex never-interactive mode

2003-02-26 Thread Andi Gutmans
At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote: I think we can add %option never-interactive to the ini-scanner lexer to speed it up a tiny little bit. Speeding up the ini scanner might be important for the folks running the cgi version. More importantly, to me anyway, when we know we are not

Re: [PHP-DEV] Flex never-interactive mode

2003-02-26 Thread Rasmus Lerdorf
On Wed, 26 Feb 2003, Andi Gutmans wrote: At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote: I think we can add %option never-interactive to the ini-scanner lexer to speed it up a tiny little bit. Speeding up the ini scanner might be important for the folks running the cgi version. More

Re: [PHP-DEV] Flex never-interactive mode

2003-02-26 Thread Wez Furlong
On Wed, 26 Feb 2003, Andi Gutmans wrote: At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote: I think we can add %option never-interactive to the ini-scanner lexer to ^ Yes, this is a good idea - INI files are never

Re: [PHP-DEV] [PATCH] imagesavealpha()

2003-02-26 Thread Pierre-Alain Joye
On Thu, 20 Feb 2003 22:17:48 +0200 Jukka Holappa [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have reported at http://bugs.php.net/?id=22323 that it's impossible to actually create png images that are partially transparent. I needed that feature yesterday

[PHP-DEV] upcoming plans for servers

2003-02-26 Thread James Cox
All, I am about to start a process of upgrading/moving all of the services php.net offers. This is to take advantage of new servers, and to distribute our load so that servers are not doing everything but instead optimized and configured to be perfect for a particular service. full details (or,

[PHP-DEV] CVS Account Request: hatem

2003-02-26 Thread Ben Yacoub Hatem
arabic php pear manual translation -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] parser generator for php

2003-02-26 Thread Alan Knowles
Pete James wrote: I hope that this is not the wrong venue for this. I've seen references to questions about this before, but is there any tool similar to yacc, written in php? It's not written in PHP - but it generates PHP code have a look at http://php-sharp.sourceforge.net In CVS is phpLex a

[PHP-DEV] CVS Account Request: abboussy

2003-02-26 Thread Abbas El-Meslem
hi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CVS Account Request: abboussy

2003-02-26 Thread Magnus M
On 27 Feb 2003 05:27:24 - Abbas El-Meslem [EMAIL PROTECTED] wrote: hi You don't need a CVS account to say hi. / Magnus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-02-26 Thread Harald Radi
hi richard The problem with some of the VBA functions is that the first and last parameter need to be set and the ones in the middle have no meaning and cannot be present. This can only be achieved by using named parameters. The GoTo method, as a function, in VBA would be ... sooner or

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

2003-02-26 Thread Richard Quadling
Genius! Thank you very much. Can this example be added to the PHP Manual? All the online examples I've seen relate to functions which you can pass the first few params and no more. In this case having to pass the first and last param is not mentioned. This simple example demonstrates the use of

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

2003-02-26 Thread Richard Quadling
Hi Harald. The problem with some of the VBA functions is that the first and last parameter need to be set and the ones in the middle have no meaning and cannot be present. This can only be achieved by using named parameters. The GoTo method, as a function, in VBA would be ...

[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

[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

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 include

[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

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 snip 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

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!

[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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

[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

[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.

[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

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'

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 used

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()

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

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 http://www.php.net/ To

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.5.

[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

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-working.

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

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 php5 is

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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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 =

[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] 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 results of a

[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

[PHP-DEV] CVS Account Request: tony2001

2003-02-24 Thread Antony Dovgal
Translating PEAR docs to Russian (main purpose, PEAR Russian docs team obviously need help). Translating PHP docs to Russian (possibly, if Russian docs team needs some help). -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-24 Thread Sascha Schumann
I implemented the native interface - inifile_*() functions - in order to be able to work with group and name instead of the single key format that is necessary using the dba interface. Sounds to me like another issue which could have been easily solved by using a thin PHP layer. -

[PHP-DEV] PHP Output

2003-02-24 Thread Vinod Panicker
Hi, Could someone pls tell me where exactly in the code is the response body(including the response headers that php wants to send) formed after a script is executed? From what I understood, the execute() function in zend.c was doing that. Am I right? Or is there more to it? Tx, Vinod.

[PHP-DEV] Xml into PHP5

2003-02-24 Thread michel
Hi which is the story of XML into PHP5: DOM or Sablaton (XSL)? Insert direct into php5 or like now via configure ? Tnx in advance for all. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] extra realpath() found

2003-02-24 Thread Sander Roobol
On Sun, Feb 23, 2003 at 01:25:34PM -0800, Rasmus Lerdorf wrote: Hey Sander, you fixed a problem back in July where you introduced a second realpath() call into the main execute_script() function. [...] php_fopen_primary_script() calls expand_filepath() which does the realpath before we get

[PHP-DEV] CVS Account Request: nizar

2003-02-24 Thread N.T.
Translating to Arabic -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: house

2003-02-24 Thread Amel Jakupovic
Translating the documentation (English - Croatian) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: krausbn

2003-02-24 Thread Björn Kraus
I'm contributing to the PEAR::LiveUser project. I already contacted the developers and got their ok. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] CVS Account Request: krausbn

2003-02-24 Thread Lukas Smith
-Original Message- From: Björn Kraus [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:46 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] CVS Account Request: krausbn I'm contributing to the PEAR::LiveUser project. I already contacted the developers and got their ok. I am

[PHP-DEV] Re: Xml into PHP5

2003-02-24 Thread Dirkjan Ochtman
Maybe PHP-XML-DEV is a better place to discuss this. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi which is the story of XML into PHP5: DOM or Sablaton (XSL)? Insert direct into php5 or like now via configure ? Tnx in advance for all. -- PHP Development Mailing List

Re: [PHP-DEV] extra realpath() found

2003-02-24 Thread Wez Furlong
With my ze-stream patch to PHP 5 (in HEAD now), this can be avoided as all files opened on the behalf of the engine can be managed via a single function, provided that they set the zend file handle to open via a filename. --Wez. On Mon, 24 Feb 2003, Sander Roobol wrote: On Sun, Feb 23, 2003 at

[PHP-DEV] patch for binary-safe strip_tags()

2003-02-24 Thread Moriyoshi Koizumi
Hi, Attached is the patch for binary-safe strip_tags(). Although it doesn't appear to be harmful anyhow, I think it needs review since it modifies rather sensitive part. Any objections? Moriyoshi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] patch for binary-safe strip_tags()

2003-02-24 Thread Moriyoshi Koizumi
Oops, forgot to attach it... Moriyoshi On Tue, Feb 25, 2003 at 03:14:58AM +0900, Moriyoshi Koizumi wrote: Hi, Attached is the patch for binary-safe strip_tags(). Although it doesn't appear to be harmful anyhow, I think it needs review since it modifies rather sensitive part. Any

Re: [PHP-DEV] patch for binary-safe strip_tags()

2003-02-24 Thread Rasmus Lerdorf
Looks fine to me. On Tue, 25 Feb 2003, Moriyoshi Koizumi wrote: Hi, Attached is the patch for binary-safe strip_tags(). Although it doesn't appear to be harmful anyhow, I think it needs review since it modifies rather sensitive part. Any objections? Moriyoshi -- PHP

Re: [PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-24 Thread Marcus Börger
At 12:02 24.02.2003, Sascha Schumann wrote: I implemented the native interface - inifile_*() functions - in order to be able to work with group and name instead of the single key format that is necessary using the dba interface. Sounds to me like another issue which could have been easily

[PHP-DEV] mssql.convertdatetime, mssql.longdatetime

2003-02-24 Thread Jochen Daum
Hi ! I need to fetch a datetime column from sql server with milliseconds. Someone posted a patch a while ago: http://groups.google.co.nz/groups?q=mssql+longdatetime+group:php.devhl=enl r=ie=UTF-8oe=UTF-8selm=CB1A8358550CD2119F9C00A0C9984350934F79%40exchange. phone-ivr.comrnum=1 How do I find

[PHP-DEV] CVS Account Request: llucax

2003-02-24 Thread Leandro Lucarella
I've been aprobed to add a package (really just a class) to PEAR. The package (Date) manteiner told me to request a CVS account in PHP, so here am I :) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] mssql.convertdatetime, mssql.longdatetime

2003-02-24 Thread Mike Robinson
Jochen Daum wrote: Hi ! I need to fetch a datetime column from sql server with milliseconds. Someone posted a patch a while ago: Doesn't look like that patch made it, but a ton of work has been done on that file since. How do I find out, if this patch has been incorporated into Version

Re: [PHP-DEV] Libtool for RH8

2003-02-24 Thread Joseph Tate
Derick, would you post the SRPM for libtool? Joseph Derick Rethans wrote: On 19 Feb 2003, michel 'ziobudda' morelli wrote: Hi, i have downloaded the new cvs version of php5, but: buildconf: libtool version 1.4.2 found. You need libtool version 1.4.3 or newer installed to

[PHP-DEV] CREDITS/Authors

2003-02-24 Thread Corne' Cornelius
Who adds people to the CREDITS/Authors section of an extension ? the maintainers of the module, or someone else assigned to do it ? Any objection of adding me to the Informix Extension CREDITS/Authors ? -Corne' !Exclude Disclaimer! -- PHP Development Mailing List http://www.php.net/ To

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

2003-02-24 Thread Sebastian Bergmann
Stig Bakken wrote: +#ifdef ZEND_ENGINE_2 Why the #ifdef? Isn't HEAD supposed to be PHP 5 / ZE2 only? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP

Re: [PHP-DEV] CREDITS/Authors

2003-02-24 Thread Jani Taskinen
Go ahead. (And don't forget to MFH that config.m4 fix..) Or the CREDITS file. :) --Jani On Tue, 25 Feb 2003, Corne' Cornelius wrote: Who adds people to the CREDITS/Authors section of an extension ? the maintainers of the module, or someone else assigned to do it ? Any

Re: [PHP-DEV] CREDITS/Authors

2003-02-24 Thread Corne' Cornelius
Thanks, will do =) Wasn't sure if i should MFH it becuase it could still be a while before IBM brings out a multi-digit major number for ESQL/C but you never know. Corne' !Exclude Disclaimer! Jani Taskinen wrote: Go ahead. (And don't forget to MFH that config.m4 fix..) Or the CREDITS

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

2003-02-24 Thread Rasmus Lerdorf
On Sun, 23 Feb 2003, Wez Furlong wrote: This double seeking is most probably due to the fact that the stdio layer does one set of seeking, whereas streams needs to do another. This can be solved by moving away from using stdio for streams, and just using the raw descriptors instead.

Re: [PHP-DEV] mssql.convertdatetime, mssql.longdatetime

2003-02-24 Thread Michael Bretterklieber
Hi, Just FYI: I wrote some months ago a patch wich let datetime-values return in the format -MM-DD HH24:MI:SS, because sometimes the conversion function wich converts datetime-values does weird things. The ini switch for activating this is named mssql.datetimeconvert, you must set this to

[PHP-DEV] Jumadi

2003-02-24 Thread if01024
dear all of member php-dev. i book working php with MySQL if any the members have book about it if you want to help me please send to me this is my Address: Jumadi Simangunsong Politeknik Informatika Del Desa Sitoluama, Kec Laguboti Tobasa Prop:Sumatatera Utara Indonesia 22381 best regards

[PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-23 Thread Sascha Schumann
On Sun, 23 Feb 2003, Marcus Börger wrote: After fixing hopefully last problems in the inifile handler i made up a patch which introduces a native interface to the inifile handler. I did this because the [group]name key format is not intuitive. Care to explain what it does? Does it feed

[PHP-DEV] Re: RFC: dba/inifile native interface

2003-02-23 Thread Marcus Börger
At 12:11 23.02.2003, Sascha Schumann wrote: On Sun, 23 Feb 2003, Marcus Börger wrote: After fixing hopefully last problems in the inifile handler i made up a patch which introduces a native interface to the inifile handler. I did this because the [group]name key format is not intuitive.

Re: [PHP-DEV] domxml close document routine

2003-02-23 Thread Christian Stocker
Hi You're right, there is no functionality right now, which is freeing the domxml resources and I looked quickly through your patch. But i'm not sure, what you're gaining exactly with it. You're not freeing the libxml resources itself (and therefore the actual xml data), but just the

[PHP-DEV] Re: [PHP-LANG] PHP not supporting method overloading

2003-02-23 Thread Derick Rethans
On Sun, 23 Feb 2003, Jun wrote: Hi! I have a website whose pages were written in PHP.. using some classes I have made that extensively use method overloading.. Before, my webhosting company was using PHP 4.0.6 but just this january, they have upgraded to PHP 4.3.0... that is when I started to

[PHP-DEV] Why parent::construct not called?

2003-02-23 Thread michel 'ziobudda' morelli
Hi, why if I have class B extends A { } the only way to call in automatic the A::__construct() is to not write the B::__construct() ? Ok, this is the design of PHP. But why ? tnx -- michel 'ziobudda' morelli [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] give me advice

2003-02-23 Thread Sylvain Becker
I'd like to create an open source project : I have built a small daemon which is able to manage a neural network I have built a php-module php-module (in c/c++) to communicate with the previous server. Do you think it could be interesting to do improve this things ? Sylvain Becker

[PHP-DEV] Performance degradation

2003-02-23 Thread Rasmus Lerdorf
So, I am just starting out down the path to figure out why PHP 4.3 has gotten so much slower than 4.2. strace -c provides the first clue. A straight ./configure --enable-inline-optimization make command-line build for 4.2, 4.3 and 5.0 run on a simple hello world script reveals that we have gone

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread Marcus Börger
At 16:46 23.02.2003, michel 'ziobudda' morelli wrote: Hi, why if I have class B extends A { } the only way to call in automatic the A::__construct() is to not write the B::__construct() ? Ok, this is the design of PHP. But why ? You can do the following: class base { function

Re: [PHP-DEV] Performance degradation

2003-02-23 Thread Marcus Börger
So, obviously these opens don't really affect the module version since they only happen on startup, but they still don't seem right. I understand ./php-cgi.ini, but .//php-cgi.ini and .//php.ini? Looks like a missing check there. I just recognized these yesturday, too and was thinking the

Re: [PHP-DEV] Performance degradation

2003-02-23 Thread Stanislav Malyshev
RL So, obviously these opens don't really affect the module version RL since they only happen on startup, but they still don't seem right. RL I understand ./php-cgi.ini, but .//php-cgi.ini and .//php.ini? RL Looks like a missing check there. If this is only for CGI/startup, it is indeed not

Re: [PHP-DEV] Performance degradation

2003-02-23 Thread Rasmus Lerdorf
On Sun, 23 Feb 2003, Stanislav Malyshev wrote: RL So, obviously these opens don't really affect the module version RL since they only happen on startup, but they still don't seem right. RL I understand ./php-cgi.ini, but .//php-cgi.ini and .//php.ini? RL Looks like a missing check there. If

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread michel 'ziobudda' morelli
Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto: You can do the following: class base { function __construct() { echo base::__construct()\n; } [...] I know know. What I want to understand is why the base::__construct() is called (in automatic)

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread Marcus Börger
At 18:02 23.02.2003, michel 'ziobudda' morelli wrote: Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto: You can do the following: class derived extends base { function __construct() { parent::__construct(); echo derived::__construct()\n;

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread Timm Friebe
On Sun, 2003-02-23 at 18:04, michel 'ziobudda' morelli wrote: Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto: You can do the following: class base { function __construct() { echo base::__construct()\n; } [...] I know know. What I want

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread michel 'ziobudda' morelli
Il dom, 2003-02-23 alle 18:07, Marcus Börger ha scritto: In ZE2 each class has a constructor. That constructor can be overwritten by writing a method named __construct. So far so good. Ok... This is the design.. tnx. -- michel 'ziobudda' morelli [EMAIL PROTECTED] -- PHP Development

Re: [PHP-DEV] give me advice

2003-02-23 Thread Daniel Lorch
hi, I have built a small daemon which is able to manage a neural network I have built a php-module php-module (in c/c++) to communicate with the previous server. Do you think it could be interesting to do improve this things ? Sylvain Becker If it is generic enough, why not try

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread Marcus Börger
At 18:29 23.02.2003, Timm Friebe wrote: Well, because there might be situations in which I'd like to call the parent's constructor before my code in __construct, sometimes after it and in some situations, not call it at all. I hope you will never avoid initialising the base class or just call the

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

2003-02-23 Thread Rasmus Lerdorf
A little bit harder to get clean output on this one. The numbers in the 's are the times for the system call. Here is a 4.2 hello world request: accept(24, {sin_family=AF_INET, sin_port=htons(57198), sin_addr=inet_addr(10.0.1.254)}}, [16]) = 3 4.035087 rt_sigaction(SIGUSR1, {SIG_IGN},

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

2003-02-23 Thread Jim Jagielski
Rasmus Lerdorf wrote: Even in 4.2, I think we can optimize it. Assuming chdir() doesn't return an error, we shouldn't need that second getpwd() call since we just did the chdir() and we should know where we are. Not necessarily... In a threaded environment, if threadA does chdir(/tmp) and

<    2   3   4   5   6   7   8   9   10   11   >