

immutable class Email { public $email; public function __construct ($email) { $this->email = $email; } } $email = new Email("foo@php.net"); $email->email = "bar@php.net" // Fatal Error $x ~> $x * 2 for anonymous functions did not pass. An alternative syntax was then proposed, a la EcmaScript 6, but with the addition of the function keyword: function($x) => $x + $y . Now the sentence is updated and the syntax is submitted for consideration: ^(parameter_list) => expr $y = 1; $versionA = ^($x) => $x + $y; // $versionB = function($x) use($y) { return $x + $y; };
Yii, fxp and Asset packagist
Simple system of demons for Yii2
Variant of working with the cache without access to the backend using the example of Yii2
Sending and receiving SMS using Laravel and Nexmo
Changes in CleverStyle Framework 5
Routing in the CleverStyle Framework
The smuggling of "Hamlet" with the help of a cat - PHP steganography.
We control the computer through a browser
PHP Roundtable 050: PHP For Beginners - Tips for beginners learning PHP.
PHP Roundtable 049: Event Sourcing in PHP
Laracon US 2016 - Video of all reports.Source: https://habr.com/ru/post/307718/
All Articles