mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
added a API macro to test <function> linking against names that only differ in caseness
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194542 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
82b19804fa
commit
fff32a3859
1 changed files with 48 additions and 0 deletions
48
internals/zendapi/functions/ZEND_WRONG_PARAM_COUNT.xml
Normal file
48
internals/zendapi/functions/ZEND_WRONG_PARAM_COUNT.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<refentry id="zend-api-macro.ZEND-WRONG-PARAM-COUNT">
|
||||
<refnamediv>
|
||||
<refname>ZEND_WRONG_PARAM_COUNT</refname>
|
||||
<refpurpose>Generate standard error message for wrong parameter count in function or method call</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<literallayout>#include <zend_API.h></literallayout>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>ZEND_WRONG_PARAM_COUNT</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>ZEND_WRONG_PARAM_COUNT</function> produces a standard warning message
|
||||
for functions or class methods that have been called with a wrong number of
|
||||
parameters. The macro automaticly puts the right function name and class
|
||||
name (if needed) into the error message.
|
||||
</para>
|
||||
<para>
|
||||
<function>ZEND_WRONG_PARAM_COUNT</function> is actually a convenience
|
||||
wrapper for <function>zend_wrong_param_count</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- 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:"../../../../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
|
||||
-->
|
Loading…
Reference in a new issue