show --tree
commands have been show --tree
to display the installed packages as a tree, why-not
β shows why the package cannot be update --interactive
, update --interactive
- allows you to select which packages to update, as well as many other improvements and fixes.??=
in addition to the usual ??
added in PHP 7. // $this->request->data['comments']['user_id'] = $this->request->data['comments']['user_id'] ?? 'value'; $this->request->data['comments']['user_id'] ??= 'value';
$x = $x ?: $y; $x ?:= $y;
var
. Interestingly, this keyword was already obsolete in versions 5.0.0 - 5.1.2, and at the moment is just a synonym for public
. try { // Some code... } catch (ExceptionType1 | ExceptionType2 $e) { // Code to handle the exception } catch (\Exception $e) { // ... }
interface I { function foo(); } trait T implements I { function foo() { } }
Source: https://habr.com/ru/post/279167/
All Articles