3 ms·
>I think the question is why should you bother with PHP at all? Because some people just prefer it. They know its warts and have learned to work around it. For
by nivla 11y ago
>I think the question is why should you bother with PHP at all?
Because some people just prefer it. They know its warts and have learned to work around it. For me it is a much easier prototyping tool. The crazy number of built in functions and libraries out there makes it so. Eg: Want to turn on and off an IoT device at sunrise and sunset? Well for other languages you have to go find some library or depend on an external service but no not for PHP. For PHP there is freaking built in date_sunrise and date_sunset functions! [1]
[1]http://php.net/manual/en/function.date-sunrise.php http://php.net/manual/en/function.date-sunrise.php