PHP-GTK applications can be started from the command line (or a batch
   file) with this syntax: 
   C:\php4\php -q C:\path\to\php-gtk\script.php
  
  
   Everytime you start a script with the command above, you will see the
   DOS box coming up which can be annoying. To prevent this, call the
   php_win.exe instead of php.exe.