Re: E_STRICT and PHP-Gtk2

From: Date: Tue, 16 May 2006 05:35:12 +0000
Subject: Re: E_STRICT and PHP-Gtk2
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2853@lists.php.net to get a copy of this message
Hello all, >>GtkMenu::set_accel_path(accel_path); >>GtkWidget::set_accel_path(accel_path, GtkAccelGroup accel_group); > Here we should make the accel_group optional and call the gtkwidget one > if it's given. >>GtkMenuItem::set_accel_path(accel_path); >>GtkWidget::set_accel_path(accel_path, GtkAccelGroup accel_group); > Make the second optional. I tried this and *still* get the warnings. Seems as if PHP doesn't care if we have optional parameters. If I remove the optionality reflection info of the second parameter, PHP gets it and shuts up, at least for the two methods. -- Regards/MfG, Christian Weiske

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.dev (#2853) next »