It includes a new system that speeds up code building and translates them in real time

The eighth version of the PHP programming language has been officially released

The new version of "PHP" features new features.

■ from the source

After 25 years of its appearance on the Internet, as a programming language that represents the most important components of open source software, the famous programming language "PHP" has finally received one of the most important steps of development and improvement with the official launch of the eighth version of that language, which was considered the most important event in The world of open source software during the year 2020, and the biggest change in the PHP language for many years, so that programming experts specializing in this language advised everyone who wrote programs and applications in previous versions of the need to review old codes before moving to the modern version, which It came with a completely new and improved system, which speeds up the coding process, and translates it into an executable, executable image in real time.

The announcement of the new version of the "PHP" language came through its official website "www.php.net", which is a site supervised by groups of programmers responsible for coordinating and developing the language's work, as it is an open source programming language, with thousands of programmers participating in its development. And experts around the world, and not affiliated with a specific company or entity, as is the case with the programming languages ​​of Microsoft and other software companies.

Urgent improvements

According to the official website of the language, the new version includes several features related to how to write and develop codes for various programs and applications, some of which constitute urgent improvements to avoid the problems reported by developers and programmers in the previous seven versions, in addition to improving the current functions within the language, in addition to new features entirely.

The site explained that due to urgent changes, moving to the new version requires that the programmer or developer make some changes in the code that he used to use in previous development and programming processes, so that it can run on the eighth version, as most of the urgent changes that were made in the version were neglected. Seventh.

New features

The site indicated that the eighth version of "PHP" carries new features, including the possibility of combining two or more types of code, or using either of them, according to the requirements of building the code, a feature or feature that suits the fast and flexible dynamic nature of the "PHP" language. , In addition to the GIT code compiler feature, or timely translation, a software feature that provides major improvements in performance, as well as a new feature called the "operator" that allows calling statements and previous programming instructions, and examining them while writing And coding, to make use of them in new codes and tasks in the manner of "zero integration in methods", that is, complete integration without problems.

The site added that the new version also has the feature of "named tags", and is intended to define certain values ​​during programming, by specifying a name for each value, which does not make it necessary to take its arrangement within the code into account, thus reducing the burden on the programmer during development.

The edition also contains the feature of “features”, which is equivalent to the “annotations” feature in other languages. The importance of this feature is that it provides a quick and clear way to add metadata to the various categories within the code, without the need for analysis or extra effort. It takes more time to put in annotations.

According to the site, the new version also provides a way to implement the so-called "caches" within the code, which are special programming instructions to improve the performance of relationships between the different parts and entities required to build the program or application.

This change was represented in the "PHP" collecting this type of code, even if its number is in the hundreds or thousands, and placing it at the request of programmers.

Site administrators have allocated separate pages, for each of the new features, that contain large technical details, explaining to programmers and developers, the concept of the feature, its dimensions, and how to operate it during programming.

"The new version may require more preparation and more effort than was required in the seventh edition, because many of the old problems that existed in this language have been removed," said the founding partner, the principal consultant in the "PHP" consulting company, Stephan Prebisch.

Stefan advised programmers to prepare their current applications step by step for use with "PHP 8", before planning the migration and actual transfer, pointing out that creating a new application or program in the eighth version will be easy, because it will benefit from the new language features from the beginning.

PHP

PHP is short for "personal home page tools", which was coined by the Canadian-Danish programmer Rasmus Lierdruff.

Leardruff is the founder of PHP, when he launched the code or "source code" for this language in 1994 as a language used primarily to deal with connections between servers and data processing, before it developed over time and became one of the most important languages ​​in the programming world. Currently.