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
Skillfully - The future of skills based hiring Icon
Skillfully - The future of skills based hiring

Realistic Workplace Simulations that Show Applicant Skills in Action

Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Learn More
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