reference/info/functions/assert.xml
27dcb487a7e9c0f04559522a6d2aacf860d622cd
...
...
@@ -89,26 +89,32 @@
89
89
<entry><link linkend="ini.assert.callback">assert.callback</link></entry>
90
90
<entry>&null;</entry>
91
91
<entry>
92
-
A user defined function to call when an assertion fails.
93
-
It's signature should be:
94
-
<methodsynopsis role="procedural">
95
-
<type>void</type><methodname>assert_callback</methodname>
96
-
<methodparam><type>string</type><parameter>file</parameter></methodparam>
97
-
<methodparam><type>int</type><parameter>line</parameter></methodparam>
98
-
<methodparam><type>null</type><parameter>assertion</parameter></methodparam>
99
-
<methodparam choice="opt"><type>string</type><parameter>description</parameter></methodparam>
100
-
</methodsynopsis>
92
+
<para>
93
+
A user defined function to call when an assertion fails.
94
+
It's signature should be:
95
+
<methodsynopsis role="procedural">
96
+
<type>void</type><methodname>assert_callback</methodname>
97
+
<methodparam><type>string</type><parameter>file</parameter></methodparam>
98
+
<methodparam><type>int</type><parameter>line</parameter></methodparam>
99
+
<methodparam><type>null</type><parameter>assertion</parameter></methodparam>
100
+
<methodparam choice="opt"><type>string</type><parameter>description</parameter></methodparam>
101
+
</methodsynopsis>
102
+
</para>
101
103
</entry>
102
104
<entry>
103
-
Prior to PHP 8.0.0, the signature of the callback should be:
104
-
<methodsynopsis role="procedural">
105
-
<type>void</type><methodname>assert_callback</methodname>
106
-
<methodparam><type>string</type><parameter>file</parameter></methodparam>
107
-
<methodparam><type>int</type><parameter>line</parameter></methodparam>
108
-
<methodparam><type>string</type><parameter>assertion</parameter></methodparam>
109
-
<methodparam choice="opt"><type>string</type><parameter>description</parameter></methodparam>
110
-
</methodsynopsis>
111
-
Deprecated as of PHP 8.3.0.
105
+
<para>
106
+
Prior to PHP 8.0.0, the signature of the callback should be:
107
+
<methodsynopsis role="procedural">
108
+
<type>void</type><methodname>assert_callback</methodname>
109
+
<methodparam><type>string</type><parameter>file</parameter></methodparam>
110
+
<methodparam><type>int</type><parameter>line</parameter></methodparam>
111
+
<methodparam><type>string</type><parameter>assertion</parameter></methodparam>
112
+
<methodparam choice="opt"><type>string</type><parameter>description</parameter></methodparam>
113
+
</methodsynopsis>
114
+
</para>
115
+
<simpara>
116
+
Deprecated as of PHP 8.3.0.
117
+
</simpara>
112
118
</entry>
113
119
</row>
114
120
<row>
115
121