git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281862 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2009-06-09 10:10:49 +00:00
parent d1762cd01d
commit e65155b6c6

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.20 $ -->
<!-- $Revision: 1.21 $ -->
<sect1 xml:id="language.types.string">
<title>Strings</title>
@ -798,7 +798,7 @@ $str[strlen($str)-1] = 'e';
<simpara>
If the <type>string</type> does not contain any of the characters '.', 'e',
or 'E' and implied numeric value fits into integer type limits (as defined by
or 'E' and the numeric value fits into integer type limits (as defined by
<constant>PHP_INT_MAX</constant>), the <type>string</type> will be evaluated
as an <type>integer</type>. In all other cases it will be evaluated as a
<type>float</type>.