20 Jun 2018views: 217
PHP is one of the most widely used programming languages for developing websites and web apps. For years, this open-source language has been used by beginners and advance web developers to build stable and secure websites and web apps.
At the core PHP uses Zend Engine as a compiler and runtime engine. PHP Scripts are loaded into memory and compiled into Zend opcodes. These opcodes are executed and the HTML generated is sent to the client.
In the past PHP had many vulnerabilities and security holes. Most of them were present due to badly written PHP codes. So, Why? PHP because it's so easy and beginners friendly that anyone can jump start using it Eg:
<?php echo'hello PHP!'; ?>
PHP 7 is a major release and is touted to be a revolution in the way web applications can be developed and delivered for mobile to enterprises and the cloud. This release is considered to be the most important change for PHP after the release of PHP 5 in 2004.
PHP 7 uses new Zend Engine 3.0 to improve application performance almost twice and 50% better memory consumption than PHP 5.6. It allows to serve more concurrent users without requiring any additional hardware. PHP 7 is designed and refactored considering today's workloads.