Exception Stack Trace

From: Date: Thu, 28 Apr 2005 23:36:36 +0000
Subject: Exception Stack Trace
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1217@lists.php.net to get a copy of this message
Hello, The attached code snippet produces these two stack traces from exceptions: Warning: GtkMenuItem::__construct() requires exactly 0 arguments, 1 given in /home/scott/php-gtk2_test.php on line 14 could not construct GtkMenuItem object #0 /home/scott/php-gtk2_test.php(28): func0('GtkMenuItem') #1 {main} TestClass __construct problem. #0 /home/scott/php-gtk2_test.php(21): TestClass->__construct('TestClass') #1 /home/scott/php-gtk2_test.php(28): func0('func0') #2 {main} The thing that I don't understand is why the first trace puts the 'GtkMenuItem' parameter in the func0() call. Do stack traces with "built-in" objects behave differently than with user defined objects? Or is something not functioning right here? Thanks, Scott

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