cvs: php-src(PHP_4_3) /pear/scripts pear.bat pearcmd.php pearwin.php
| From: | Pierre-Alain Joye | Date: | Mon, 26 Jan 2004 01:34:04 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /pear/scripts pear.bat pearcmd.php pearwin.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-77@lists.php.net to get a copy of this message | ||
pajoye Sun Jan 25 20:34:04 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/pear/scripts pear.bat pearcmd.php pearwin.php
Log:
- MFH
http://cvs.php.net/diff.php/php-src/pear/scripts/pear.bat?r1=1.10.4.10&r2=1.10.4.11&ty=u
Index: php-src/pear/scripts/pear.bat
diff -u php-src/pear/scripts/pear.bat:1.10.4.10 php-src/pear/scripts/pear.bat:1.10.4.11
--- php-src/pear/scripts/pear.bat:1.10.4.10 Sun Jan 25 18:20:01 2004
+++ php-src/pear/scripts/pear.bat Sun Jan 25 20:34:03 2004
@@ -1,7 +1,7 @@
@ECHO OFF
REM ----------------------------------------------------------------------
-REM PHP version 4.0
+REM PHP version 4
REM ----------------------------------------------------------------------
REM Copyright (c) 1997-2004 The PHP Group
REM ----------------------------------------------------------------------
@@ -16,7 +16,7 @@
REM Authors: Alexander Merz (alexmerz@php.net)
REM ----------------------------------------------------------------------
REM
-REM $Id: pear.bat,v 1.10.4.10 2004/01/25 23:20:01 pajoye Exp $
+REM $Id: pear.bat,v 1.10.4.11 2004/01/26 01:34:03 pajoye Exp $
REM change this lines to match the paths of your system
REM -------------------
http://cvs.php.net/diff.php/php-src/pear/scripts/pearcmd.php?r1=1.1.2.10&r2=1.1.2.11&ty=u
Index: php-src/pear/scripts/pearcmd.php
diff -u php-src/pear/scripts/pearcmd.php:1.1.2.10 php-src/pear/scripts/pearcmd.php:1.1.2.11
--- php-src/pear/scripts/pearcmd.php:1.1.2.10 Sun Jan 25 18:20:01 2004
+++ php-src/pear/scripts/pearcmd.php Sun Jan 25 20:34:03 2004
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: pearcmd.php,v 1.1.2.10 2004/01/25 23:20:01 pajoye Exp $
+// $Id: pearcmd.php,v 1.1.2.11 2004/01/26 01:34:03 pajoye Exp $
ob_end_clean();
/**
@@ -33,7 +33,6 @@
ini_set('track_errors', true);
ini_set('html_errors', false);
ini_set('magic_quotes_runtime', false);
-error_reporting(E_ALL & ~E_NOTICE);
set_error_handler('error_handler');
$pear_package_version = "@pear_version@";
@@ -265,21 +264,21 @@
// }}}
function error_handler($errno, $errmsg, $file, $line, $vars) {
- if (error_reporting() == 0) {
+ if ((defined('E_STRICT') && $errno & E_STRICT) || !error_reporting()) {
return; // @silenced error
}
$errortype = array (
- 1 => "Error",
- 2 => "Warning",
- 4 => "Parsing Error",
- 8 => "Notice",
- 16 => "Core Error",
- 32 => "Core Warning",
- 64 => "Compile Error",
- 128 => "Compile Warning",
- 256 => "User Error",
- 512 => "User Warning",
- 1024=> "User Notice"
+ E_ERROR => "Error",
+ E_WARNING => "Warning",
+ E_PARSE => "Parsing Error",
+ E_NOTICE => "Notice",
+ E_CORE_ERROR => "Core Error",
+ E_CORE_WARNING => "Core Warning",
+ E_COMPILE_ERROR => "Compile Error",
+ E_COMPILE_WARNING => "Compile Warning",
+ E_USER_ERROR => "User Error",
+ E_USER_WARNING => "User Warning",
+ E_USER_NOTICE => "User Notice"
);
$prefix = $errortype[$errno];
$file = basename($file);
http://cvs.php.net/diff.php/php-src/pear/scripts/pearwin.php?r1=1.8.10.9&r2=1.8.10.10&ty=u
Index: php-src/pear/scripts/pearwin.php
diff -u php-src/pear/scripts/pearwin.php:1.8.10.9 php-src/pear/scripts/pearwin.php:1.8.10.10
--- php-src/pear/scripts/pearwin.php:1.8.10.9 Sun Jan 25 18:20:01 2004
+++ php-src/pear/scripts/pearwin.php Sun Jan 25 20:34:03 2004
@@ -17,7 +17,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: pearwin.php,v 1.8.10.9 2004/01/25 23:20:01 pajoye Exp $
+// $Id: pearwin.php,v 1.8.10.10 2004/01/26 01:34:03 pajoye Exp $
require_once 'PEAR.php';
require_once 'PEAR/Common.php';