php類/對象 函數

來源:互聯網
上載者:User

標籤:http   io   ar   cti   sp   on   ad   ef   c   

  • __autoload — 嘗試載入未定義的類

  • call_user_method_array — 調用一個使用者方法,同時傳遞參數數組(已廢棄)

  • call_user_method — 對特定對象調用使用者方法(已廢棄)

  • class_alias — 為一個類建立別名

  • class_exists — 檢查類是否已定義

  • get_called_class — 後期靜態繫結("Late Static Binding")類的名稱

  • get_class_methods — 返回由類的方法名組成的數組

  • get_class_vars — 返回由類的預設屬性組成的數組

  • get_class — 返回對象的類名

  • get_declared_classes — 返回由已定義類的名字所組成的數組

  • get_declared_interfaces — 返回一個數組包含所有已聲明的介面

  • get_declared_traits — 返回所有已定義的 traits 的數組

  • get_object_vars — 返回由對象屬性群組成的關聯陣列

  • get_parent_class — 返回對象或類的父類名

  • interface_exists — 檢查介面是否已被定義

  • is_a — 如果對象屬於該類或該類是此對象的父類則返回 TRUE

  • is_subclass_of — 如果此對象是該類的子類,則返回 TRUE

  • method_exists — 檢查類的方法是否存在

  • property_exists — 檢查對象或類是否具有該屬性

  • trait_exists — 檢查指定的 trait 是否存在


php類/對象 函數

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.