Re: Built-in Data Structures (Linked List, Queue, Stack, Deque, Tree, Graph) in PHP
[email protected] (Philippe Gerber) Mon, 13 Jul 2009 02:10:54 +0200
| Newsgroups | php.evangelism,php.evangelism |
|---|---|
| Message-ID | <[email protected]> |
Orlando Pozo schrieb: > Hello folks, > > I would like to know why PHP still doesn't have built-in data structures > support for Linked List, Queue, Stack, Deque, Tree, Graph, I think that > could promote PHP to be used more in enterprise applications. > > I look forward to hearing your comments. > > Regards, > > Orlando. Hi Orlando Have a look at the Standard PHP Library (SPL) [1]. Most of the classes were added in PHP 5.3. You have support for Stacks, Queues, Linked Lists and some more structures. Cheers Phil [1] http://php.net/spl