]> granicus.if.org Git - php/commitdiff
ws
authorTomas V.V.Cox <cox@php.net>
Fri, 7 Jun 2002 08:04:05 +0000 (08:04 +0000)
committerTomas V.V.Cox <cox@php.net>
Fri, 7 Jun 2002 08:04:05 +0000 (08:04 +0000)
pear/scripts/pear.in

index d7d77a3e23dfff1199b32ff3e94d1c98d5b34334..c16b475635669c4f514a2679d0cbd951d2642b39 100644 (file)
@@ -255,22 +255,22 @@ function error_handler($errno, $errmsg, $file, $line, $vars) {
     if (error_reporting() == 0) {
         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"
-       );
-       $prefix = $errortype[$errno];
-       $file = basename($file);
-       print "\n$prefix: $errmsg in $file on line $line\n";
+    $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"
+    );
+    $prefix = $errortype[$errno];
+    $file = basename($file);
+    print "\n$prefix: $errmsg in $file on line $line\n";
 }