language/predefined/variables/phperrormsg.xml
a6d209f4ff71ccba3f1255902827f5df3e092ff9
...
...
@@ -1,7 +1,7 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3

4
-
<phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="reserved.variables.phperrormsg" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+
<refentry role="variable" xml:id="reserved.variables.phperrormsg" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>$php_errormsg</refname>
7
7
<refpurpose>The previous error message</refpurpose>
...
...
@@ -9,6 +9,9 @@
9
9

10
10
<refsynopsisdiv>
11
11
&warn.deprecated.feature-7-2-0;
12
+
<simpara>
13
+
Use <function>error_get_last</function> instead.
14
+
</simpara>
12
15
</refsynopsisdiv>
13
16
14
17
<refsect1 role="description">
...
...
@@ -30,6 +33,40 @@
30
33
</warning>
31
34
</refsect1>
32
35

36
+
<refsect1 role="changelog">
37
+
&reftitle.changelog;
38
+
<para>
39
+
<informaltable>
40
+
<tgroup cols="2">
41
+
<thead>
42
+
<row>
43
+
<entry>&Version;</entry>
44
+
<entry>&Description;</entry>
45
+
</row>
46
+
</thead>
47
+
<tbody>
48
+
<row>
49
+
<entry>8.0.0</entry>
50
+
<entry>
51
+
Directive <link linkend="ini.track-errors">track_errors</link> which
52
+
caused <varname>$php_errormsg</varname> to be available has been
53
+
removed.
54
+
</entry>
55
+
</row>
56
+
<row>
57
+
<entry>7.2.0</entry>
58
+
<entry>
59
+
Directive <link linkend="ini.track-errors">track_errors</link> which
60
+
caused <varname>$php_errormsg</varname> to be available has been
61
+
deprecated.
62
+
</entry>
63
+
</row>
64
+
</tbody>
65
+
</tgroup>
66
+
</informaltable>
67
+
</para>
68
+
</refsect1>
69
+
33
70
<refsect1 role="examples">
34
71
&reftitle.examples;
35
72
<para>
...
...
@@ -53,7 +90,16 @@ Wrong parameter count for strpos()
53
90
</para>
54
91
</refsect1>
55
92

56
-
</phpdoc:varentry>
93
+
<refsect1 role="seealso">
94
+
&reftitle.seealso;
95
+
<para>
96
+
<simplelist>
97
+
<member><function>error_get_last</function></member>
98
+
</simplelist>
99
+
</para>
100
+
</refsect1>
101
+

102
+
</refentry>
57
103
58
104
<!-- Keep this comment at the end of the file
59
105
Local variables:
60
106