Newsgroups: php.internals,php.pear.dev Path: news.php.net Xref: news.php.net php.internals:19310 php.pear.dev:40003 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73076 invoked by uid 1010); 1 Oct 2005 14:17:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73060 invoked from network); 1 Oct 2005 14:17:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2005 14:17:36 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:37964] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 18/2F-54476-D7A9E334 for ; Sat, 01 Oct 2005 10:17:33 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j91EHTlc002304; Sat, 1 Oct 2005 16:17:29 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j91EHN5B002289; Sat, 1 Oct 2005 16:17:23 +0200 Date: Sat, 1 Oct 2005 16:17:19 +0200 (CEST) X-X-Sender: derick@localhost To: pear-dev@lists.php.net, PHP Developers Mailing List cc: cellog@php.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: phar and e_strict From: derick@php.net (Derick Rethans) Hello! I am wondering why "make install-pear" comes up with hundreds of e_strict warnings? The code tests for PHP 5.1 but makes use of all old things that are now considered e_strict or deprecated. Besides this for some reason setting error_reporting to 0 doesn't help at all. First of all the code does: error_reporting(E_ALL);^M if (version_compare(phpversion(), '5.1.0b1', '<')) {^M die('Error: .phar files require PHP 5.1 or newer');^M }^M But it seems E_STRICT is turned on later for some reason too. Can this code please be upgraded to 1. not modify any error reporting setting and 2. PHP 5.1 compatible code. Currently installing pear does not seem to work at all with the .phar. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org