From 3cf1fede294079c70ae7c795dbe47ada7f48640d Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Mon, 22 Oct 2012 15:12:03 +0000 Subject: [PATCH] fix variable name in SplFloat example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328099 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl_types/splfloat.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/spl_types/splfloat.xml b/reference/spl_types/splfloat.xml index 56a7fccd2f..d9dc551bdd 100644 --- a/reference/spl_types/splfloat.xml +++ b/reference/spl_types/splfloat.xml @@ -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;