4 ms·
Yep. My employer is a mix of PHP and JS. PHP 8 for our API, JS for the app that consumes it - sharing code both server-side and client-side. It works really w
by minimaul 5y ago
Yep. My employer is a mix of PHP and JS.
PHP 8 for our API, JS for the app that consumes it - sharing code both server-side and client-side.
It works really well for us.
Development on a modern version of PHP with a framework like Symfony or Laravel is so very different to development on old PHP5 versions.
edit: PHP 7.x and 8 let you do things like:
- no automatic type conversions
- typed function parameters and return types
- typed object properties
- named parameters
All of these are little niceties but they add up to making it fantastically easier to avoid stupid mistakes that used to be common with PHP.
- kreetx 5y agoI'd argue that the first three are not all that little ;)