{"id":465356,"date":"2025-07-01T15:03:18","date_gmt":"2025-07-01T15:03:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=465356"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=465356","title":{"rendered":"<span>PHP \u0438 Laravel \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u0437\u0430 \u043c\u0430\u0439 2025 \u0433\u043e\u0434\u0430<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/p>\n<p>\u042d\u0442\u043e \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u043e\u0442\u00a0CutCode. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0437\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 \u0432 \u043c\u0438\u0440\u0435 PHP \u0438 Laravel.<\/p>\n<h3>\u041d\u043e\u0432\u043e\u0441\u0442\u0438 PHP<\/h3>\n<h4>\u0420\u0435\u043b\u0438\u0437\u044b PHP 8.3.21 \u0438 PHP 8.4.7  <\/h4>\n<p>\u0412\u044b\u043f\u0443\u0441\u043a\u0438 \u0441 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0448\u0438\u0431\u043e\u043a \u0432\u044b\u0448\u043b\u0438 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e.  <\/p>\n<h4>Random Beer<\/h4>\n<p>\u0412 \u043e\u043f\u0440\u043e\u0441\u0435 PHP-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 2024 \u043c\u043d\u043e\u0433\u0438\u0435 \u043e\u0442\u043c\u0435\u0447\u0430\u043b\u0438, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0435\u0442\u0432\u043e\u0440\u043a\u0438\u043d\u0433\u0430, \u0440\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0439 \u0438 \u043d\u0435\u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0439. \u0418 \u043c\u043d\u0435 \u0435\u0441\u0442\u044c \u0447\u0442\u043e \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u2013 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u043e\u0441\u044c \u0443\u0436\u0435 \u0442\u0440\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0438 \u0432 \u043e\u043d\u043b\u0430\u0439\u043d-\u0431\u0430\u0440\u0435 \u00ab<a href=\"https:\/\/t.me\/phperdelka\" rel=\"noopener noreferrer nofollow\">PHP\u0435\u0440\u0434\u0435\u043b\u043a\u0430<\/a>\u00bb.<br \/>\u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c, \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0438 \u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \ud83d\ude42<\/p>\n<h4>\u041f\u044b\u0445.\u043a\u043e\u043d\u0444  <\/h4>\n<p>19 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f \u0432 \u041c\u043e\u0441\u043a\u0432\u0435 \u0432 \u0426\u0435\u043d\u0442\u0440\u0435 \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0439 \u0422\u043e\u0440\u0433\u043e\u0432\u043b\u0438 \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u043d\u043e\u0432\u0430\u044f PHP-\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f \u2013 \u041f\u044b\u0445.\u043a\u043e\u043d\u0444\u201925!<\/p>\n<p>400 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u2022 4 \u0437\u0430\u043b\u0430 \u2022 28 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u0412\u043e\u0442 \u0441\u0430\u0439\u0442 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0431\u0438\u043b\u0435\u0442 &#8212; <a href=\"https:\/\/conf.phpyh.ru\/\" rel=\"noopener noreferrer nofollow\">https:\/\/conf.phpyh.ru\/<\/a>. <\/p>\n<p>\u0422\u0430\u043c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u043f\u0438\u043a\u0435\u0440\u0430 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0434\u043e\u043a\u043b\u0430\u0434! \u0417\u0430\u044f\u0432\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0430\u0442\u044c \u0434\u043e 1 \u0438\u044e\u043b\u044f. <\/p>\n<h4>FrankenPHP \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f PHP Foundation  <\/h4>\n<p>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 FrankenPHP \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043d \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044e PHP \u043d\u0430 GitHub.<\/p>\n<p>\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c, \u0438 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 (\u041a\u0435\u0432\u0438\u043d \u0414\u0430\u043d\u0433\u043b\u0430\u0441, \u0420\u043e\u0431\u0435\u0440\u0442 \u041b\u0430\u043d\u0434\u0435\u0440\u0441, \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u0428\u0442\u0435\u0445\u0435\u0440) \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0432\u044b\u043f\u0443\u0441\u043a\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0437\u0430 code review. \u041e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0430\u0442\u044c \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 PHP Foundation, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0435\u0439 \u0437\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u044f\u0437\u044b\u043a\u0430.<\/p>\n<p>\u0412 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 PHP \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 PHP-FPM, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 RFC \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435.<\/p>\n<h4>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 PhpStorm 2025.2  <\/h4>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 PhpStorm \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u0442\u0437\u044b\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 PhpStorm. \u0421\u0431\u043e\u0440\u043a\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438.<\/p>\n<h3>\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u044f\u0434\u0440\u0430 PHP<\/h3>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u044f\u0434\u0440\u0430 PHP \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0441\u0432\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0435\u0440\u0438\u0438 <a href=\"https:\/\/thephp.foundation\/blog\/tag\/roundup\/\" rel=\"noopener noreferrer nofollow\"><strong>PHP Core Roundup<\/strong><\/a> \u043e\u0442 PHP Foundation, \u043c\u044b \u043b\u0438\u0448\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e \u043d\u0438\u043c \u043f\u0440\u043e\u0431\u0435\u0436\u0438\u043c\u0441\u044f:  <\/p>\n<p>\u2705 <a href=\"https:\/\/wiki.php.net\/rfc\/array_first_last\" rel=\"noopener noreferrer nofollow\"><strong>RFC: array_first() and array_last()<\/strong><\/a>  <\/p>\n<p>\u0412 PHP 7.3 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 array_key_first() \u0438 array_key_last() \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043d\u043e \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/p>\n<p>\u0421\u0435\u0440\u0433\u0435\u0439 \u041c\u0443\u0445\u0438\u043d \u0432 \u0441\u0432\u043e\u0435\u043c <a href=\"https:\/\/t.me\/flyphp\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u043a\u0430\u043d\u0430\u043b\u0435<\/a> \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0432 PHP 7.3 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0442\u0430\u043a \u0436\u0435 \u0431\u044b\u043b\u0438 \u0432 RFC, \u043d\u043e \u043e\u043d\u0438 \u043d\u0435 \u043f\u0440\u043e\u0448\u043b\u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043b\u044e\u0447\u0435\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432.<\/p>\n<p>\u0418 \u0432\u043e\u0442, \u0441\u043f\u0443\u0441\u0442\u044f 7 \u043b\u0435\u0442, \u0432 PHP 8.5 \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 array_first() \u0438 array_last() \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/p>\n<p>\ud83d\udce3 <a href=\"https:\/\/wiki.php.net\/rfc\/clone_with_v2\" rel=\"noopener noreferrer nofollow\"><strong>RFC: Clone with v2<\/strong><\/a><\/p>\n<p>\u0412 2022 \u0433\u043e\u0434\u0443 M\u00e1t\u00e9 Kocsis \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b <a href=\"https:\/\/wiki.php.net\/rfc\/clone_with\" rel=\"noopener noreferrer nofollow\">RFC Clone with<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0434\u043e\u0448\u0435\u043b \u0434\u043e \u0441\u0442\u0430\u0434\u0438\u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 Volker Dusch \u0438 Tim D\u00fcsterhus \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0434 \u0437\u0430\u0431\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0432\u0442\u043e\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e RFC.<\/p>\n<p>\ud83d\udcca <a href=\"https:\/\/wiki.php.net\/rfc\/pipe-operator-v3\" rel=\"noopener noreferrer nofollow\"><strong>RFC: Pipe operator v3<\/strong><\/a><\/p>\n<p>\u0421 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 PHP. <a href=\"https:\/\/wiki.php.net\/rfc\/pipe-operator\" rel=\"noopener noreferrer nofollow\">\u041f\u0435\u0440\u0432\u0430\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430<\/a> \u0431\u044b\u043b\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u0430 Sara Golemon \u0438 Marcelo Camargo \u0432 \u0434\u0430\u043b\u0435\u043a\u043e\u043c 2016 \u0433\u043e\u0434\u0443, \u043d\u043e RFC \u0442\u0430\u043a \u0438 \u043d\u0435 \u0434\u043e\u0448\u0435\u043b \u0434\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0421\u043f\u0443\u0441\u0442\u044f 4 \u0433\u043e\u0434\u0430 \u0432 2020 Larry Garfield \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u043b <a href=\"https:\/\/wiki.php.net\/rfc\/pipe-operator-v2\" rel=\"noopener noreferrer nofollow\">\u0432\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u043f\u044b\u0442\u043a\u0443<\/a>, \u043d\u043e \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e RFC \u043d\u0430\u0448\u0435\u043b \u043e\u0442\u043a\u043b\u0438\u043a \u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"https:\/\/rfc.stitcher.io\/rfc\/the-pipe-operator\" rel=\"noopener noreferrer nofollow\">RFC Vote<\/a>, \u043d\u0430 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043e\u0442\u0434\u0430\u043b\u043e \u0441\u0432\u043e\u0439 \u0433\u043e\u043b\u043e\u0441 \u043f\u0440\u043e\u0442\u0438\u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u0438\u0432\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0448\u0430\u0442\u043a\u0430\u044f \u0438 \u0431\u043b\u0438\u0437\u0438\u043b\u0441\u044f \u0444\u0438\u0447\u0430-\u0444\u0440\u0438\u0437 PHP 8.1.<\/p>\n<p>\u0421\u043f\u0443\u0441\u0442\u044f \u0435\u0449\u0435 \u043f\u043e\u0447\u0442\u0438 5 \u043b\u0435\u0442 Larry Garfield \u0441\u043d\u043e\u0432\u0430 \u043d\u0430\u0447\u0430\u043b \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u044e \u043e\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0435 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430, \u0443\u043b\u0443\u0447\u0448\u0438\u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u043e\u0434\u043e\u043b\u0435\u043b\u0430 \u043f\u043e\u0440\u043e\u0433 \u0432 \u2154 \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u0438 \u0431\u044b\u043b\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u0430.<\/p>\n<h4>PHP 30 \u043b\u0435\u0442<\/h4>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 PHP \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043b\u043e\u0441\u044c 30 \u043b\u0435\u0442, \u0437\u0430 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u0440\u043e\u0441 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0434\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 80% \u0441\u0430\u0439\u0442\u043e\u0432.<\/p>\n<p>\u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 PHP \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0440\u043e\u0441 Personal Home Page Tools \u0438 \u043f\u043e\u0440\u0430 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0434 \u043d\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0430\u043a\u0440\u043e\u043d\u0438\u043c\u0430. \u0412\u044b \u043f\u0440\u0438\u0441\u043b\u0430\u043b\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0430\u043a\u0440\u043e\u043d\u0438\u043c\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u043a\u0430\u043a \u0432\u044b \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 PHP, \u043a\u0430\u043a \u044f\u0437\u044b\u043a \u043f\u043e\u0432\u043b\u0438\u044f\u043b \u043d\u0430 \u0432\u0430\u0448\u0443 \u0436\u0438\u0437\u043d\u044c \u0438\u043b\u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0435 PHP \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u043c. \u0421\u043e\u0431\u0440\u0430\u043b\u0438 \u0438\u0445 \u0442\u0443\u0442:<\/p>\n<p><a href=\"https:\/\/php30.ru\/\" rel=\"noopener noreferrer nofollow\">https:\/\/php30.ru<\/a><\/p>\n<p>\u0410 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0441\u0443\u0434\u0438\u043b\u0438 \u0438\u0445 \u0432 \u044d\u0444\u0438\u0440\u0435:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/685c2c0380f398ebcd41fc04\" data-style=\"\" id=\"685c2c0380f398ebcd41fc04\" width=\"\"><\/div>\n<p>\u0410 5 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0441\u0442\u0430\u043b\u0438 \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u0435\u0435 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f PHP-\u0441\u043b\u043e\u043d\u0438\u043a\u0430\u043c! \ud83d\udc18  <\/p>\n<h2>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f Laravel <\/h2>\n<h4>[12.11] Typed getters for Arr helper  <\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55567\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55567<\/a>  <\/p>\n<p>Anthony Tibbs \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b-\u0433\u0435\u0442\u0442\u0435\u0440\u044b \u0432 \u0445\u0435\u043b\u043f\u0435\u0440 Arr (<code>Arr::string()<\/code>, <code>Arr::integer()<\/code>, <code>Arr::float()<\/code>, <code>Arr::boolean()<\/code>, <code>Arr::array()<\/code>).\u041a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0442\u0438\u043f \u0438 \u0432\u044b\u0434\u0430\u0441\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0442\u0438\u043f\u0430\u043c:<\/p>\n<pre><code>use Illuminate\\Support\\Arr;  $array = ['name' =&gt; 'Joe', 'languages' =&gt; ['PHP', 'Ruby']];  $value = Arr::string($array, 'name');  \/\/ Joe  $value = Arr::string($array, 'languages');  \/\/ throws InvalidArgumentException<\/code><\/pre>\n<h4>[12.11] Add payload creation and original delay info to job payload  <\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55529\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55529<\/a>  <\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 PR \u043e\u0442 Taylor Otwell. \u0412\u0438\u0434\u0438\u043c\u043e \u043e\u043d \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0441\u044f \u043a \u0440\u0435\u043b\u0438\u0437\u0443 Laravel Nightwatch, \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u043b payload \u0432 jobs &#8212; \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c <code>delay<\/code> \u0438 <code>createdAt<\/code>.<\/p>\n<pre><code>$job-&gt;payload();  \/*  \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442: ['delay' =&gt; 5, 'createdAt' =&gt; 1745965273]  *\/<\/code><\/pre>\n<h4>[12.12] Make Blueprint Resolver Statically<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55607\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55607<\/a><\/p>\n<p>\u0412 Laravel \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0431\u0430\u0433: <code>Schema::blueprintResolver()<\/code> \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f static \u0443 \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f Taylor Otwell \u0440\u0435\u0448\u0438\u043b \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0445 \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432.<\/p>\n<p>\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435:<\/p>\n<pre><code>$this-&gt;callAfterResolving('db.schema', fn ($schema) =&gt; $schema-&gt;blueprintResolver(\/* ... *\/));<\/code><\/pre>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 Laravel.<\/p>\n<h4>[12.13] Allow naming queued closures<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55634\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55634<\/a><\/p>\n<p>Will Rowe \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f\u043c (Closure) \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c. \u042d\u0442\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044f\u0445 \u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.<\/p>\n<pre><code>dispatch(function () {  \u00a0\u00a0\u00a0\u00a0\/\/ ...  })-&gt;name('custom_name');<\/code><\/pre>\n<h4>[12.13] Add support for callback evaluation in containsOneItem method\u00a0<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55622\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55622<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u0435\u0442\u043e\u0434 <code>containsOneItem()<\/code> \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f (Closure), \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u041c\u0435\u0442\u043e\u0434 \u0432\u0435\u0440\u043d\u0435\u0442 true, \u0435\u0441\u043b\u0438 \u0440\u043e\u0432\u043d\u043e \u043e\u0434\u0438\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044e.<\/p>\n<pre><code>$collection = collect([1, 2, 3]);  $collection-&gt;containsOneItem(fn($item) =&gt; $item === 2); \/\/ true  $collection-&gt;containsOneItem(fn($item) =&gt; $item &gt; 1); \u00a0 \/\/ false (2 \u0438 3 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044e)<\/code><\/pre>\n<h4>[12.14] Revert Make Blueprint Resolver Statically<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55690\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55690<\/a><\/p>\n<p>Taylor Otwell \u043e\u0442\u043a\u0430\u0442\u0438\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e Blueprint, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0440\u0435\u043b\u0438\u0437\u043e\u043c 12.12. \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 12.13 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0441\u044f \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0431\u0430\u0433.<\/p>\n<h4>[12.14] Introduce Arr::from()<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55715\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55715<\/a><\/p>\n<p>Helper \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438, \u043d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 <code>Arr::from()<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u044b:<\/p>\n<pre><code>use Illuminate\\Support\\Arr;  \/\/ \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:  Arr::from(collect(['name' =&gt; 'Laravel'])); \/\/ ['name' =&gt; 'Laravel']  Arr::from($jsonable); \/\/ \u0414\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 Jsonable \u0432 \u043c\u0430\u0441\u0441\u0438\u0432  Arr::from($arrayable); \/\/ \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u0442\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 toArray()<\/code><\/pre>\n<h4>[12.15] Add locale-aware number parsing methods to Number class<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55725\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55725<\/a><\/p>\n<p>Mbungu Ngoma \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0442\u0440\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u043a\u043b\u0430\u0441\u0441 Number \u0434\u043b\u044f \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u0432 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041c\u0435\u0442\u043e\u0434\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043a\u043b\u0430\u0441\u0441 <code>NumberFormatter<\/code> \u0434\u043b\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430:<\/p>\n<pre><code>use Illuminate\\Support\\Number;  \/\/ \u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b  Number::parse($string);\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u0430  Number::parseInt($string); \u00a0 \u00a0 \u00a0 \/\/ \u0421\u0442\u0440\u043e\u0433\u043e \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e  Number::parseFloat($string); \u00a0 \u00a0 \/\/ \u0421\u0442\u0440\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u043e \u0441 \u043f\u043b\u0430\u0432\u0430\u044e\u0449\u0435\u0439 \u0442\u043e\u0447\u043a\u043e\u0439  \/\/ \u0421 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043b\u043e\u043a\u0430\u043b\u0438  Number::parseFloat(string: $string, locale: 'de');  \/\/ \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0442\u0438\u043f\u0430  Number::parse(  \u00a0\u00a0\u00a0\u00a0string: $string,  \u00a0\u00a0\u00a0\u00a0type: NumberFormatter::TYPE_INT64,  \u00a0\u00a0\u00a0\u00a0locale: 'de',  );<\/code><\/pre>\n<h4>[12.15] Add a default option when retrieving an enum from data<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55735\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55735<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u0435\u0442\u043e\u0434 <code>enum()<\/code> \u0432 \u0442\u0440\u0435\u0439\u0442\u0435 <code>InteractsWithData<\/code> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c.<\/p>\n<pre><code>\u0411\u044b\u043b\u043e: $chartType = request()-&gt;enum('chart_type', ChartTypeEnum::class) ?: ChartTypeEnum::Bar;  \u0421\u0442\u0430\u043b\u043e: $chartType = request()-&gt;enum('chart_type', ChartTypeEnum::class, ChartTypeEnum::Bar);<\/code><\/pre>\n<h4>[12.15] Add hash string helper<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55767\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55767<\/a><\/p>\n<p>\u0412 \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438, \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434 <code>hash()<\/code> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430.<\/p>\n<pre><code>$appId = str('secret-unique-key') \u00a0\u00a0\u00a0\u00a0-&gt;hash('xxh3')\u00a0 \/\/ \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u00a0\u00a0\u00a0\u00a0-&gt;take(10)\u00a0 \u00a0 \u00a0 \/\/ \u0411\u0435\u0440\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0435 10 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u00a0\u00a0\u00a0\u00a0-&gt;prepend('app-'); \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0435\u0444\u0438\u043a\u0441  \/\/ \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: app-0fb8aac18c  \/\/\u041a\u0430\u043a \u0431\u044b\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435 (\u0434\u043e Laravel 12.15):  $appId = str('secret-unique-key') \u00a0\u00a0\u00a0\u00a0-&gt;pipe(fn(Stringable $str) =&gt; hash('xxh3', (string) $str)) \/\/ \u0413\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u00a0\u00a0\u00a0\u00a0-&gt;take(10) \u00a0\u00a0\u00a0\u00a0-&gt;prepend('app-');<\/code><\/pre>\n<h4>[12.15] feat: Add current_page_url to Paginator<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55789\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55789<\/a><\/p>\n<p>\u0412 PR \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 Paginator &#8212; \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0442\u043e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 Taylor Otwell \u0443\u0436\u0435 \u043d\u0430\u043c\u0435\u043a\u043d\u0443\u043b\u0438 \u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u044d\u0442\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u2014 \u043f\u043e\u043a\u0430 \u043e\u043d \u043d\u0435 \u043e\u0442\u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043b, \u043d\u043e \u043d\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043e, \u0447\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u0440\u0435\u043b\u0438\u0437\u043e\u0432 \u0441\u0434\u0435\u043b\u0430\u044e\u0442 revert.<\/p>\n<pre><code>class ApiResourceCollection extends AnonymousResourceCollection  { \u00a0\u00a0\u00a0\u00a0public function paginationInformation(Request $request, array $paginated, array $default): array \u00a0\u00a0\u00a0\u00a0{ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0return [ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'links' =&gt; [ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'self' =&gt; $paginated['current_page_url'], \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'next' =&gt; $paginated['next_page_url'] ?? null, \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0], \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]; \u00a0\u00a0\u00a0\u00a0} }<\/code><\/pre>\n<p>\u0412\u0438\u0434\u0435\u043e \u0432\u0435\u0440\u0441\u0438\u044f \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u0430:\u00a0  <\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/685c2be8324f0deba46768a7\" data-style=\"\" id=\"685c2be8324f0deba46768a7\" width=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/921134\/\"> https:\/\/habr.com\/ru\/articles\/921134\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/p>\n<p>\u042d\u0442\u043e \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u043e\u0442\u00a0CutCode. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0437\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 \u0432 \u043c\u0438\u0440\u0435 PHP \u0438 Laravel.<\/p>\n<h3>\u041d\u043e\u0432\u043e\u0441\u0442\u0438 PHP<\/h3>\n<h4>\u0420\u0435\u043b\u0438\u0437\u044b PHP 8.3.21 \u0438 PHP 8.4.7  <\/h4>\n<p>\u0412\u044b\u043f\u0443\u0441\u043a\u0438 \u0441 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0448\u0438\u0431\u043e\u043a \u0432\u044b\u0448\u043b\u0438 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e.  <\/p>\n<h4>Random Beer<\/h4>\n<p>\u0412 \u043e\u043f\u0440\u043e\u0441\u0435 PHP-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 2024 \u043c\u043d\u043e\u0433\u0438\u0435 \u043e\u0442\u043c\u0435\u0447\u0430\u043b\u0438, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0435\u0442\u0432\u043e\u0440\u043a\u0438\u043d\u0433\u0430, \u0440\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0439 \u0438 \u043d\u0435\u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0439. \u0418 \u043c\u043d\u0435 \u0435\u0441\u0442\u044c \u0447\u0442\u043e \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u2013 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u043e\u0441\u044c \u0443\u0436\u0435 \u0442\u0440\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0438 \u0432 \u043e\u043d\u043b\u0430\u0439\u043d-\u0431\u0430\u0440\u0435 \u00ab<a href=\"https:\/\/t.me\/phperdelka\" rel=\"noopener noreferrer nofollow\">PHP\u0435\u0440\u0434\u0435\u043b\u043a\u0430<\/a>\u00bb.<br \/>\u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c, \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0438 \u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \ud83d\ude42<\/p>\n<h4>\u041f\u044b\u0445.\u043a\u043e\u043d\u0444  <\/h4>\n<p>19 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f \u0432 \u041c\u043e\u0441\u043a\u0432\u0435 \u0432 \u0426\u0435\u043d\u0442\u0440\u0435 \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0439 \u0422\u043e\u0440\u0433\u043e\u0432\u043b\u0438 \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u043d\u043e\u0432\u0430\u044f PHP-\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f \u2013 \u041f\u044b\u0445.\u043a\u043e\u043d\u0444\u201925!<\/p>\n<p>400 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u2022 4 \u0437\u0430\u043b\u0430 \u2022 28 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u0412\u043e\u0442 \u0441\u0430\u0439\u0442 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0431\u0438\u043b\u0435\u0442 &#8212; <a href=\"https:\/\/conf.phpyh.ru\/\" rel=\"noopener noreferrer nofollow\">https:\/\/conf.phpyh.ru\/<\/a>. <\/p>\n<p>\u0422\u0430\u043c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u043f\u0438\u043a\u0435\u0440\u0430 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0434\u043e\u043a\u043b\u0430\u0434! \u0417\u0430\u044f\u0432\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0430\u0442\u044c \u0434\u043e 1 \u0438\u044e\u043b\u044f. <\/p>\n<h4>FrankenPHP \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f PHP Foundation  <\/h4>\n<p>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 FrankenPHP \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043d \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044e PHP \u043d\u0430 GitHub.<\/p>\n<p>\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c, \u0438 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 (\u041a\u0435\u0432\u0438\u043d \u0414\u0430\u043d\u0433\u043b\u0430\u0441, \u0420\u043e\u0431\u0435\u0440\u0442 \u041b\u0430\u043d\u0434\u0435\u0440\u0441, \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u0428\u0442\u0435\u0445\u0435\u0440) \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0432\u044b\u043f\u0443\u0441\u043a\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0437\u0430 code review. \u041e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0430\u0442\u044c \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 PHP Foundation, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0435\u0439 \u0437\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u044f\u0437\u044b\u043a\u0430.<\/p>\n<p>\u0412 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 PHP \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 PHP-FPM, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 RFC \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435.<\/p>\n<h4>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 PhpStorm 2025.2  <\/h4>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 PhpStorm \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u0442\u0437\u044b\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 PhpStorm. \u0421\u0431\u043e\u0440\u043a\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438.<\/p>\n<h3>\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u044f\u0434\u0440\u0430 PHP<\/h3>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u044f\u0434\u0440\u0430 PHP \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0441\u0432\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0435\u0440\u0438\u0438 <a href=\"https:\/\/thephp.foundation\/blog\/tag\/roundup\/\" rel=\"noopener noreferrer nofollow\"><strong>PHP Core Roundup<\/strong><\/a> \u043e\u0442 PHP Foundation, \u043c\u044b \u043b\u0438\u0448\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e \u043d\u0438\u043c \u043f\u0440\u043e\u0431\u0435\u0436\u0438\u043c\u0441\u044f:  <\/p>\n<p>\u2705 <a href=\"https:\/\/wiki.php.net\/rfc\/array_first_last\" rel=\"noopener noreferrer nofollow\"><strong>RFC: array_first() and array_last()<\/strong><\/a>  <\/p>\n<p>\u0412 PHP 7.3 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 array_key_first() \u0438 array_key_last() \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043d\u043e \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/p>\n<p>\u0421\u0435\u0440\u0433\u0435\u0439 \u041c\u0443\u0445\u0438\u043d \u0432 \u0441\u0432\u043e\u0435\u043c <a href=\"https:\/\/t.me\/flyphp\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u043a\u0430\u043d\u0430\u043b\u0435<\/a> \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0432 PHP 7.3 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0442\u0430\u043a \u0436\u0435 \u0431\u044b\u043b\u0438 \u0432 RFC, \u043d\u043e \u043e\u043d\u0438 \u043d\u0435 \u043f\u0440\u043e\u0448\u043b\u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043b\u044e\u0447\u0435\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432.<\/p>\n<p>\u0418 \u0432\u043e\u0442, \u0441\u043f\u0443\u0441\u0442\u044f 7 \u043b\u0435\u0442, \u0432 PHP 8.5 \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 array_first() \u0438 array_last() \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/p>\n<p>\ud83d\udce3 <a href=\"https:\/\/wiki.php.net\/rfc\/clone_with_v2\" rel=\"noopener noreferrer nofollow\"><strong>RFC: Clone with v2<\/strong><\/a><\/p>\n<p>\u0412 2022 \u0433\u043e\u0434\u0443 M\u00e1t\u00e9 Kocsis \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b <a href=\"https:\/\/wiki.php.net\/rfc\/clone_with\" rel=\"noopener noreferrer nofollow\">RFC Clone with<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0434\u043e\u0448\u0435\u043b \u0434\u043e \u0441\u0442\u0430\u0434\u0438\u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 Volker Dusch \u0438 Tim D\u00fcsterhus \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0434 \u0437\u0430\u0431\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0432\u0442\u043e\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e RFC.<\/p>\n<p>\ud83d\udcca <a href=\"https:\/\/wiki.php.net\/rfc\/pipe-operator-v3\" rel=\"noopener noreferrer nofollow\"><strong>RFC: Pipe operator v3<\/strong><\/a><\/p>\n<p>\u0421 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 PHP. <a href=\"https:\/\/wiki.php.net\/rfc\/pipe-operator\" rel=\"noopener noreferrer nofollow\">\u041f\u0435\u0440\u0432\u0430\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430<\/a> \u0431\u044b\u043b\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u0430 Sara Golemon \u0438 Marcelo Camargo \u0432 \u0434\u0430\u043b\u0435\u043a\u043e\u043c 2016 \u0433\u043e\u0434\u0443, \u043d\u043e RFC \u0442\u0430\u043a \u0438 \u043d\u0435 \u0434\u043e\u0448\u0435\u043b \u0434\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0421\u043f\u0443\u0441\u0442\u044f 4 \u0433\u043e\u0434\u0430 \u0432 2020 Larry Garfield \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u043b <a href=\"https:\/\/wiki.php.net\/rfc\/pipe-operator-v2\" rel=\"noopener noreferrer nofollow\">\u0432\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u043f\u044b\u0442\u043a\u0443<\/a>, \u043d\u043e \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e RFC \u043d\u0430\u0448\u0435\u043b \u043e\u0442\u043a\u043b\u0438\u043a \u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"https:\/\/rfc.stitcher.io\/rfc\/the-pipe-operator\" rel=\"noopener noreferrer nofollow\">RFC Vote<\/a>, \u043d\u0430 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043e\u0442\u0434\u0430\u043b\u043e \u0441\u0432\u043e\u0439 \u0433\u043e\u043b\u043e\u0441 \u043f\u0440\u043e\u0442\u0438\u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u0438\u0432\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0448\u0430\u0442\u043a\u0430\u044f \u0438 \u0431\u043b\u0438\u0437\u0438\u043b\u0441\u044f \u0444\u0438\u0447\u0430-\u0444\u0440\u0438\u0437 PHP 8.1.<\/p>\n<p>\u0421\u043f\u0443\u0441\u0442\u044f \u0435\u0449\u0435 \u043f\u043e\u0447\u0442\u0438 5 \u043b\u0435\u0442 Larry Garfield \u0441\u043d\u043e\u0432\u0430 \u043d\u0430\u0447\u0430\u043b \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u044e \u043e\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0435 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430, \u0443\u043b\u0443\u0447\u0448\u0438\u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u043e\u0434\u043e\u043b\u0435\u043b\u0430 \u043f\u043e\u0440\u043e\u0433 \u0432 \u2154 \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u0438 \u0431\u044b\u043b\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u0430.<\/p>\n<h4>PHP 30 \u043b\u0435\u0442<\/h4>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 PHP \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043b\u043e\u0441\u044c 30 \u043b\u0435\u0442, \u0437\u0430 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u0440\u043e\u0441 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0434\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 80% \u0441\u0430\u0439\u0442\u043e\u0432.<\/p>\n<p>\u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 PHP \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0440\u043e\u0441 Personal Home Page Tools \u0438 \u043f\u043e\u0440\u0430 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0434 \u043d\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0430\u043a\u0440\u043e\u043d\u0438\u043c\u0430. \u0412\u044b \u043f\u0440\u0438\u0441\u043b\u0430\u043b\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0430\u043a\u0440\u043e\u043d\u0438\u043c\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u043a\u0430\u043a \u0432\u044b \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 PHP, \u043a\u0430\u043a \u044f\u0437\u044b\u043a \u043f\u043e\u0432\u043b\u0438\u044f\u043b \u043d\u0430 \u0432\u0430\u0448\u0443 \u0436\u0438\u0437\u043d\u044c \u0438\u043b\u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0435 PHP \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u043c. \u0421\u043e\u0431\u0440\u0430\u043b\u0438 \u0438\u0445 \u0442\u0443\u0442:<\/p>\n<p><a href=\"https:\/\/php30.ru\/\" rel=\"noopener noreferrer nofollow\">https:\/\/php30.ru<\/a><\/p>\n<p>\u0410 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0441\u0443\u0434\u0438\u043b\u0438 \u0438\u0445 \u0432 \u044d\u0444\u0438\u0440\u0435:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/685c2c0380f398ebcd41fc04\" data-style=\"\" id=\"685c2c0380f398ebcd41fc04\" width=\"\"><\/div>\n<p>\u0410 5 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0441\u0442\u0430\u043b\u0438 \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u0435\u0435 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f PHP-\u0441\u043b\u043e\u043d\u0438\u043a\u0430\u043c! \ud83d\udc18  <\/p>\n<h2>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f Laravel <\/h2>\n<h4>[12.11] Typed getters for Arr helper  <\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55567\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55567<\/a>  <\/p>\n<p>Anthony Tibbs \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b-\u0433\u0435\u0442\u0442\u0435\u0440\u044b \u0432 \u0445\u0435\u043b\u043f\u0435\u0440 Arr (<code>Arr::string()<\/code>, <code>Arr::integer()<\/code>, <code>Arr::float()<\/code>, <code>Arr::boolean()<\/code>, <code>Arr::array()<\/code>).\u041a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0442\u0438\u043f \u0438 \u0432\u044b\u0434\u0430\u0441\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0442\u0438\u043f\u0430\u043c:<\/p>\n<pre><code>use Illuminate\\Support\\Arr;  $array = ['name' =&gt; 'Joe', 'languages' =&gt; ['PHP', 'Ruby']];  $value = Arr::string($array, 'name');  \/\/ Joe  $value = Arr::string($array, 'languages');  \/\/ throws InvalidArgumentException<\/code><\/pre>\n<h4>[12.11] Add payload creation and original delay info to job payload  <\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55529\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55529<\/a>  <\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 PR \u043e\u0442 Taylor Otwell. \u0412\u0438\u0434\u0438\u043c\u043e \u043e\u043d \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0441\u044f \u043a \u0440\u0435\u043b\u0438\u0437\u0443 Laravel Nightwatch, \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u043b payload \u0432 jobs &#8212; \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c <code>delay<\/code> \u0438 <code>createdAt<\/code>.<\/p>\n<pre><code>$job-&gt;payload();  \/*  \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442: ['delay' =&gt; 5, 'createdAt' =&gt; 1745965273]  *\/<\/code><\/pre>\n<h4>[12.12] Make Blueprint Resolver Statically<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55607\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55607<\/a><\/p>\n<p>\u0412 Laravel \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0431\u0430\u0433: <code>Schema::blueprintResolver()<\/code> \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f static \u0443 \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f Taylor Otwell \u0440\u0435\u0448\u0438\u043b \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0445 \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432.<\/p>\n<p>\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435:<\/p>\n<pre><code>$this-&gt;callAfterResolving('db.schema', fn ($schema) =&gt; $schema-&gt;blueprintResolver(\/* ... *\/));<\/code><\/pre>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 Laravel.<\/p>\n<h4>[12.13] Allow naming queued closures<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55634\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55634<\/a><\/p>\n<p>Will Rowe \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f\u043c (Closure) \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c. \u042d\u0442\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044f\u0445 \u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.<\/p>\n<pre><code>dispatch(function () {  \u00a0\u00a0\u00a0\u00a0\/\/ ...  })-&gt;name('custom_name');<\/code><\/pre>\n<h4>[12.13] Add support for callback evaluation in containsOneItem method\u00a0<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55622\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55622<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u0435\u0442\u043e\u0434 <code>containsOneItem()<\/code> \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f (Closure), \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u041c\u0435\u0442\u043e\u0434 \u0432\u0435\u0440\u043d\u0435\u0442 true, \u0435\u0441\u043b\u0438 \u0440\u043e\u0432\u043d\u043e \u043e\u0434\u0438\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044e.<\/p>\n<pre><code>$collection = collect([1, 2, 3]);  $collection-&gt;containsOneItem(fn($item) =&gt; $item === 2); \/\/ true  $collection-&gt;containsOneItem(fn($item) =&gt; $item &gt; 1); \u00a0 \/\/ false (2 \u0438 3 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044e)<\/code><\/pre>\n<h4>[12.14] Revert Make Blueprint Resolver Statically<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55690\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55690<\/a><\/p>\n<p>Taylor Otwell \u043e\u0442\u043a\u0430\u0442\u0438\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e Blueprint, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0440\u0435\u043b\u0438\u0437\u043e\u043c 12.12. \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 12.13 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0441\u044f \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0431\u0430\u0433.<\/p>\n<h4>[12.14] Introduce Arr::from()<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55715\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55715<\/a><\/p>\n<p>Helper \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438, \u043d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 <code>Arr::from()<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u044b:<\/p>\n<pre><code>use Illuminate\\Support\\Arr;  \/\/ \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:  Arr::from(collect(['name' =&gt; 'Laravel'])); \/\/ ['name' =&gt; 'Laravel']  Arr::from($jsonable); \/\/ \u0414\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 Jsonable \u0432 \u043c\u0430\u0441\u0441\u0438\u0432  Arr::from($arrayable); \/\/ \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u0442\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 toArray()<\/code><\/pre>\n<h4>[12.15] Add locale-aware number parsing methods to Number class<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55725\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55725<\/a><\/p>\n<p>Mbungu Ngoma \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0442\u0440\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u043a\u043b\u0430\u0441\u0441 Number \u0434\u043b\u044f \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u0432 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041c\u0435\u0442\u043e\u0434\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043a\u043b\u0430\u0441\u0441 <code>NumberFormatter<\/code> \u0434\u043b\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430:<\/p>\n<pre><code>use Illuminate\\Support\\Number;  \/\/ \u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b  Number::parse($string);\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u0430  Number::parseInt($string); \u00a0 \u00a0 \u00a0 \/\/ \u0421\u0442\u0440\u043e\u0433\u043e \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e  Number::parseFloat($string); \u00a0 \u00a0 \/\/ \u0421\u0442\u0440\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u043e \u0441 \u043f\u043b\u0430\u0432\u0430\u044e\u0449\u0435\u0439 \u0442\u043e\u0447\u043a\u043e\u0439  \/\/ \u0421 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043b\u043e\u043a\u0430\u043b\u0438  Number::parseFloat(string: $string, locale: 'de');  \/\/ \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0442\u0438\u043f\u0430  Number::parse(  \u00a0\u00a0\u00a0\u00a0string: $string,  \u00a0\u00a0\u00a0\u00a0type: NumberFormatter::TYPE_INT64,  \u00a0\u00a0\u00a0\u00a0locale: 'de',  );<\/code><\/pre>\n<h4>[12.15] Add a default option when retrieving an enum from data<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55735\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55735<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u0435\u0442\u043e\u0434 <code>enum()<\/code> \u0432 \u0442\u0440\u0435\u0439\u0442\u0435 <code>InteractsWithData<\/code> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c.<\/p>\n<pre><code>\u0411\u044b\u043b\u043e: $chartType = request()-&gt;enum('chart_type', ChartTypeEnum::class) ?: ChartTypeEnum::Bar;  \u0421\u0442\u0430\u043b\u043e: $chartType = request()-&gt;enum('chart_type', ChartTypeEnum::class, ChartTypeEnum::Bar);<\/code><\/pre>\n<h4>[12.15] Add hash string helper<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55767\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55767<\/a><\/p>\n<p>\u0412 \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438, \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434 <code>hash()<\/code> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430.<\/p>\n<pre><code>$appId = str('secret-unique-key') \u00a0\u00a0\u00a0\u00a0-&gt;hash('xxh3')\u00a0 \/\/ \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u00a0\u00a0\u00a0\u00a0-&gt;take(10)\u00a0 \u00a0 \u00a0 \/\/ \u0411\u0435\u0440\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0435 10 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u00a0\u00a0\u00a0\u00a0-&gt;prepend('app-'); \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0435\u0444\u0438\u043a\u0441  \/\/ \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: app-0fb8aac18c  \/\/\u041a\u0430\u043a \u0431\u044b\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435 (\u0434\u043e Laravel 12.15):  $appId = str('secret-unique-key') \u00a0\u00a0\u00a0\u00a0-&gt;pipe(fn(Stringable $str) =&gt; hash('xxh3', (string) $str)) \/\/ \u0413\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u00a0\u00a0\u00a0\u00a0-&gt;take(10) \u00a0\u00a0\u00a0\u00a0-&gt;prepend('app-');<\/code><\/pre>\n<h4>[12.15] feat: Add current_page_url to Paginator<\/h4>\n<p><a href=\"https:\/\/github.com\/laravel\/framework\/pull\/55789\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/laravel\/framework\/pull\/55789<\/a><\/p>\n<p>\u0412 PR \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 Paginator &#8212; \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0442\u043e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 Taylor Otwell \u0443\u0436\u0435 \u043d\u0430\u043c\u0435\u043a\u043d\u0443\u043b\u0438 \u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u044d\u0442\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u2014 \u043f\u043e\u043a\u0430 \u043e\u043d \u043d\u0435 \u043e\u0442\u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043b, \u043d\u043e \u043d\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043e, \u0447\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u0440\u0435\u043b\u0438\u0437\u043e\u0432 \u0441\u0434\u0435\u043b\u0430\u044e\u0442 revert.<\/p>\n<pre><code>class ApiResourceCollection extends AnonymousResourceCollection  { \u00a0\u00a0\u00a0\u00a0public function paginationInformation(Request $request, array $paginated, array $default): array \u00a0\u00a0\u00a0\u00a0{ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0return [ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'links' =&gt; [ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'self' =&gt; $paginated['current_page_url'], \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'next' =&gt; $paginated['next_page_url'] ?? null, \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0], \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]; \u00a0\u00a0\u00a0\u00a0} }<\/code><\/pre>\n<p>\u0412\u0438\u0434\u0435\u043e \u0432\u0435\u0440\u0441\u0438\u044f \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u0430:\u00a0  <\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/685c2be8324f0deba46768a7\" data-style=\"\" id=\"685c2be8324f0deba46768a7\" width=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/921134\/\"> https:\/\/habr.com\/ru\/articles\/921134\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-465356","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/465356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=465356"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/465356\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=465356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=465356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=465356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}