[PHP-DEV] Typos

2004-06-26 Thread Jason Davidson
I made a few typos in my last post.. i should proof read a little. - parents defualt constructor ( one with arguments). should be 'without' arguments - that a child class can be inherited with parent class construction. should be 'without' parent class /.. sorry.. jason -- PHP Internals -

Re: [PHP-DEV] Base and derived class construction

2004-06-26 Thread Jason Davidson
which languages is this normal too.. if you refer to java, that uses the 'super' function, you need only explicitly call super if your constructor has arguments, otherwise an implicit call is made to the parents defualt constructor ( one with arguments). c++ also will call the parent defualt con

Re: [PHP-DEV] Base and derived class construction

2004-06-26 Thread Stefan Walk
On Sat, Jun 26, 2004 at 08:03:12PM -0700, Jason Davidson wrote: > Hi, is there a reason that when a child class is instantiated the parent > class constructor does not get called? > The obvious workaournd for this is to simply call > $this->parentConstructor(); in the child class constructor, howev

[PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-26 Thread Andi Gutmans
Hi, As I understand that www.php.net (the main web site) works fine with PHP 5, can someone with root access upgrade to PHP 5 on www.php.net? As discussed here, it'd be good to make this switch in preparation for the upcoming release. FYI, I'm hopping on a flight now so I won't be reading email i

Re: [PHP-DEV] Bug 28879: Populating arrays with resources and objects as offsets

2004-06-26 Thread Andi Gutmans
Don't quite understand what you are saying? Does the recent patch affect you? Are you talking about explicit casting? Andi At 01:32 AM 6/27/2004 +0200, Wez Furlong wrote: COM/VARIANT objects can have a default integer value when casted in an integer context. --Wez. - Original Message - From

Re: [PHP-DEV] sqlite changes by PHP team are now in sqlite CVS

2004-06-26 Thread Derrell . Lipman
"Wez Furlong" <[EMAIL PROTECTED]> writes: > Thanks; I will sync that when I get back from the conference. Great. When you do, it's currently only in CVS AFAIK (i.e. not in a "release"), so sync from there. There should have been *very* few changes (if any) since 2.8.14 since the 3.0 branch is w

[PHP-DEV] Base and derived class construction

2004-06-26 Thread Jason Davidson
Hi, is there a reason that when a child class is instantiated the parent class constructor does not get called? The obvious workaournd for this is to simply call $this->parentConstructor(); in the child class constructor, however, this seems strange.. Am i way off base here...? Thanks Jason --

Re: [PHP-DEV] sqlite changes by PHP team are now in sqlite CVS

2004-06-26 Thread Wez Furlong
Thanks; I will sync that when I get back from the conference. --Wez. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Wez" <[EMAIL PROTECTED]>; "internals" <[EMAIL PROTECTED]> Sent: Saturday, June 26, 2004 8:05 PM Subject: [PHP-DEV] sqlite cha

Re: [PHP-DEV] Bug 28879: Populating arrays with resources and objects as offsets

2004-06-26 Thread Wez Furlong
COM/VARIANT objects can have a default integer value when casted in an integer context. --Wez. - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Sara Golemon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 22, 2004 7:02 PM Subject: Re: [PHP-DEV] Bug 28879:

Re: [PHP-DEV] php.net on PHP5

2004-06-26 Thread Wez Furlong
sqlite is compiled statically into PHP 5. > I have tried to get SQLite running on PHP5 / Windows but for some reason > it's built with links to the PHP4 files. > Anybody got a PHP5 version for Windows ? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.ph

[PHP-DEV] sqlite changes by PHP team are now in sqlite CVS

2004-06-26 Thread Derrell . Lipman
I submitted the corrections to sqlite that were found by the PHP team (mostly 64-bit architecture issues), to the sqlite team. Those changes have been checked in to the sqlite Version 2 branch, so PHP can now more easily track and keep up with any bug fixes in sqlite. See http://www.sqlite.org/cv

Re: [PHP-DEV] Input Filters - Bugs? - PHP4 Port

2004-06-26 Thread Moriyoshi Koizumi
On 2004/06/26, at 3:36, Stefan Esser wrote: I am asking, because this is not properly documented and atleast the mbstring extension violates this. mbstring extention doesn't actually use "input filter" stuff, but it had initially been merged to SAPI as a ugly "hack" long before the input filter wa

[PHP-DEV] [PHP-CLI] Accessing Input Lines from Functions Utilizing "-F"

2004-06-26 Thread Larry Adams
Ok, So I am running PHP in interactive mode utilizing the PROCESS command line option -F. I type the following command: c:\php\php.exe -a -F myfile.php When I run this command, I receive the "Interactive Mode Enabled" prompt. My question is, once I start keying in information and the program "m

[PHP-DEV] Accessing keyboard input in Interactive PHP

2004-06-26 Thread Larry Adams
Ok, So I am running PHP in interactive mode utilizing the PROCESS command line option -F. I type the following command: c:\php\php.exe -a -F myfile.php When I run this command, I receive the "Interactive Mode Enabled" prompt. My question is, once I start keying in information and the program "m

[PHP-DEV] issue in copying the hash table(Reposted second time)

2004-06-26 Thread Kamesh Jayachandran
Hi All, Sorry to repost. I want the clarification regarding copying the global_class_table to thread specific compiler_globals->class_table in compiler_globals_ctor in Zend/zend.c. According to me memcpy should copy 'whatever source points to' to 'destination'. Our class_table hashtable structure

[PHP-DEV] CVS Account Request: adamg

2004-06-26 Thread Adam Golebiowski
Translating PEAR/PECL documentation into Polish. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Input Filters - Bugs? - PHP4 Port

2004-06-26 Thread Stefan Esser
Hi, No real porting necessary. This area of the code is identical in PHP4 and PHP5, so it would just be a matter of adding the hook. I am using this extensively with PHP4. I know. I "backported" it for my next version of Hardened-PHP which will make use of the input_filter system and will impl

Re: [PHP-DEV] Input Filters - Bugs? - PHP4 Port

2004-06-26 Thread Rasmus Lerdorf
On Fri, 25 Jun 2004, Stefan Esser wrote: > am I correct in assuming that input_filters are allowed todo whatever > they want with the value? > > I am asking, because this is not properly documented and atleast the > mbstring extension violates this. > > First of all it feeds input_filter a value