首頁>網絡編程教程> PHP教程
全部 ASP教程 ASP教程 ASP.NET教程 PHP教程 JSP教程 C#/CSHARP教程 XML教程 Ajax教程 Perl教程 Shell教程 Visual Basic教程 Delphi教程 移動開髮教程 C/C++教程 Java教程 J2EE/J2ME 軟件工程
PHP教程
  • PHP is_string() 函數

    PHP is_string() 函數

    is_string()函數用來偵測變數是否為字串。 PHP 版本需求: PHP 4, PHP 5, PHP 7語法bool is_string ( mixed
    2024-12-28
  • PHP is_scalar() 函數

    PHP is_scalar() 函數

    is_resource()函數用來偵測變數是否為一個標量。標量變數是指那些包含了integer、float、string 或boolean 的變量,而ar
    2024-12-28
  • PHP is_resource() 函數

    PHP is_resource() 函數

    is_resource()函數用於偵測變數是否為資源類型。 PHP 版本需求: PHP 4, PHP 5, PHP 7語法bool is_resource ( m
    2024-12-28
  • PHP is_object() 函數

    PHP is_object() 函數

    is_object()函數用來偵測變數是否為一個物件。 PHP 版本需求: PHP 4, PHP 5, PHP 7語法bool is_object ( mixed
    2024-12-28
  • PHP is_numeric() 函數

    PHP is_numeric() 函數

    is_numeric()函數用於偵測變數是否為數字或數字字串。 PHP 版本需求:PHP 4, PHP 5, PHP 7語法bool is_numeric (
    2024-12-28
  • PHP is_null() 函數

    PHP is_null() 函數

    is_null()函數用來偵測變數是否為NULL。 PHP 版本需求: PHP 4 >= 4.0.4, PHP 5, PHP 7語法bool is_null (
    2024-12-28
  • PHP str_pad() 函數

    PHP str_pad() 函數

    實例填滿字串的右側,到20 個字元的新長度:<?php$str = "Hello World";echo str_pad($str,20,".");?>定義
    2024-12-27
  • PHP str_replace() 函數

    PHP str_replace() 函數

    實例把字串"Hello world!" 中的字元"world" 替換成"Peter":
    2024-12-27
  • PHP str_split() 函數

    PHP str_split() 函數

    實例把字串"Hello" 分割到數組中:<?phpprint_r(str_split("Hello"));?>定義和用法str_split() 函數把字串
    2024-12-27
  • PHP strcasecmp() 函數

    PHP strcasecmp() 函數

    實例比較兩個字串(不區分大小寫):<?phpecho strcasecmp("Hello world!","HELLO WORLD!");?>定義和用法str
    2024-12-27
  • PHP strcoll() 函數

    PHP strcoll() 函數

    實例比較字串:
    2024-12-27
  • PHP chop() 函數

    PHP chop() 函數

    實例移除字串右側的字元: <?php$str = "Hello World!";echo $str . "<br> ";echo chop($str,"World
    2024-12-27
  • PHP bin2hex() 函數

    PHP bin2hex() 函數

    實例把"Hello World!" 轉換為十六進位值:<?php $str = bin2hex("Hello World!");echo($str); ?>定
    2024-12-27
  • PHP addslashes() 函數

    PHP addslashes() 函數

    實例在每個雙引號(")前面加上反斜線:
    2024-12-27
  • PHP addcslashes() 函數

    PHP addcslashes() 函數

    實例在字元"W" 前面加上反斜線:<?php $str = addcslashes("Hello World!","W");echo($str); ?>定義和用
    2024-12-27