Server CMD PHP
php -S localhost:8000
Manueljcmatos
php -S localhost:8000
shell_exec('ls');
// or
exec('ls');
<?php
// command to excute
system("dir");
?>