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!
Administrator
Block any spam links in comments in WordPress
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!
Selenium Testing Tools Cookbook – Second Edition – Review
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!
Read moreSelenium Testing Tools Cookbook – Second Edition – Review
Shorten your functions! – Arrow Functions in PHP7.4
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!
Read moreShorten your functions! – Arrow Functions in PHP7.4
New Typed Properties in 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.
Call native C code in PHP – Foreign Function Interface
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.
Read moreCall native C code in PHP – Foreign Function Interface
Pick first or last array keys with build-in PHP 7.3 new functions
There is finally some useful 7.3 features for arrays! Introducing array_key_first()
and array_key_last()
.
Read morePick first or last array keys with build-in PHP 7.3 new functions
PHP 7.2: Encrypted ZIP files
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!
PHP 7.3 Trailing commas in function calls
The ability to have a trailing comma in arrays is already built-in, so why not have it extended to function/method parameters?
PHP 7.1: Void return types in functions and methods
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.
Read morePHP 7.1: Void return types in functions and methods