cvs: php-gtk /test bug_callbackexception.php
| From: | Christian Weiske | Date: | Wed, 15 Mar 2006 19:31:33 +0000 |
| Subject: | cvs: php-gtk /test bug_callbackexception.php | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-2189@lists.php.net to get a copy of this message | ||
cweiske Wed Mar 15 19:31:33 2006 UTC
Added files:
/php-gtk/test bug_callbackexception.php
Log:
Exception is not thrown when thrown in a callback.
http://cvs.php.net/viewcvs.cgi/php-gtk/test/bug_callbackexception.php?view=markup&rev=1.1
Index: php-gtk/test/bug_callbackexception.php
+++ php-gtk/test/bug_callbackexception.php
<?php
function cb()
{
throw new Exception('Will not get displayed anywhere');
}
Gtk::idle_add('cb');
Gtk::main();
?>