PHP 7.4 is now Released read what's new
PHP 7.4 is a new game-changer, PHP 7.4 has added for and clean PHP syntax for easy to read.
Some of the highlights of this release that we’ve covered before include:
- Short Arrow Functions
- Spread Operator for Arrays
- Typed Properties
Here is a list of all the main new features:
- Typed Properties
- Arrow Functions
- Limited Return Type Covariance and Argument Type Contravariance
- Unpacking Inside Arrays
- Numeric Literal Separator
- Weak References
- Allow Exceptions from __toString()
- Opcache Preloading
- Several Deprecations
- Extensions Removed from the Core
For source downloads of PHP 7.4.0 please visit the PHP downloads page and the list of changes are in the ChangeLog.
There is also a migration guide available in the PHP Manual that includes a detailed list of new features and backward incompatible changes.
Laravel 6.5.2 Released this week for bug fix
The Laravel team released v6.5.2 this week—this version is a patch version release, containing mostly changes and fixes.Here’s a few things of note:If you’re using PostGIS types in Postgres, Laravel now supports a separation between geometry and geography types.The BelongsToMany::cursor() method, now hydrates pivot relations.Model serialization on jobs allows typed properties.You can see the full list of new features and updates below and the whole diff be...
Laravel 5.8.8 Released (bugs fixed and new features )
The Laravel team released Laravel 5.8.8 yesterday with a new query builder method along with the latest fixes and changes in the 5.8 branch.
First, a new Builder::forPageBeforeId() method was added to compliment an existing forPageAfterId().
These methods are useful to query for records before or after a given record. In the pull request author Tim MacDonald illustrates the following example to get the records around a “focused” post:
$posts = n...
Laravel 9.18.0 New Features Detailed
Laravel 9.18.0 comes with a new feature that you will love to upgrade and use, the new features come with 4 main features shipped.Rule objectsQuery timeAttachable objects Nested eager load syntaxRule objects rules that make it simpler to define custom validation rules using simple, single method invokable objects. Very similar API to Closure rules.Query timeintroduced a new method that invokes a closure if cumulative time you spend querying the database during a req...
Download Naijacrawl App today
Fastest way to read on the go
Download the Naijacrawl App.