[] with other types (bug #41195)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241415 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2007-08-17 09:25:14 +00:00
parent e8b4bdea6b
commit a29b8b66e4

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.184 $ -->
<!-- $Revision: 1.185 $ -->
<chapter xml:id="language.types" xmlns="http://docbook.org/ns/docbook">
<title>Types</title>
@ -1140,6 +1140,12 @@ $third = $str{2};
</programlisting>
</example>
</para>
<note>
<para>
Accessing by <literal>[]</literal> or <literal>{}</literal> to
variables of other type silently returns &null;.
</para>
</note>
</sect3>
</sect2><!-- end syntax -->