#38514 [Asn->Csd]: 5.1RC5 has troubles with Zlib which 5.1RC4 not have

[email protected]
Newsgroups php.gtk.dev
Message-ID <[email protected]>
 ID:               38514
 Updated by:       [email protected]
 Reported By:      cweiske at cweiske dot de
-Status:           Assigned
+Status:           Closed
 Bug Type:         PHP-GTK related
 Operating System: win xp
 PHP Version:      5.1.4
 Assigned To:      sfox
 New Comment:

Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Since 2.0.0 this is no longer an issue - windows releases have the
appropriate dlls and the toolbar set_style was renamed to avoid
conflicts


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

[2006-08-20 08:34:53] [email protected]

Christian - this is not an appropriate forum in which to start a
debate. Please stick to the dev list if you want to challenge our
assessment of the problem (that's mine and Andrei's).

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

[2006-08-20 08:25:37] [email protected]

The warning:
> "Strict Standards: Declaration of GtkToolbar::set_style() 
> should be compatible with that of GtkWidget::set_style()"
*is* down to E_STRICT standards, and we already discussed this issue on
the list.

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

[2006-08-20 08:20:27] [email protected]

There's no intl.dll because when I tested the dependencies for the GTK
runtime package intl.dll didn't come up as being one of them. I'll
re-test and try to establish why, but in the meantime could you please
tell me how you came to the conclusion there was a missing dependency?
(Was there an error message for example?)

Those errors aren't down to E_STRICT being enabled, they're down to
display_startup_errors being turned on. Outside of that, E_STRICT is
fine (in fact I develop with E_STRICT enabled too). 

I have already discussed the startup errors at some length with Andrei,
Dmitry Stogov and Andi Gutmans on the PHP internals list, because it's
down to the way internal object inheritance is defined in the Zend
Engine now. Dmitry advised me that the patch I offered at the time (or
any other fix) would NOT be applied because the existing definition is
correct for PHP internal objects, and it's not PHP's problem if
third-party objects don't adhere to that definition. So this part of the
two-part bug report is likely to be a 'won't fix', unless Andrei comes
up with some cute way to force GTK objects to comply with PHP
inheritance rules. 

Just turn display_startup_errors off. It's off by default anyway.

- Steph

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

[2006-08-20 07:37:17] [email protected]

You have E_STRICT settings activated. PHP-Gtk2 currently is not
compatible with this setting.

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

[2006-08-19 23:07:50] cweiske at cweiske dot de

Description:
------------
First problem is that in ythe GTK+-Packages there is no "intl.dll", i
found a working in the web while the one that is provided by "MySQL
Administrator" did not work.

--

Now the php_gtk2.dll loads but on every script-call even a "php -v"
errors like the following will be shown 

"Strict Standards: Declaration of GtkToolbar::set_style() should be
compatible with that of GtkWidget::set_style()"



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


-- 
Edit this bug report at http://bugs.php.net/?id=38514&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.