mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- Fix example output + typo (bricebhb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@211993 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e53b217e38
commit
c8e821cf05
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.32 $ -->
|
||||
<!-- $Revision: 1.33 $ -->
|
||||
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.set-error-handler">
|
||||
<refnamediv>
|
||||
|
@ -237,7 +237,7 @@ function myErrorHandler($errno, $errstr, $errfile, $errline)
|
|||
echo "<b>My NOTICE</b> [$errno] $errstr<br />\n";
|
||||
break;
|
||||
default:
|
||||
echo "Unkown error type: [$errno] $errstr<br />\n";
|
||||
echo "Unknown error type: [$errno] $errstr<br />\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -302,7 +302,7 @@ Array
|
|||
)
|
||||
----
|
||||
vector b - a warning (b = log(PI) * a)
|
||||
<b>WARNING</b> [1024] Value at position 2 is not a number, using 0 (zero)<br />
|
||||
<b>My WARNING</b> [1024] Value at position 2 is not a number, using 0 (zero)<br />
|
||||
Array
|
||||
(
|
||||
[0] => 2.2894597716988
|
||||
|
@ -314,11 +314,11 @@ Array
|
|||
)
|
||||
----
|
||||
vector c - an error
|
||||
<b>ERROR</b> [512] Incorrect input vector, array of values expected<br />
|
||||
<b>My ERROR</b> [512] Incorrect input vector, array of values expected<br />
|
||||
NULL
|
||||
----
|
||||
vector d - fatal error
|
||||
<b>FATAL</b> [256] log(x) for x <= 0 is undefined, you used: scale = -2.5<br />
|
||||
<b>My FATAL</b> [256] log(x) for x <= 0 is undefined, you used: scale = -2.5<br />
|
||||
Fatal error in line 36 of file trigger_error.php, PHP 4.0.2 (Linux)<br />
|
||||
Aborting...<br />
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue