Re[2]: [PHP-DEV] "internal zval's" error on 'var $x=array();'

2003-08-24 Thread Marcus Börger
Hello Brad, Monday, August 25, 2003, 12:08:59 AM, you wrote: BB> Yes, just moving the ARRAY cases in zend_API.c and zend_variables.c BB> stopped the error, and so far it *seems* to work. that can't be BB> real fix, but i hope it is helpful (diffs attached) Fixed now. Seems like i was to eager fi

Re: [PHP-DEV] "internal zval's" error on 'var $x=array();'

2003-08-24 Thread Brad Bulger
Yes, just moving the ARRAY cases in zend_API.c and zend_variables.c stopped the error, and so far it *seems* to work. that can't be real fix, but i hope it is helpful (diffs attached) Brad Bulger wrote: this is with current php-src: it looks related to recent changes to zend_API, maybe, i haven't

[PHP-DEV] "internal zval's" error on 'var $x=array();'

2003-08-24 Thread Brad Bulger
this is with current php-src: it looks related to recent changes to zend_API, maybe, i haven't tracked it down yet, figured someone here could do that faster - and fix it too, heh: sh-2.05a# php -v PHP 5.0.0b2-dev (cli) (built: Aug 24 2003 12:40:08) (DEBUG) sh-2.05a# php -r 'class foo { var

[PHP-DEV] looking at bug #25223

2003-08-24 Thread Steph
Hi all - I was looking to see if there was anything obvious to prevent CLI building, and found that the CVS viewer has several commit reports missing. Andi made a few changes to the zend_mm and zend_alloc files on June 24th which aren't reported there (but which made it to [EMAIL PROTECTED]). Am

[PHP-DEV] gcc 3.3 warnings about strict-aliasing rules

2003-08-24 Thread Stefan Roehrich
Hello! If PHP5 cvs is compiled with gcc 3.3 and -Wall, there are warnings about: "dereferencing type-punned pointer will break strict-aliasing rules". E.g. they occur if the last parameter of zend_hash_find is a zval ** and used as zend_hash_find(..., (void **) &data). This warning has to do with

Re: [PHP-DEV] SAPI/CGI broken on Windows

2003-08-24 Thread Rob Richards
From: Sebastian Bergmann > > My problem gets already fixed by building Release_TS_Inline instead of > > Debug_TS. > > The attached patch fixes the problem for me. Just spent this morning looking at the issue to find the root of it all. libxml is built with msvcrt so when compiled statically in

Re: [PHP-DEV] SAPI/CGI broken on Windows

2003-08-24 Thread Sebastian Bergmann
Sebastian Bergmann wrote: My problem gets already fixed by building Release_TS_Inline instead of Debug_TS. The attached patch fixes the problem for me. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-software

Re: [PHP-DEV] feature request: user-defined superglobals

2003-08-24 Thread Zeev Suraski
At 01:08 24/08/2003, Stefan Walk wrote: On Sat, Aug 23, 2003 at 09:58:49PM +, Timm Friebe wrote: > On Sat, 2003-08-23 at 21:15, Matthias Nothhaft wrote: > Use the singleton pattern: > MYFW::getInstance()->method_a(); Which doesn't work yet, to prevent misunderstandings... Sure does. Zeev --