Re: [PEPr] Call for votes on RFC::Requiring E_STRICT Compatibilityfor New PEAR Packages

From: Date: Wed, 06 Sep 2006 16:09:11 +0000
Subject: Re: [PEPr] Call for votes on RFC::Requiring E_STRICT Compatibilityfor New PEAR Packages
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43893@lists.php.net to get a copy of this message
Scott Mattocks wrote:
I know it is late but I didn't put things together until just now. Anyway, there needs to be an exception clause for Gtk2 packages and other C library wrapper extension packages. Gtk+2 has classes that extend one another and overwrite methods with different signatures. This causes PHP 5 to throw an E_STRICT warning when the class is used. There is nothing that a developer can do about this and it should not prevent a package from being accepted. Of course the PHP-GTK team is working on a solution to this problem, but this is not a PHP-GTK only issue. Any PHP warapper around a C library could potentially have the same problem.
Isnt this even fatal in PHP 5.2? Anyways why do C wrappers need to rewrite signatures? regards, Lukas

« previous php.pear.dev (#43893) next »