According to the supported versions and schedule listed on the PHP official website (below), PHP 5.6 was released in 2014. Main support was closed on January 19, 2017, and security support will be closed on December 31, 2018. End date.
In fact, the major and security update period of PHP 5.6 has ended long ago, but due to the large number of websites used, the PHP maintenance organization has At one point, their support hours were respectively extended. (Recommended learning: PHP programming from entry to proficiency)
Some people describe this situation as a PHP time bomb. The newer PHP 7.0 will no longer have security support at EOL (End of Life) on December 1st this year. Even version 7.1 will reach end of life on December 1st. Security support ends after one year.
Now the latest officially released version is php7.2 and the php6 version has been skipped and directly ushered in php7.
Some features of php7
Breaking everything
PHP7 is going to break everything. PHP developers should accept the law of breaking backward compatibility between versions. As long as extensive backward compatibility is not allowed, PHP7 will be a highly respected language.
1. Create a specific core language. Remove all library methods and keep the core methods in the object set. You should be able to write PHP7 without any external libraries or extensions and a nice complete language for basic input/output, string handling and math. Any extension outside of the library should be approved.
2. Treat everything as an object. Take objects from Ruby, Smalltalk, and (mostly) Java, and treat everything as an object. Integers are objects, strings are objects, and each of them has methods that can be manipulated. I don't believe that PHP needs the notion of Ruby and Smalltalk to pass messages between objects, and calling methods on objects is the best.
3. Consistently name methods and classes. One of the biggest complaints about PHP is constantly having to check, (needle,haystack) or (haystack, needle), or some_function(), or function_some(), or someFunction(), a consistent format needs to be developed.
4. To make things strictly try passing a float string into a method? This is a warning.
5. Everything is Unicode. All strings in PHP6 are Unicode, which is good. I advocate that PHP7 should also be maintained.
6. Central startup point Create a main class or initialization from which all code execution originates.
7. Clean up C code. I am not an expert in C, but if you know more about Ruby's C code and PHP's C code, you can easily understand the internals of PHP and Ruby. I'm very familiar with PHP, so writing my own extension is easier.
8. Get rid of eval() eval() is evil. If you are using it then this is a wrong idea: this will break PHPUnit, discard it from now on.
9. Support operator overloading. Because everything is an object, developers only need to master the methods of operating objects.
10. Allowed method signatures
The above is the detailed content of Is it still useful to stop updating php?. For more information, please follow other related articles on the PHP Chinese website!

The article compares ACID and BASE database models, detailing their characteristics and appropriate use cases. ACID prioritizes data integrity and consistency, suitable for financial and e-commerce applications, while BASE focuses on availability and

The article discusses securing PHP file uploads to prevent vulnerabilities like code injection. It focuses on file type validation, secure storage, and error handling to enhance application security.

Article discusses best practices for PHP input validation to enhance security, focusing on techniques like using built-in functions, whitelist approach, and server-side validation.

The article discusses strategies for implementing API rate limiting in PHP, including algorithms like Token Bucket and Leaky Bucket, and using libraries like symfony/rate-limiter. It also covers monitoring, dynamically adjusting rate limits, and hand

The article discusses the benefits of using password_hash and password_verify in PHP for securing passwords. The main argument is that these functions enhance password protection through automatic salt generation, strong hashing algorithms, and secur

The article discusses OWASP Top 10 vulnerabilities in PHP and mitigation strategies. Key issues include injection, broken authentication, and XSS, with recommended tools for monitoring and securing PHP applications.

The article discusses strategies to prevent XSS attacks in PHP, focusing on input sanitization, output encoding, and using security-enhancing libraries and frameworks.

The article discusses the use of interfaces and abstract classes in PHP, focusing on when to use each. Interfaces define a contract without implementation, suitable for unrelated classes and multiple inheritance. Abstract classes provide common funct


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Notepad++7.3.1
Easy-to-use and free code editor

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)