From 51e24ab11fc8dc2472755d2d9e80fb4acf0430c6 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Mon, 4 Nov 2002 11:03:25 +0000 Subject: [PATCH] Adding more info on float conversion and some more cross references git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@102532 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/language/types.xml b/language/types.xml index a4696615f0..9b1916da26 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -525,6 +525,17 @@ EXPONENT_DNUM (({LNUM}|{DNUM})[eE][+-]?{LNUM}) or gmp functions instead. + + + + Converting to float + + + For information on when and how strings are converted to floats, + see the section titled String + conversion to numbers. + + @@ -1089,6 +1100,12 @@ echo "\$foo==$foo; type is " . gettype ($foo) . "
\n"; + + Do not expect to get the code of one character by converting it + to integer (as you would do in C for example). Use the functions + ord and chr to convert + between charcodes and characters. +