首页>网络编程教程> PHP教程
全部 ASP入门教程 ASP教程 ASP.NET教程 PHP教程 JSP教程 C#/CSHARP教程 XML教程 Ajax教程 Perl教程 Shell教程 Visual Basic教程 Delphi教程 移动开发教程 C/C++教程 Java教程 J2EE/J2ME 软件工程
PHP教程
  • PHP rad2deg() 函数

    PHP rad2deg() 函数

    实例把弧度转换为角度:<?phpecho rad2deg(pi()) . "<br>";echo rad2deg(pi()/4);?>定义和用法rad2deg(
    2024-12-26
  • PHP round() 函数

    PHP round() 函数

    实例对浮点数进行四舍五入:<?phpecho(round(0.60). "<br>");echo(round(0.50). "<br>");echo(round
    2024-12-26
  • PHP sinh() 函数

    PHP sinh() 函数

    实例返回不同数的双曲正弦:<?phpecho(sinh(3) . "<br>");echo(sinh(-3) . "<br>");echo(sinh(0) .
    2024-12-26
  • PHP tan() 函数

    PHP tan() 函数

    实例返回不同数的正切:<?phpecho(tan(M_PI_4) . "<br>");echo(tan(0.50) . "<br>");echo(tan(-0.
    2024-12-26
  • PHP connection_aborted() 函数

    PHP connection_aborted() 函数

    实例创建一个函数(check_abort()),在客户机终止脚本时写入一条日志消息:<?phpfunction check_abort() { if (co
    2024-12-26
  • PHP bindec() 函数

    PHP bindec() 函数

    实例把二进制转换为十进制:<?phpecho bindec("0011") . "<br>";echo bindec("01") . "<br>";echo b
    2024-12-26
  • PHP cos() 函数

    PHP cos() 函数

    实例返回不同数的余弦:<?phpecho(cos(3) . "<br>");echo(cos(-3) . "<br>");echo(cos(0) . "<br>
    2024-12-26
  • PHP decbin() 函数

    PHP decbin() 函数

    实例把十进制转换为二进制:<?phpecho decbin("3") . "<br>";echo decbin("1") . "<br>";echo decbi
    2024-12-26
  • PHP deg2rad() 函数

    PHP deg2rad() 函数

    实例把角度转换为弧度:<?phpecho deg2rad("45") . "<br>";echo deg2rad("90") . "<br>";echo deg
    2024-12-26
  • PHP expm1() 函数

    PHP expm1() 函数

    实例返回 exp() - 1:<?phpecho(expm1(0) . "<br>");echo(expm1(1) . "<br>");echo(expm1(1
    2024-12-26
  • PHP getrandmax() 函数

    PHP getrandmax() 函数

    实例返回通过调用 rand() 函数显示的随机数的最大可能值:<?phpecho(getrandmax()); ?>定义和用法The getrandmax()
    2024-12-26
  • PHP hypot() 函数

    PHP hypot() 函数

    实例计算不同的直角三角形的斜边长度:<?phpecho hypot(3,4) . "<br>";echo hypot(4,6) . "<br>";echo hy
    2024-12-26
  • PHP is_infinite() 函数

    PHP is_infinite() 函数

    实例判断一个值是否为无限值:<?phpechois_infinite(2). "<br>";echois_infinite(log(0)). "<br>";ec
    2024-12-26
  • PHP log() 函数

    PHP log() 函数

    实例返回不同数的自然对数:<?phpecho(log(2.7183) . "<br>");echo(log(2) . "<br>");echo(log(1) .
    2024-12-26
  • PHP ftp_systype() 函数

    PHP ftp_systype() 函数

    定义和用法ftp_systype() 函数返回 FTP 服务器的系统类型标识符。如果成功,该函数返回系统类型。如果失败,则返回 FALSE。语法ftp_syst
    2024-12-26