- likewise 1 Core CPU Flynn's taxonomy
- single thread
- event loop
- tasks are generators/coroutines
- cooperative multitasking
Cooperative multitasking - tasks yield to scheduler.
Preemptive multitasking - scheduler interrupts tasks.
> git clone ...
> cd project
> php composer.phar install / composer install
> ./vendor/bin/phpunit
then copy any snippet (snippets directory) and paste to the App.php
file.
> php -f App.php