/php-exercises

Some php exercises and interview questions (basic up to advanced)

Primary LanguagePHP

PHP Exercises

Some basic and advanced php exercises and interview questions.

It's using the TDD approach so make sure to check the test.php file inside each exercise directory to find out what exactly needs to be done. Write your solution as the index.php file, inside the exercise directory and run the tests using PHPUnit.

Dependencies:

PHPUnit: https://phpunit.de/manual/current/en/installation.html

Workflow:

[~]             $ git clone https://github.com/danrevah/php-exercises.git
[~]             $ cd php-exercises
[php-exercises] $ cd once
[once]          $ touch index.php
[once]          $ phpunit test.php