reference/var/functions/floatval.xml
fca3920773bcf7ea2aa2f7306103f6d3d0e6b901
...
...
@@ -9,10 +9,10 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>float</type><methodname>floatval</methodname>
12
-
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
12
+
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
-
Gets the <type>float</type> value of <parameter>var</parameter>.
15
+
Gets the <type>float</type> value of <parameter>value</parameter>.
16
16
</para>
17
17
</refsect1>
18
18
<refsect1 role="parameters">
...
...
@@ -20,11 +20,11 @@
20
20
<para>
21
21
<variablelist>
22
22
<varlistentry>
23
-
<term><parameter>var</parameter></term>
23
+
<term><parameter>value</parameter></term>
24
24
<listitem>
25
25
<para>
26
26
May be any scalar type. <function>floatval</function> should not be used
27
-
on objects, as doing so will emit an <constant>E_NOTICE</constant> level
27
+
on objects, as doing so will emit an <constant>E_WARNING</constant> level
28
28
error and return 1.
29
29
</para>
30
30
</listitem>
...
...
@@ -45,6 +45,29 @@
45
45
apply.
46
46
</para>
47
47
</refsect1>
48
+

49
+
<refsect1 role="changelog">
50
+
&reftitle.changelog;
51
+
<informaltable>
52
+
<tgroup cols="2">
53
+
<thead>
54
+
<row>
55
+
<entry>&Version;</entry>
56
+
<entry>&Description;</entry>
57
+
</row>
58
+
</thead>
59
+
<tbody>
60
+
<row>
61
+
<entry>8.0.0</entry>
62
+
<entry>
63
+
The error level when converting from object was changed from <constant>E_NOTICE</constant> to <constant>E_WARNING</constant>.
64
+
</entry>
65
+
</row>
66
+
</tbody>
67
+
</tgroup>
68
+
</informaltable>
69
+
</refsect1>
70
+

48
71
<refsect1 role="examples">
49
72
&reftitle.examples;
50
73
<para>
...
...
@@ -89,7 +112,6 @@ echo $float_value_of_var; // 0
89
112
</para>
90
113
</refsect1>
91
114
</refentry>
92
-

93
115
<!-- Keep this comment at the end of the file
94
116
Local variables:
95
117
mode: sgml
96
118