Connect with us

PHP 7.4 is now Released read what's new

kizinho

Published

on

Follow
NEWS: PHP 7.4 is now Released read what's new [New  Developer] » Naijacrawl
Photo: Naijacrawl

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.

 

site


kizinho

I am a software developer, like meeting people and love blogging, that's why I developed naijacrawl because that's what I love doing.

Continue Reading
Click To Comment

BE First To Comment


    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Laravel 5.8.8 Released (bugs fixed and new features )

    kizinho

    Published

    on

    NEWS: Laravel 5.8.8 Released (bugs fixed and new features ) [New  Developer] » Naijacrawl
    Photo: Naijacrawl

    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 = new Collection;
    
    $posts = $posts->concat(ChatPost::forPageBeforeId(15, $focused->id)->get()->reverse());
    
    $posts = $posts->push($focused);
    
    $posts = $posts->concat(ChatPost::forPageAfterId(15, $focused->id)->get());

     

     

    You can see the full list of fixes below, and the whole difference  between 5.8.7 and 5.8.8 on GitHub.

     

    The full release notes for Laravel 5.8 are available in the GitHub 5.8 changelog:

     

    v5.8.8

    Added Added Illuminate\Database\Query\Builder::forPageBeforeId() method (#28011)


    Fixed

    BelongsToMany::detach() with custom pivot class (#27997)

    Fixed incorrect event namespace in generated listener by event:generate command (#28007)

     

    Fixed unique validation without ignored column (#27987)


    Changed

     

    Added parameters argument to resolve helper (#28020) Don’t add the path only if path is empty in compiled view (#27976)

     

    Refactoring

    Refactoring of env() helper (#27965)

    Continue Reading

    Laravel 6 and 7 Package for Paystack

    kizinho

    Published

    on

    NEWS: Laravel  6 and  7 Package for Paystack [New  Developer] » Naijacrawl
    Photo: Naijacrawl

    Hi, Folks since the release of laravel version 6 and 7, it is very difficult to easily use Paystack on it due to lack of maintenance but today unicodeveloper of the package have taken his time to release a new update on the package.

    To use it, you just need to follow the same pattern we normally do and get things working back again.

    Visit the package URL here


    Continue Reading

    Latest



    Face of Naijacrawl


    ChukwubuikemSunday ChukwubuikemSunday

    Sunday Chukwubuikem


    Higher - 09061773292

    Trending