Does PHP have built-in data structures?

后端 未结 14 721
名媛妹妹
名媛妹妹 2021-01-30 00:18

I\'m looking at the PHP Manual, and I\'m not seeing a section on data structures that most languages have, such as lists and sets. Am I just blind or does PHP not have anything

14条回答
  •  礼貌的吻别
    2021-01-30 00:35

    I think you might want to be a bit more specific, when you say data structures my mind goes in a few directions...

    Arrays - They are certainly well documented and available in. (http://us.php.net/manual/en/book.array.php)

    SQL Data - Depends on the database you are using, but most are available. (http://us.php.net/manual/en/book.mysql.php)

    OOP - Depending on the version objects can be designed and implemented. (http://us.php.net/manual/en/language.oop.php) I had to search for OOP to find this on the php site.

    Hope that helps, sorry if it does not.

提交回复
热议问题