[PHP-DEV] Can't compile PHP6 snapshot

2006-09-26 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've trouble compiling the snapshot, it bails out in php_apache.c . =Configure= ./configure --prefix=/opt/php6 --enable-bcmath --enable-calendar - --enable-exif --enable-ftp --enable-gd-native-ttf --enable-pcntl - --enable-shmop --enable-soap --e

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysqli mysqli.c mysqli_api.c mysqli_driver.c mysqli_nonapi.c mysqli_prop.c mysqli_report.c php_mysqli.h /ext/mysqli/tests 001.phpt 002.phpt 003.phpt 004.phpt

2006-09-26 Thread Andrei Zmievski
Hey Georg, Thanks for committing the draft. I went through and made some notes on the implementation. 1. Please use ZEND_STR_TYPE instead of UG(unicode)?IS_UNICODE:IS_STRING 2. This type of thing: + if (UG(unicode)) { + UChar *ustr = USTR_MAKE("mysqli_driver"); + i

Re: [PHP-DEV] Parameter checking in 5.2

2006-09-26 Thread Stanislav Malyshev
Personally I don't need the strict OO checks for matching parameter lists at all, but as long as they are E_STRICT (or the like) I have no problem with them being done. Nevertheless I would like to relax them just a tiny little bit for signature changes not having an impact of object compatibilit

Re: [PHP-DEV] how is a return values stored?

2006-09-26 Thread Derick Rethans
On Tue, 26 Sep 2006, Prometheus Prometheus wrote: > i was just asking myself, if it is possible, to get the return value of a > function after the function calls "return" (or throws an exception) and before > the value is returned Only through an extension. > i thought it would be a very impress

Re: [PHP-DEV] how is a return values stored?

2006-09-26 Thread Matt Sicker
On Tuesday 26 September 2006 06:32 am, Prometheus Prometheus wrote: > [EMAIL PROTECTED] > > i was just asking myself, if it is possible, to get the return value > of a function after the function calls "return" (or throws an > exception) and before the value is returned > > example: > class A{ >

Re: [PHP-DEV] Parameter checking in 5.2

2006-09-26 Thread Christian Schneider
Marcus Boerger wrote: > the short form is, use interfaces. And the long form is read the upgrade > file and find out to use interfaces :-) I don't understand how interfaces are connected to my proposal, please explain. Personally I don't need the strict OO checks for matching parameter lists

[PHP-DEV] how is a return values stored?

2006-09-26 Thread Prometheus Prometheus
[EMAIL PROTECTED] i was just asking myself, if it is possible, to get the return value of a function after the function calls "return" (or throws an exception) and before the value is returned example: class A{ public function __construct(){} public function __destruct(){ // her

Re: [PHP-DEV] Re: Building C++ extensions

2006-09-26 Thread Stut
Sara Golemon wrote: PHP_NEW_EXTENSION(mmsr, mmsr.c "$PHP_MMSR/MMSR/mmsr_bridge.cpp", $ext_shared) PHP_NEW_EXTENSION(mmsr, mmsr.c "$PHP_MMSR/MMSR/mmsr_bridge.cpp", $ext_shared,,,1) Ref: aclocal.m4 / EEPHP:Chapter 17 Thanks to all who replied. I have it working now. Sara: I have orde

Re: [PHP-DEV] [VOTE] (was: Parameter checking in 5.2)

2006-09-26 Thread Lukas Kahwe Smith
Derick Rethans wrote: On Sun, 24 Sep 2006, Ron Korving wrote: In this case, wouldn't E_NOTICE make more sense? E_STRICT kind of indicates that certain behaviour is deprecated, right? Not really, E_STRICT is for when you're doing something that you shouldn't. In my opinion that includes using

Re: [PHP-DEV] Object Memory Leakage...

2006-09-26 Thread Richard Quadling
On 25/09/06, Jon Anderson <[EMAIL PROTECTED]> wrote: I posted this to php-general several days ago, and the only response suggested that perhaps I should forward the question to PHP internals. If what's below isn't expected behavior, I'd be glad to dedicate a few days to helping track down the pr