An extension providing specialized data structures as efficient alternatives to the PHP array. Highlights the API, performance and other benefits. PHP has one data structure to rule them all. The array is a complex, flexible, master-of-none, hybrid data structure, combining the behaviour of a list and a linked map. But we use it for everything, because PHP is pragmatic: “dealing with things sensibly and realistically in a way that is based on practical rather than theoretical considerations”. An array gets the job done. Unfortunately, with flexibility comes complexity. Collection is the base interface which covers common functionality like foreach, echo, count, print_r, var_dump, serialize, json_encode, and clone. Sequence describes the behavior of values arranged in a single, linear dimension. Some languages refer to this as a List. Documentation is available on php.net. You should also include the polyfill in your project for IDE integration.

Features

  • The easiest way to install the extension is to use PECL
  • You can also enable the extension temporarily using the command line
  • There is a suite of PHPUnit tests that can be installed using Composer
  • You may include the polyfill as a dependency in your project
  • An extension providing specialized data structures as efficient alternatives to the PHP array
  • You should also include the polyfill in your project for IDE integration

Project Samples

Project Activity

See All Activity >

Categories

Data Formats

License

MIT License

Follow Data Structures for PHP 7

Data Structures for PHP 7 Web Site

Other Useful Business Software
BidJS enables online timed and webcast bidding on your own website. Icon
BidJS enables online timed and webcast bidding on your own website.

For companies wishing to sell by auction

Bidlogix provide auction software to auction houses around the globe. We offer timed auction software, webcast auction software along with an optional invoicing management system. Our software is embedded on your site with fully customisable styling. Based in Brighton, UK Bidlogix started providing auction software in 2013. Our 2 in-house development teams are constantly evolving the product with in excess of 10 auctions per day being run using our software. Our software can cater for the largest of auctions, all in real-time and can support multiple languages.
Get Started Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Data Structures for PHP 7!

Additional Project Details

Operating Systems

Windows

Programming Language

C

Related Categories

C Data Formats Software

Registered

2022-06-22