Re: Re: Problems with Gtk::input_add
| From: | Steph | Date: | Tue, 16 Jul 2002 14:44:20 +0000 |
| Subject: | Re: Re: Problems with Gtk::input_add | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2255@lists.php.net to get a copy of this message | ||
Hendrik, yr mailbox is fighting me :)
The function call is wrong, should be 'function' not function(), which
could be causing the crash. Please can you switch your error_reporting
to E_ALL in php.ini, try again, and let me know what happens including
error messages?
----- Original Message -----
From: "Hendrik" <xan@ai002.de>
To: <php-gtk-general@lists.php.net>
Sent: Monday, July 15, 2002 9:13 PM
Subject: Re: [PHP-GTK] Re: Problems with Gtk::input_add
> The Problem is
> $fp=fsockopen('machine.domain.tld', 80);
> Gtk::input_add($fp, GDK_INPUT_READ, function());
>
> it simply crashes.. and some seconds later the pc crashes to.. (win98)
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>