Add some more info on resource types

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@102531 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2002-11-04 10:53:41 +00:00
parent 7d22c8c41b
commit d1c40af291

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.91 $ -->
<!-- $Revision: 1.92 $ -->
<chapter id="language.types">
<title>Types</title>
@ -1015,6 +1015,8 @@ $last = $str{strlen($str)-1};
Resources are always converted to strings with the structure
<literal>"Resource id #1"</literal> where <literal>1</literal> is
the unique number of the resource assigned by PHP during runtime.
If you would like to get the type of the resource, use
<function>get_resource_type</function>.
</para>
<para>
&null; is always converted to an empty string.