This article is originally from abroad this article: PHP performance Evolution 2016, thanks to the high-availability architecture of the public number translated into the Chinese version, here is reproduced in the highly available architecture
BackgroundHHVM is a high-performance PHP virtual machine developed by Facebook, claiming to be 9 times times faster than the official, and I was curious, so I took a quick look at it and sorted out this article, hoping to answer two questions:
Before developing the extension, it is best to understand the execution process of the PHP kernel, PHP includes three aspects:
SAPIZend VMSInternal expansion
The Zend VM is a PHP virtual machine, similar to the JVM, and is
Rednaxelafx 2010-01-06 focuses on the design and implementation of a variety of high-level language VMS (high-level language Virtual MACHINE,HLL VMS), as well as the design and implementation of runtimes that generalize to a variety of high-level
This article brings you the content is about PHP7 Source: PHP Virtual Machine Detailed analysis, there is a certain reference value, the need for a friend can refer to, I hope you have some help.
1. Speaking from the physical machine
Virtual
Because of the stability of the Linux system, most of the PHP servers are deployed on Linux, and like Redis and other extensions in Linux can be better supported, so for PHP programmers, the use of Linux is also very important, Next, I'll summarize
: This article mainly introduces the installation of DockerforWindows and the establishment of the Linux + PHP development environment (1). If you are interested in the PHP Tutorial, refer to it. What is Docker?
Simply put, Docker is a "container" (
Zend Technology has developed an application to replace PHP, hoping it can slowly transfer out some of the failed Java programmers, including those who rely on Java and the Web and enterprise.
Zend's chief executive and co-founder Andi Gutmans
For example, after Vagrant file synchronization is set up, after I modify the file on OSX, I will immediately go to the vagrantcentos environment to view the file content, which is already updated, I found that the slow synchronization on the
1, Mime_content_type () function to judge get file type
Mime_content_type returns the MIME type of the specified file.
Usage:
The code is as follows
Copy Code
Echomime_content_type (' Php.gif '). " n ";Echomime_content_
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.