finally php 4.0.5 rleased
i wanted to try out simple gtk app
<?php
function quitApplication() {
Gtk::main_quit();
}
dl( 'php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so')) ||
die("Can't load php_gtk module!\n");
$window = &new GtkWindow;
$window->set_title("PHP-GTK for world domination");
// Set the default size of our window
$window->set_default_size(320, 200);
$window->connect('delete_event', 'quitApplication');
additional widgets HERE
children
$window->show_all();
Gtk::main() is called
Gtk::main();
?>
i start it from command line
c:/php <app-name.php>
but php can't find gtk.dll
though it's named correctly and it is there
thuns