←back to thread

266 points solcloud | 1 comments | | HN request time: 0.204s | source
Show context
bilekas ◴[] No.41917247[source]
This is wild... PHP server with electron client.. I'm genuinely impressed. It's been many years since I worked with PHP. Back in the days before proper namespaces etc. This just blows my mind. What an incredible effort, I will definitely be helping with this project in my free time. We need more crazy projects like this!
replies(4): >>41917616 #>>41917775 #>>41920240 #>>41922154 #
1. treflop ◴[] No.41922154[source]
You could have actually made this 15 years ago! As a kid I pretty much only knew PHP and Visual Basic so I made CLI servers in PHP (…lol)

You could make asynchronous servers using socket_select(), which was added in PHP 4.1.

https://www.php.net/manual/en/function.socket-select.php

There was also a third party extension that added threads to PHP 15 years ago, although it was buggy.