-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed as not planned
Labels
Description
Description
I came to think if its possible for php to have its own local web server just like in node js (http.createServer()) that can run js codes with its own local server. In PHP I have to use while(true) {} to keep my code running in a executable file.
php -s localhost:8080 runs externally because i have to type the command in a cli which is not the same in node js http.createServer().