function.long2ip.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 83 行

HTML
83
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Converts an (IPv4) Internet network address into a string in Internet standard dotted format</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="function.ip2long.html">ip2long</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.openlog.html">openlog</a></div> <div class="up"><a href="ref.network.html">Network Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.long2ip" class="refentry"> <div class="refnamediv">  <h1 class="refname">long2ip</h1>  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">long2ip</span> &mdash; <span class="dc-title">Converts an (IPv4) Internet network address into a string in Internet standard dotted format</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">string</span> <span class="methodname"><b><b>long2ip</b></b></span>    ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$proper_address</tt></span>   )</div>  <p class="para rdfs-comment">   The function <b>long2ip()</b> generates an Internet address   in dotted format (i.e.: aaa.bbb.ccc.ddd) from the proper address   representation.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">proper_address</tt></i></span>     <dd>      <p class="para">       A proper address representation.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns the Internet IP address as a string.  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.ip2long.html" class="function" rel="rdfs-seeAlso">ip2long()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ip2long.html">ip2long</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.openlog.html">openlog</a></div> <div class="up"><a href="ref.network.html">Network Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

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