Looking at what's going on inside PHP recently, I want to know how php generates opcode from a. php file through lexical/grammatical/semantic analysis.
Brother Bird in the blog Amway vld.so this php opcode dump tool, the Internet did not install
Brief introductionOpCode is a PHP compiled binary code, the generated opcode as an intermediate language, can help to implement the PHP source code is not open source, of course, this code is also easy to decompile, but for some simple scenes is
The project is a concurrency of tens of thousands, and the data volume reaches tens of millions. the architecture is LNMP, with a redis and opcode. For example, cache (redis), database configuration (MySQL), and server configuration (linux system
In all programming languages, I think strings should be the most common means of expression on Earth.In the Java world, string occurs as a class, and the core of a field is a char array, which is internally exported by maintaining an immutable array
Introduction of APC
The alternative PHP cache (APC) is a free and open opcode cache for PHP. Its goal are to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC Official website:
How do I clean up the previously cached opcode when the online PHP code is updated?
Reply content:
How do I clean up the previously cached opcode when the online PHP code is updated?
opcache.validate_timestampsDefault isOFF
Opcache sets
Follow this post to check the opcode for installing VLD in PHP. View opcode for installing VLD in PHP
Follow this post to perform operations.
Http://blog.csdn.net/21aspnet/article/details/7002644
However, the result is not displayed on the post.
Introduction of APC
The alternative PHP cache (APC) is a free and open opcode cache for PHP. Its goal are to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC Official website: http://www.php.net/manual/
Preface
Compared with other compiled languages, the performance of PHP is not outstanding, but the performance improvement is obvious after the opcode cache is used. common examples include eaccelerator, xcache, and APC. This document mainly
ObjectiveThe performance of the PHP language is not significant in terms of performance compared to other compiled languages, but performance gains after using the opcode cache are obvious. Common main EACCELERATOR,XCACHE,APC This article mainly
Project is a multi-level concurrency, the amount of data reached tens of millions of levels, the architecture is LNMP, take a redis and opcode.
Like Cache (Redis), database Configuration (MySQL), server configuration (Linux system configuration),
Phpopcode kernel implementation in PHP kernel learning tutorial, kernel opcode. Phpopcode kernel implementation in the PHP kernel learning tutorial. the kernel opcodeopcode is a part of the computer instructions used to specify the operations to be
APC Introduction The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.APC Official Website:
I. My environment: Debian7 (wheezy) x64PHP5.4.4-14 (apt-get) Apache2.2.22 (same as above, non-source code compilation) II: Install vld. (# indicates that it is under root, which is not described below. wget is 0.11.2.) First, we use
Understanding opcodeOpcode is an intermediate language after PHP script compilation. It is like bytecode of Java or MSL of. net. For example, you wrote the following PHP code:
echo "Hello World";
$a = 1 + 1;
echo $a;
?>
PHP
APC Introduction
The alternative PHP cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC Official Website:
PHP is not a significant performance relative to other compiled languages, but performance improvement after using the opcode cache is obvious. Common cache acceleration components are mainly EACCELERATOR,XCACHE,APC this article mainly introduces
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.