Guest post written by: Wojtek Marczak.
Put aside any PHP framework with MVC architecture which you used to work with just for a little moment and make a room for new pretender to the crown. Start to expect more from your framework, put less effort to do the same things as you used to before. How, you would ask? Ladies and gentleman, I present to you the Laminas MVC, the chosen one in web frameworks for the new 2020 era!
How to make your WordPress site more secure is probably your most important goal. Hundreds of spam bots crawling your site can make your head hurt not just once. So why just not block any of those scammers and avoid spending your time on marking as a spam posts? Well here is the quickest way to achieve it without any plugins!
So you wanna be automated tester and start saving your time spent on testing web applications both for and back end sides? Well look no more, start using Selenium with this low entry level book to get you started, even if you don’t know much about programming at all!
Tired of writing anonymous functions syntax every time when you just need to pass a callback or closure? Not only the standard long syntax is confusing but it’s also hard to read and understand. Well it’s your lucky day, the short syntax is on the way to be in release code of PHP 7.4!
After not great start in 2011, there is a finally confirmed Class Typed Properties to be introduced in 7.4 version. These properties could be of any available type (apart from callable and void) and introduce some limitation when using inheritance to prevent from changing the types in child’s class.
The Foreign Function Interface (FFI) is a simple way to call any native functions, access variables or create data structures defined in original C language.
There is finally some useful 7.3 features for arrays! Introducing
Are you missing more WinRaR or 7zip features in PHP like using password for encrypting? Well say no more and update to PHP 7.2!
The ability to have a trailing comma in arrays is already built-in, so why not have it extended to function/method parameters?
Since PHP 7.1 we can start to see a real good progress with
void return types. We can now specify a null type of returned value from a function. Sometimes we may want to specify the function which should not return any value to the user.