PHP 7.0.2 stable version released | web stand

PHP 7.0.2 stable version released

0

PHP (Hypertext Preprocessor) is today’s number one open source programming language for the server-side of websites. Many of the biggest websites such as Wikipedia, WordPress, and Facebook are all running PHP. It has powerful features, simple to use, a high level of security, and that it runs on almost any server platform and OS.

The PHP language has a PHP interpreter that uses the server’s resources to read the PHP scripts, and this limits it to running on a server. To get it to run on a PC, you need to download a server emulator like Xampp. When you are running PHP, it’s possible to create dynamic websites i.e. the client sends a request by clicking on a link or button and the server processes the sought action, it completes, and a reply goes back to the user.

PHP is now in its 7th release and below we thought we would list for you some of the outstanding things it offers.

PHP 7: Introducing some of its brand new features:

  • Session options – you can accept an array of options with session_start() that overrides the normally set option configuration directives in the php.ini. It can support session.lazy_write , which is on by default and because of that; PHP overwrites any session file if the data gets modified.
  • There is a new function called intdiv() , which performs an integer division of its operands
  • Generator can delegate to a different generator, array or object automatically without you having to write a boilerplate with the yield construct.
  • It is possible now to import classes, constants, and functions using only one statement.
  • assert() is now a language construct.
  • Get better security with the filtered unserialize() function, it prevents code injections.
  • Closure::call()  is more resilient.
  • There is support for anonymous classes.
  • Use define() to define an array constant instead of const
  • Support for Return type declarations.

Explore the full documentation to download PHP 7.0.2, migrate from PHP 5.6.x to PHP 7 and learn more about PHP 7’s new features, classes, functions, and constants.

If you are new to PHP and could not make heads or tails of this, post and wish to learn PHP anyway. Take a look at our review on the Udemy’s best PHP course. that will get you up to speed on PHP quick and easily.

Featured inage credit: “Playdough elephant” by Danny Chapman, license under CC BY 2.0

Share.

Leave A Reply

four × 4 =

Top