Re: E_STRICT and PHP-Gtk2

From: Date: Tue, 16 May 2006 16:42:07 +0000
Subject: Re: E_STRICT and PHP-Gtk2
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2854@lists.php.net to get a copy of this message
Then this question is for PHP internals list, no? On May 15, 2006, at 10:35 PM, Christian Weiske wrote:
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


« previous php.gtk.dev (#2854) next »