Proposed named arguments in PHP 8
July 10, 2020 — Update: Named parameters have been accepted to be included in PHP 8. A 2/3 majority in voting from members was required and it got the required votes! Here’s the RFC that got accepted.
A blog on PHP, JavaScript, and more
July 10, 2020 — Update: Named parameters have been accepted to be included in PHP 8. A 2/3 majority in voting from members was required and it got the required votes! Here’s the RFC that got accepted.
July 9, 2020 — The Composer dependency manager is currently the de-facto way of managing dependencies in your PHP projects. All the modern PHP development can’t be imagined without Composer. But do you know there are a lot of things that you can do with Composer other than just installing and updating dependencies?
July 7, 2020 — We all know that VS Code comes with a great support for TypeScriptm language out-of-the-box. Meaning, if you’re working with .ts
files in VS Code, VS Code will prompt type related errors if there are any.
July 7, 2020 — Sometimes, there comes a scenario where you would need to extract some part of the html
so that you can use it across different areas of your site without repeating the same markup all over places.
July 5, 2020 — The CSS has many experimental features, that if used cautiously, can be proven very handy in simplifying things.
July 5, 2020 — Today, I had the most amazing dreams of my life. So, the dream starts like this. For some reason, I got a chance to go back in time.
July 3, 2020 — The switch statement in PHP is great when you want check condition on the same expression without incorporating many if
statements altogether.
June 29, 2020 — The Chrome browser is one of the widely used web browsers by developers. The DevTools it bundles within is mature and ahead of its competition. But there are certain features that Chrome Developers don’t expose explicitly. Rather, you’d have to look out for those features by digging deep inside the settings.
June 28, 2020 — I take a lot of screenshots and they are part of my daily workflow. As I mentioned at my uses page, I use Ubuntu 18.04 LTS as my primary OS and there are native shortcuts to take screen shot in this particular OS.
June 26, 2020 — It’s never been easier to get started with a blog in 2020 as there are many options for you to choose from. For instance, Jekyll, Gatsby, Hugo, eleventy and many others. These are all static site generators. Meaning, there’s no backend. So, you don’t need to create or manage your own backend server. And because, there’s no backend, there’s no database as well.