Re: [PHP-DEV] mysqli parse error

2004-03-09 Thread Juergen Mueller
> Get the latest CVS snapshot from http://snaps.php.net > as this and many other problems have already been fixed. > > --Jani sorry, but with the latest CVS snapshot from http://snaps.php.net I got the same Error: /bin/sh /install/php5-200403100030/libtool --silent --preserve-dup

[PHP-DEV] Re: Cannot re-assign $this

2004-03-09 Thread Sara Golemon
I can see from the specific line you pasted that you're talking about Net_DNS. The Lead Maintainer of that package and I are working to resolve this problem without breaking BC. With luck the next release of Net_DNS will contain a fix that allows existing scripts to continue working. -Sara

[PHP-DEV] gmmktime on windows ends an hour out on the night DST takes affect

2004-03-09 Thread Scott MacVicar
Hi, I think this is a bug from the depths of Redmond since it takes an hour off ta->tm_hour but doesn't set ta->tm_isdst, its fairly significant and can be fixed with a small change. If someone with karma could apply the patch in http://bugs.php.net/bug.php?id=27533 Patch basically forces it

[PHP-DEV] bug in zend_multiply.h

2004-03-09 Thread Ard Biesheuvel
This code fails on 64-bit archs because it relies on the accuracy of a double to be sufficient to represent LONG_MAX. The patch adresses it by checking for overflow by reversing the calculation instead of casting to a double and back to long. #include "build/php5-cvs/Zend/zend_multiply.h" #def

Re: [PHP-DEV] class constants crash PHP

2004-03-09 Thread Andi Gutmans
Fixed. At 07:10 PM 3/5/2004 +0100, Ard Biesheuvel wrote: This script crashes with the latest HEAD. I don't know if it is something that did work at an earlier time. class Image { const RESOURCE_FORMAT = ResourceFormat::IMG; } print_r(constant('Image::RESOURCE_FORMAT')); ?> -- Ard -- PHP I

Re: [PHP-DEV] Re: Zend API

2004-03-09 Thread Stanislav Malyshev
SG>> Note that in PHP5, private/protected properties have unusual looking SG>> property names (starting with nulls and the like). Also beware that in PHP5 HASH_OF can return NULL for non-standard objects. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +97

[PHP-DEV] Re: Zend API

2004-03-09 Thread Sara Golemon
Z_TYPE_P(pzval) will equal IS_ARRAY or IS_OBJECT (depending on which of the two it is). Array elements/Object properties can be found in HASH_OF(pzval). As to actually accessing the elements/properties: Every function you'll ever need for that can be found in Zend/zend_hash.h Note that in PHP5,

RE: [PHP-DEV] Cannot re-assign $this

2004-03-09 Thread Joseph Lee
Here's the reply to a similar question in http://www.zend.com/php/ask_experts.php : "The fact that you could change in PHP 4, was never really meant to be although it worked. In PHP 5 we removed this option due to performance and semantic reasons. In PHP 5, you can either use a factory method patt

Re: [PHP-DEV] mysqli parse error

2004-03-09 Thread Jani Taskinen
Get the latest CVS snapshot from http://snaps.php.net as this and many other problems have already been fixed. --Jani On Tue, 9 Mar 2004, Juergen Mueller wrote: >hi, > >got the following parsing error with latest php5 snapshot and php5beta4. >./configure --with-mysqli=/usr/

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

2004-03-09 Thread Jan Lehnardt
Hi, On 9 Mar 2004, at 12:34, Marco Krueger wrote: Want to use the PHP documentation on my site You don't need a CVS account for that. What exactly are you planning anyway? Jan -- GPG Key: BB96 56B0 Q: Thank Jan? - A: http://geschenke.an.dasmoped.net/ -- PHP Internals - PHP Runtime Development Maili

[PHP-DEV] mysqli parse error

2004-03-09 Thread Juergen Mueller
hi, got the following parsing error with latest php5 snapshot and php5beta4. ./configure --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/install/mysql/ --with-apxs2=/usr/local/apache/bin/apxs /install/php-5.0.0b4/ext/mysqli/php_mysqli.h:48: parse error before `MYSQL_STMT' /install/

[PHP-DEV] CVS Account Request: regeurk78

2004-03-09 Thread Marco Krueger
Want to use the PHP documentation on my site -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Segfault, HEAD

2004-03-09 Thread Pierre-Alain Joye
On Sat, 6 Mar 2004 23:22:07 +0100 [EMAIL PROTECTED] (Pierre-Alain Joye) wrote: > Hello, > > The following command segfaults (equivalent to "pear.sh package"): > > # cd /path/to/pecl/philter > # php /path/to/pearcmd.php package > > please find the backtrace and valgring output as attachments. >

Re: [PHP-DEV] [2] Cannot re-assign $this

2004-03-09 Thread Marcus Boerger
Hello npguy, there is no way to do that in php 5 and there never will be. The only valid reason for it being in php 4 was constructor failure which now can be done with exceptions. marcus Tuesday, March 9, 2004, 8:57:03 AM, you wrote: > hi, > since php4 is quite about this issue how can i reso