ID:               32894
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Verified
+Status:           Closed
 Bug Type:         Class/Object related
 Operating System: *
 PHP Version:      5CVS-2005-06-19
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed along with #28377 & friends.


Previous Comments:
------------------------------------------------------------------------

[2005-05-02 17:41:45] [EMAIL PROTECTED]

I commented out the PHP-GTK 2 code and uncommented the SimpleXML
example. The same URL can be used to see the code sample:
http://crisscott.com/php_bug.txt

------------------------------------------------------------------------

[2005-04-30 04:31:46] [EMAIL PROTECTED]

Provide a test script which does NOT rely on PHP-GTK2 or
any other external extension.



------------------------------------------------------------------------

[2005-04-29 21:37:05] [EMAIL PROTECTED]

Description:
------------
If an exception is thrown by a system class (not user defined), the
stack trace is not correct. At least one level is missing and
parameters from the method which threw the exception are displayed as
having been passed to the function/method which called the method that
threw the exception.

Reproduce code:
---------------
http://crisscott.com/php_bug.txt

Expected result:
----------------
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(14): GtkMenuItem('GtkMenuItem')
#1 /home/scott/php-gtk2_test.php(35): func0('func0')
#2 {main}
TestClass __construct problem.
#0 /home/scott/php-gtk2_test.php(28):
TestClass->__construct('TestClass')
#1 /home/scott/php-gtk2_test.php(35): func0('func0')
#2 {main} 

Actual result:
--------------
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(28):
TestClass->__construct('TestClass')
#1 /home/scott/php-gtk2_test.php(35): func0('func0')
#2 {main} 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32894&edit=1

Reply via email to