Aktualisierung der PSR-6- und PSR-13-Standards, Zwischenspeichern der Vererbung in Opkesh, Eigenschaftszugriffsberechtigungen und anderer Nachrichten von PHP Internals, in PHP kompilierter Lisp-Dialekt sowie Tools, Videos, Podcasts und PHP Live Digest .
Viel SpaĂ beim Lesen!
Nachrichten und Veröffentlichungen
- PHP 8.0.2, 7.4.15, 7.3.27
SoapClient.
7.3 . PHP 7.2 PHP . - PSR-6 PSR-13.
, .
, . PHP 8, unionstatic
return type
.
PSR-6: 1.0.0 vs 3.0.0.
PSR-13: 1.0.0 vs 2.0.0.
- Developer Ecosystem 2021 â JetBrains
, PHP . PHP :

- 12 , 17:00 â . PHP, MySQL, , .
PHP Internals
- [RFC] Warning for implicit float to int conversions
PHP , . , .
, (float
) (int
) .
3v4l.org/C1bD3function acceptInt(int $i) { var_dump($i); } acceptInt(3.1415); > int(3)
RFC ,float
. - Inheritance Cache
PR, .
8% «Hello World» Symfony. , . PHP , . , !
PHP opcache, «» . // . , .
«» (, , , , ..) .
, . , . - [RFC] Property Accessors ! !
, / .
-, RFC :
class User { public string $name { get; private set; } // public string $prop { public get; private set; } }
- :
class Test { // Read-write property. public $prop { get; set; } // `public $prop;` // Read-only property. public $prop { get; } }
-,guard
.
class User { public string $name { guard { if (strlen($value) === 0) { throw new ValueError("Name must be non-empty"); } } } }
-,lazy
:
class Test { public string $somethingExpensive { lazy { return computeSomethingExpensive(); } } }
2013 PHP 5.5, .
, Internals. , , , . , . - [RFC] Fibers â . : Swoole:
Once PHP has a stack coroutine like Fiber, we can do more than what we can do now. Since we can interrupt from PHP internal functions, then we can replace all the implementation of PHP blocking functions, such as sleep(), and we can also replace php_stream so that we can change the implementation of PDO, mysqli, and phpredis into a coroutine way, and we can also make curl become a coroutine version through libcurl's support for multiplexing.
[RFC] Enumerations â . â194 -.
[RFC] var_representation(): readable alternative to var_export() â , var_export()
.
[RFC] Dump results of expressions in `php -a` â .- PHP 8.1 â Brent Roose. - , php.watch.
RFC PHP RFC Watch
- vimeo/php-mysql-engine â MySQL- () PHP. Matt Brown, Psalm, , Vimeo .
: SQLite?
( ) , Vimeo ,PDO('sqlite::memory:'):
sqlite: 4.00 MiB - 66 ms php-mysql-engine: 10.00 MiB - 330 ms
, SQLite, .
- cweagans/composer-patches â Cmposer, . , PR /, .
- OndraM/ci-detector â CI- .
- rakibtg/SleekDB â NoSQL PHP. JSON-
- Orangesoft-Development/throttler â . Guzzle. .
- sunrise-php/awesome-skeleton â RoadRunner Swoole. fenric.
Symfony
Laravel
- Laravel paratestphp/paratest. .
- Laravel â 6 . laravelversions.com.
Illuminate Request
Xdebug 3 Laravel- Docker
ltree Laravel
Laravelâ (25 â 7 2021)
Laravel Worldwide Meetup #5: Hotwire Laravel, .
Yii
- PHP- â , .
- CMS PHP 5.6, 7.* 8.0.
Enum PHP 8.1 â enum, PHP.
, 42 .
- Service Locator?
/

â Skyeng , .
PHP Blackfire.io.
Refactoring PHP Platform â LiveStream #3 â Christoph Rumpel.
PHP Release Radar â Episode 3: Psalm 4 â Psalm.
PHP Release Radar â Episode 4: Xdebug 3 â C Derick Rethans.
PHP Internals News podcast #73 â C Larry Garfield .
PHP Internals News podcast #74 â Amp â Aaron Piotrowski.
- Phel - Eine funktionale Programmiersprache, die zu PHP kompiliert wird. Es ist ein Lisp-Dialekt und inspiriert von Clojure. Beispielcode:
Versteckter Text
# Define a namespace (ns my\example) # Define a variable with name "my-name" and value "world" (def my-name "world") # Define a function with name "print-name" and one argument "your-name" (defn print-name [your-name] (print "hello" your-name)) # Call the function (print-name my-name)
Die fĂŒnfte Ausgabe des PHP Digest-basierten Streams wird heute auf dem YouTube-Kanal von PHP Point veröffentlicht . Analysieren von Nachrichten und Links aus dem Problem mit Details und Details. Neuer Gastgeber, Gast in der Ausgabe und traditionell ein Wettbewerb mit Elefanten.
Ab 20:00 Uhr Moskau, Minsk / 19:00 Uhr Kiew.
Wenn Sie einen Fehler oder eine Ungenauigkeit bemerken, teilen Sie uns dies bitte in einem persönlichen Habr oder Telegramm mit .
Weitere Neuigkeiten und Kommentare zum PHP Digest Telegram-Kanal .
Link senden
Links in allen Digests suchen
â Vorherige Ausgabe: PHP-Digest â 197