PHP Digest number 145 (November 26 - December 1? 2018)

 
3r3-31.
PHP Digest number 145 (November 26 - December 1? 2018)
3r3638.  
Fresh selection with links to news and materials. In the release: PHP 7.3.? Symfony 4.? Composer ??? and other releases, end of support for PHP 5.6 and PHP 7.? fresh offers from PHP Internals, a portion of useful tools, video reports and much more. 3r3638.  
Enjoy reading! 3r3640. 3r3638.  
PHP ??? 3r3637. - The long-awaited major release of PHP delivered strictly on schedule. Thanks to all contributors and release managers for their work! In the fresh version of the interpreter a number of improvements: 3r3638.  
• Improved Heredoc and Nowdoc syntax
RFC
3r3638.  
• Functions 3r340. json_encode () and 3r33240. json_decode () will throw an exception in the event of an error and the presence of the appropriate flag RFC 3r3638.  
• Ability to use a comma after the last argument of the function 3r3433. RFC
3r3638.  
• Added features array_key_first () and 3r33240. array_key_last () RFC 3r3638.  
• New function hrtime (), which returns the time of high accuracy and does not depend on the system time 3r3355. PR 3r3638.  
• Added function is_countable () to check for enumeration RFC 3r3638.  
• Use links in 3r33240. list () RFC 3r3638.  
• Significant improvement in the garbage collector improves work with a large number of objects 3r371. PR 3r3638.  
• The regular expression engine has been updated to PCRE2 3r375. RFC 3r3638.  
The complete list of changes in the document UPGRADING . 3r3638.  
I highly recommend to look at the manual for Migrating from PHP 7.2.x to PHP 7.3.x 3r3637. , thanks lex111 r3r3637 for the translation. 3r3638.  
3r3-3598.  
3r33595. Light also saw updates
PHP ??? 3r3637. , 3r3394. PHP ??? , PHP ??? 3r3637. and 3r3398. PHP ??? 3r3637. . And this is 3r32020. The latest releases of the 5.6 and 7.0 branches , and 3r320. PHP 7.1 goes into security support mode 3r3623. . Thus, at the moment, only PHP 7.2 and PHP 7.3 are relevant. 3r3-3598.  
3r33595.
PHP on AWS Lambda - At the AWS re: Invent 2018 conference, among other things, support for custom runtimes for AWS Lambda was announced. PHP out of the box is supported through stackery /php-lambda-layer , but you can make your own implementation. This means that instead of crutches 3r3637. in the form of a launch via Nodejs or Go, now you can write full lambdas in pure PHP. 3r3-3598.  
3r33595. 3r3r166. Composer ???
3r3-3598.  
3r33595. CakePHP ??? 3r3-3598.  
3r33595. PHPUnit ??? 3r3-3598.  
3r3600. 3r3638.  
3r33588. 3r3133. PHP Internals 3r3638.  
3r3-3593.  
3r33595. 3r3141.[RFC]FFI - Foreign Function Interface - 3r3143. Concept 3r3637. from Dmitry Stogov is now decorated as a full-fledged sentence. The implementation will enable the use of functions and data structures from C-modules directly. As an example, you can look at 3r3145. PHP binding for TensorFlow . Great opportunities, however, open up a wide scope for potential problems and vulnerabilities, so it is proposed to allow FFI by default only in CLI scripts and preloaded files. 3r3-3598.  
3r33595. 3r33150.[RFC]Covariant Returns and Contravariant Parameters - It is proposed to make the types more consistent, in particular, to allow “narrowing” the type of the return value in the heirs, and “expanding” the type of the parameters. 3r3152. Hidden text 3r3154.
    interface X {
function m (Y $ z): X;
}
interface Y extends X {
//Here it will be possible to narrow type
function m (X $ z): Y;
}
interface Concatable {
function concat (Iterator $ input);
}
class Collection implements Concatable {
//And here it will be possible to expand the type
function concat (iterable $ input) {/*. . . * /}
}
3r33177.
3r3-3598.  
3r3600. 3r3638.  
3r3638.  
3r33588. 3r3188. Tools 3r33590. 3r3638.  
3r3-3593.  
3r33595. 3r3195. spatie /period - The library allows you to make complex comparisons of dates, for example, to find the intersection of periods, the difference, spaces, extreme limits and so on. 3r3-3598.  
3r33595. scrivo /highlight.php - Port 3r3202. highlight.js , which allows you to highlight the syntax on the server. Markdown integration via spatie /commonmark-highlighter . 3r3-3598.  
3r33595. 3v4l.org/live - Interactive online PHP shell (REPL). 3r3-3598.  
3r33595. j6s /phparch - Library for architectural testing of PHP projects, inspired by archlint (C #) and archunit (Java). Development in progress. 3r3-3598.  
3r33595. halaxa /json-machine - Stream reading (decoding) JSON. is suitable for stream coding. violet-php /streaming-json-encoder . 3r3-3598.  
3r33595. DivineOmega /password_exposed - Checks using haveibeenpwned.com The API has been password compromised. 3r3-3598.  
3r33595. skollro /alexa-php-sdk - SDK for developing skills for Amazon Alexa in PHP. 3r3-3598.  
3r33595. pyrech /composer-changelogs - In a convenient form displays information about the updated packages after running 3r3240. composer update . 3r3-3598.  
3r33595. RubixML /RubixML - Library for the application of machine learning in PHP. Alternative php-ai /php-ml . 3r3-3598.  
3r3600. 3r3638.  
3r3638.  
3r33588. Learning materials 3r33590. 3r3638.  
3r3-3593.  
3r33595.
Symfony
3r3638.  
3r3-3593.  
3r33595. Symfony ??? 3r3637. - A list of the most interesting changes
here 3r3637. . 3r3-3598.  
3r33595.
Symfony Week # 623 (December 3-? 2018) 3r3637. 3r3-3598.  
3r33595.
Symfony Week # 622 (November 26 - December ? 2018) 3r3637. 3r3-3598.  
3r33595.
EasyCorp /EasyAdminBundle ???
3r3-3598.  
3r33595. The best PhpStorm plugins to develop on Symfony 3r3-3598.  
3r33595. 3r33232. How to manage configuration in symfony
not using the Bundle, Extension and Configuration classes. 3r3-3598.  
3r33595. 3r33578. 3r? 3572. 3r3306. Five minutes PHP Release number 43 3r3637. - SymfonyCon Reporting: Using Symfony Forms with Rich Domain Models. 3r3-3598.  
3r3600. 3r3638.  
3r3-3598.  
3r33595.
3r3333317. Yii
3r3638.  
3r3-3593.  
3r33595. 3r3323. cebe /yii2-openapi
- Generator REST API for Yii2 based on the OpenAPI 3.0 specification. 3r3-3598.  
3r3600. 3r3638.  
3r3-3598.  
3r33595.
3r33333. Laravel
3r3638.  
3r3-3593.  
3r33595. 3r33333. beyondcode /laravel-websockets
- WebSocket server for Laravel based on Ratchet . Allows you to implement all kinds of real-time applications, without having to use Pusher. There are demo application 3r3637. . Read more in 3r33333. tool preview r3r3637. , 3r33350. Documentation 3r3637. or shortly in 3r33352. video review . 3r3-3598.  
3r33595. 3r33357. qcod /laravel-gamify
- A package for adding gamification elements in the form of points and badges in the Laravel application. There is also a standalone gamification engine based on Symfony sveneisenschmidt /yay . 3r3-3598.  
3r33595. spatie /laravel-collection-macros - A set of useful macros for Laravel collections. 3r3-3598.  
3r33595. Backing up your Laravel database to Google Drive 3r3-3598.  
3r33595. 3r33578. Quick performance tips in Laravel 3r3-3598.  
3r3600. 3r3638.  
3r3-3598.  
3r33595.
Async PHP
3r3638.  
3r3-3593.  
3r33595. friends-of-reactphp /mysql - Asynchronous client for MySQL on ReactPHP. Post in support of the release of added lazy connections . 3r3-3598.  
3r33595. 3r33399. walkor /shadowsocks-php
- Another SOCKS5 proxy, a clone of the popular shadowsocks based on an asynchronous engine 3r3403. Workerman
. 3r3-3598.  
3r33595. 3r3408. Korutiny in PHP on Swoole 4.x vs korutiny Golang
3r3-3598.  
3r3600. 3r3638.  
3r3-3598.  
3r33595.
CMS 3r33471. 3r3638.  
3r3-3593.  
3r33595. 3r33434. WordPress 5.0 “Bebo”
- In the release of the new editor 3r33427. Guttenberg
and the new Twenty Nineteen theme. The old editor is available in the plugin. Classic Editor and will be maintained until the end of 2021. 3r3-3598.  
3r33595. WordPress will finally update PHP! In April, the minimum version is will be upgraded to 3r3637. to 5.? and by the end of 3r3r436. 2019 3r3637. - up to PHP 7 (probably 7.2). 3r3-3598.  
3r33595.
Magento Tech Digest # 38: Nov 26 - Dec 0? 201
3r3-3598.  
3r33595. 3r33553. Release Magento platform ??? GA 3r3637. 3r3-3598.  
3r33595. 3r33553. 3r33578.
Magento Meetup Kharkiv №4 - video of reports
3r3-3598.  
3r33595. 3r33553. 3r33460. Warehouse management system using CQRS and Event Sourcing (Magento)
3r3-3598.  
3r3600. 3r3638.  
3r3-3598.  
3r33595.
Security
3r3638.  
3r3-3593.  
3r33595. 3r33477. ajinabraham /CMSScan
- Vulnerability Scanner in popular CMS Wordpress, Drupal, Joomla, vBulletin. Wrap over wpscan , droopescan , vbscan , joomscan . 3r3-3598.  
3r33595. 3r33490. PHP Security Advent Calendar 2018
- Throughout December, interesting information about vulnerabilities in WordPress plugins is published every day. 3r3-3598.  
3r33595. 3r? 3572. Vulnerabilities in PHP and PHPMailer 3r3-3598.  
3r33595. 3r3501. Slice Of PIE # 01
- Answers to security questions from ParagonIE. 3r3-3598.  
3r33595. A couple of symfony vulnerabilities: CVE-2018-19789 (disclosure of the path of the downloaded files), 3r3508. CVE-2018-19790
(SecurityHttp redirect vulnerability) 3r33598.  
3r33595. 3r? 3513. NPM dependency hell: Comparison with Symfony, Laravel and API Platform
- Analysis of dependencies of dependencies of popular PHP frameworks after 3r3515 in the popular JS library. event-stream
was 3r3-3517. Malicious code
was found. . 3r3-3598.  
3r3600. 3r3638.  
3r3-3598.  
3r33595. 3r33535. Configure code generation in PhpStorm 3r3637. 3r3-3598.  
3r33595. 3r33532. 14 bad tips 3r3637. how to write poorly readable and unsupported PHP code
 
3r33595. 3r33537. Migrating to password_verify
and update password hashes in the existing database. 3r3-3598.  
3r33595. 3r33542. create exceptions on the fly
- Using anonymous classes for 3r33598.  
3r33595. 3r33553. How to taxi with legacy code, when the project needed as of yesterday. 3r3-3598.  
3r33595. 3r33553. 3r35454. On-click fame, or how to excite the robot and the rest 3r3637. 3r3-3598.  
3r3600. 3r3638.  
3r3638.  
3r33588. 3r33535. Audio and video footage 3r33590. 3r3638.  
3r3-3593.  
3r33595. 3r33578. 3r? 3572. 3r33573. Five minutes PHP Release # 42 3r3637. - MySQL 8 and caching_sha2_password
 
3r33595. 3r33578. 3r3-3579. PHP Roundtable Podcast # 81
- About PHP-FIG 3.? PSR-18 and more. 3r3-3598.  
3r3600. 3r3638.  
3r3638.  
3r33588. 3r3-3589. Entertaining
3r3638.  
3r3-3593.  
3r33595. 3r3-3596. MagicalTux /goro
- Attempt to implement PHP on Go. 3r3-3598.  
3r3600. 3r3638.  
Thanks for attention! 3r3638.  
3r3638.  
If you notice an error or inaccuracy - please inform PM 3r3637. . 3r3638.  
For questions and suggestions write to
Email 3r3637. or in 3r3614. twitter
. 3r3638.  
3r3638.  
More news and comments in the telegram channel 3r33620. PHP Digest
. 3r3638.  
3r3638.  
3r3628. Send link
3r3638.  
3r33232. Search links for all digests
3r3638.  
Previous release: PHP Digest number 144 3r3638.  
3r3640.
3r3645. ! function (e) {function t (t, n) {if (! (n in e)) {for (var r, a = e.document, i = a.scripts, o = i.length; o-- ;) if (-1! == i[o].src.indexOf (t)) {r = i[o]; break} if (! r) {r = a.createElement ("script"), r.type = "text /jаvascript", r.async =! ? r.defer =! ? r.src = t, r.charset = "UTF-8"; var d = function () {var e = a.getElementsByTagName ("script")[0]; e.parentNode.insertBefore (r, e)}; "[object Opera]" == e.opera? a.addEventListener? a.addEventListener ("DOMContentLoaded", d,! 1): e.attachEvent ("onload", d ): d ()}}} t ("//mediator.mail.ru/script/2820404/"""_mediator") () ();
+ 0 -

Add comment