-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathnull.xml
More file actions
80 lines (69 loc) · 1.83 KB
/
null.xml
File metadata and controls
80 lines (69 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 3f1dbc451b313fb1ec8058f24c1beccf55fce316 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no Maintainer: Marqitos -->
<sect1 xml:id="language.types.null">
<title>NULL</title>
<para>
El tipo <type>null</type> es el tipo unidad de PHP, es decir, que solo tiene un valor:
&null;.
</para>
<para>
Las variables no definidas y <function>unset</function> tendrán el
valor &null;.
</para>
<sect2 xml:id="language.types.null.syntax">
<title>Sintaxis</title>
<para>
Solo hay un valor de tipo <type>null</type>, y es la constante
insensible a mayúsculas y minúsculas &null;.
</para>
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
$var = NULL;
?>
]]>
</programlisting>
</informalexample>
</sect2>
<sect2 xml:id="language.types.null.casting">
<title>Conversión a &null;</title>
&warn.deprecated.feature-7-2-0.removed-8-0-0;
<para>
Convertir una variable a <type>null</type> utilizando la sintaxis <literal>(unset) $var</literal>
<emphasis>no borrará</emphasis> la variable, ni sobrescribirá su valor.
Solo devolverá el valor &null;.
</para>
</sect2>
<sect2 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>is_null</function></member>
<member><function>unset</function></member>
</simplelist>
</para>
</sect2>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->