mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix variable name in SplFloat example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328099 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3a8dc25d68
commit
3cf1fede29
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ $newFloat = new SplFloat(3);
|
|||
try {
|
||||
$float = 'Try to cast a string value for fun';
|
||||
} catch (UnexpectedValueException $uve) {
|
||||
echo $e->getMessage() . PHP_EOL;
|
||||
echo $uve->getMessage() . PHP_EOL;
|
||||
}
|
||||
|
||||
echo $float . PHP_EOL;
|
||||
|
|
Loading…
Reference in a new issue