⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 functions.internal.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Internal (built-in) functions</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="language.functions.html">Functions</a></div> <div class="next" style="text-align: right; float: right;"><a href="language.oop.html">Classes and Objects (PHP 4)</a></div> <div class="up"><a href="language.functions.html">Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="functions.internal" class="sect1">   <h2 class="title">Internal (built-in) functions</h2>      <p class="para">    PHP comes standard with many functions and constructs. There are also    functions that require specific PHP extensions compiled in, otherwise     fatal &quot;undefined function&quot; errors will appear. For example, to use     <a href="ref.image.html" class="link">image</a> functions such as     <a href="function.imagecreatetruecolor.html" class="function">imagecreatetruecolor()</a>, PHP must be compiled with    <span class="productname">GD</span> support. Or, to use    <a href="function.mysql-connect.html" class="function">mysql_connect()</a>, PHP must be compiled with    <a href="ref.mysql.html" class="link">MySQL</a> support. There are many core functions    that are included in every version of PHP, such as the    <a href="ref.strings.html" class="link">string</a> and     <a href="ref.var.html" class="link">variable</a> functions. A call     to <a href="function.phpinfo.html" class="function">phpinfo()</a> or    <a href="function.get-loaded-extensions.html" class="function">get_loaded_extensions()</a> will show which extensions are    loaded into PHP. Also note that many extensions are enabled by default and    that the PHP manual is split up by extension. See the    <a href="configuration.html" class="link">configuration</a>,    <a href="install.html" class="link">installation</a>, and individual    extension chapters, for information on how to set up PHP.   </p>   <p class="para">    Reading and understanding a function&#039;s prototype is explained within the    manual section titled <a href="about.prototypes.html" class="link">how to read a    function definition</a>. It&#039;s important to realize what a function    returns or if a function works directly on a passed in value. For example,    <a href="function.str-replace.html" class="function">str_replace()</a> will return the modified string while     <a href="function.usort.html" class="function">usort()</a> works on the actual passed in variable    itself. Each manual page also has specific information for each    function like information on function parameters, behavior changes,    return values for both success and failure, and availability information.    Knowing these important (yet often subtle) differences is crucial for    writing correct PHP code.   </p>   <blockquote><p><b class="note">Note</b>:     <span class="simpara">     If the parameters given to a function are not what it expects, such as      passing an <a href="language.types.array.html" class="type array">array</a> where a <a href="language.types.string.html" class="type string">string</a> is expected,      the return value of the function is undefined. In this case it will     likely return <b><tt>NULL</tt></b> but this is just a convention, and cannot be relied      upon.    </span>   </p></blockquote>   <p class="para">    See also <a href="function.function-exists.html" class="function">function_exists()</a>,     <a href="funcref.html" class="link">the function reference</a>,    <a href="function.get-extension-funcs.html" class="function">get_extension_funcs()</a>, and     <a href="function.dl.html" class="function">dl()</a>.   </p>  </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="language.functions.html">Functions</a></div> <div class="next" style="text-align: right; float: right;"><a href="language.oop.html">Classes and Objects (PHP 4)</a></div> <div class="up"><a href="language.functions.html">Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -