PHPnews.io

Overview for 'stitcher-io'


What does array + do in PHP?

Written by Stitcher.io / Original link on Jun. 5, 2020

In PHP it's possible to do array + array. The "plus" sign is a shorthand way of merging arrays, but there's a difference in how they are merged compared to using array_merge.Let's imagine these two arrays:$first = [ 'a', 'b',];$second = [ 'c',];Merging them using + would result in the foll…


Survey: type systems in PHP

Written by Stitcher.io / Original link on Jun. 3, 2020

Hi there! Thanks for spending 5 minutes of your time on this quick survey. My goal with it is to investigate the correlation between type-systems and project size in the PHP community.Once this survey has gathered enough results, I will publish my conclusions on this blog. If you want stay updated …


What's the latest PHP version?

Written by Stitcher.io / Original link on Jun. 2, 2020

It seems like a simple question with a simple answer: the latest PHP version currently is PHP 7.4. However! If you want to know more inside information about how PHP's lifecycle is managed, keep on reading!# Levels of supportPHP versions are grouped in three levels of support: active, security fixe…


Improvements on Laravel Nova

Written by Stitcher.io / Original link on May. 26, 2020

# A long time ago in a galaxy far, far away…Laravel Nova was launched on 22nd August 2018, asthe official administration panel for Laravel web applications.That was Taylor Otwell making the presentation atthe Laracon US 2018, and since then Nova has evolved a lot, offering a better a UI experience,…


PHP 7.4 in 7 code blocks

Written by Stitcher.io / Original link on May. 23, 2020

PHP 7.4, the last edition in the 7.* series, brings lots of new and handy changes. This post lists the highlights, though there's much more to this release. You can read all about the full release in this post about what's new in PHP 7.4.array_map( fn(User $user) => $user->id, $users);A…