You can now specify keys in list(), or its new shorthand [] syntax. This enables destructuring of arrays with non-integer or non-sequential keys.
Leave a CommentTag: PHP 7.1
In this post, I will show you how you can use the new Symmetric array destructuring feature of PHP7.1 version. In the previous version of…
Leave a CommentWe general use PHP’s try..catch blocks to handle exceptions. If the try block could cause one of several different exceptions they can each be handled…
Leave a Comment