Re: [PHP-DEV] E_STRICT on inheritance + method parameter defaults?

2005-09-21 Thread Marcus Boerger
Hello Christian, Wednesday, September 21, 2005, 10:37:01 PM, you wrote: > Marcus Boerger wrote: >> [EMAIL PROTECTED] /usr/src/PHP_5_1 $ php -r 'class T{function f($x){}} class >> U extends T{function f($x=2){}}' >> make: `sapi/cli/php' is up to date. >> >> Strict Standards: Declaration of U::f(

Re: [PHP-DEV] E_STRICT on inheritance + method parameter defaults?

2005-09-21 Thread Christian Schneider
Christian Schneider wrote: Even more so for function V::f($x,$y=false) to provide extended functionality to T::f($x) for code which knows about it Ok, forget that part, I made a typo when testing this ;-) Apologies, - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscrib

Re: [PHP-DEV] E_STRICT on inheritance + method parameter defaults?

2005-09-21 Thread Christian Schneider
Marcus Boerger wrote: [EMAIL PROTECTED] /usr/src/PHP_5_1 $ php -r 'class T{function f($x){}} class U extends T{function f($x=2){}}' make: `sapi/cli/php' is up to date. Strict Standards: Declaration of U::f() should be compatible with that of T::f() in Command line code on line 1 [EMAIL PROTECT

Re: [PHP-DEV] E_STRICT on inheritance + method parameter defaults?

2005-09-21 Thread Marcus Boerger
Hello Sean, Wednesday, September 21, 2005, 4:54:31 PM, you wrote: > Hello all, > This crept up as the result of a bug report (not mine -- > http://bugs.php.net/34494), and a small discussion on IRC: > Why does an E_STRICT get raised when extending a class, and altering the > method's proto defa

[PHP-DEV] E_STRICT on inheritance + method parameter defaults?

2005-09-21 Thread Sean Coates
Hello all, This crept up as the result of a bug report (not mine -- http://bugs.php.net/34494), and a small discussion on IRC: Why does an E_STRICT get raised when extending a class, and altering the method's proto defaults? I understand why it would be thrown when adding/changing parameters, but

Re: [PHP-DEV] Patch for bug #34565

2005-09-21 Thread Ilia Alshanetsky
Patch applied, thanks. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Missing symbol upon loading module

2005-09-21 Thread David Olsson
Nevermind. The config.m4 was messed up so that the module never linked against libstd++ which, of course, caused som missing symbols. Best regards David Olsson David Olsson wrote: I have a PHP extension written in C++ which I use for parsing and building WbXml documents. I have tested buildin

[PHP-DEV] Missing symbol upon loading module

2005-09-21 Thread David Olsson
I have a PHP extension written in C++ which I use for parsing and building WbXml documents. I have tested building and using it on a 32 bit x86 system running the following: PHP 4.3.10 GCC 3.3.5 Gentoo Linux 2.6.10-r4 Everything works fine on this configuration. I do however need the extensio