All Projects → PacktPublishing → Php7 Data Structures And Algorithms

PacktPublishing / Php7 Data Structures And Algorithms

Licence: mit
PHP 7 Data Structures and Algorithm, published by Packt

$5 Tech Unlocked 2021!

Buy and download this Book for only $5 on PacktPub.com

If you have read this book, please leave a review on Amazon.com. Potential readers can then use your unbiased opinion to help them make purchase decisions. Thank you. The $5 campaign runs from December 15th 2020 to January 13th 2021.

PHP 7 Data Structures and Algorithms

This is the code repository for PHP 7 Data Structures and Algorithms, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

PHP has always been the go-to language for web based application development, but there are materials and resources you can refer to to see how it works. Data structures and algorithms help you to code and execute them effectively, cutting down on processing time significantly.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

All chapters contain code files.

The code will look like the following:

[default]
class TreeNode {
public $data = NULL;
public $children = [];
public function __construct(string $data = NULL) {
$this->data = $data;
}
public function addChildren(TreeNode $node) {
$this->children[] = $node;
}
}

All you need to have is the latest PHP version (minimum requirement is PHP 7.x) installed on your machine. You can run the examples from a command line, which does not require a web server. However, if you want, you can install Apache or Nginx, or the following: PHP 7.x+, Nginx/apache (optional), PHP IDE or code editor.

Related Products

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].