current location:Home > Technical Articles > Backend Development > PHP7

  • How to compile and install php7 from source code
    How to compile and install php7 from source code
    The following takes CentOS 7.2 as an example to install the PHP operating environment. First, open the PHP official website and click Downloads in the navigation bar to enter the download page. Download the latest version of the source code package here. After downloading, upload it to the server. Because PHP installation requires compilation, the server should Ensure that gcc and g++ environments are installed.
    PHP7 5267 2023-02-17 16:20:01
  • Let's take a look at the new operators in PHP7
    Let's take a look at the new operators in PHP7
    The new NULL merge operator is actually a transformation of the ternary operator, which reduces the amount of code. This article will briefly look at these new usages and hope to discuss them with everyone.
    PHP7 3575 2023-02-17 16:18:01
  • How to install the latest version of php7 using yum
    How to install the latest version of php7 using yum
    In the past two days, I have installed a virtual machine again, compiled lnmp, and made various extensions. Can I install it directly with yum? The answer is yes! 1. First, update the yum source, otherwise it must be an old version, usually 5.6 and below, but php7 has been out for a long time, and the performance has improved by more than 50%!
    PHP7 3166 2023-02-17 16:16:02
  • Understand what a PHP7 virtual machine is
    Understand what a PHP7 virtual machine is
    Most of the content of this article is translated from Getting into the Zend Execution engine (PHP 5), with some adjustments made. The original text is based on PHP 5, and this article is based on PHP 7. PHP: An interpreted language PHP is called a scripting language or an interpreted language.
    PHP7 3225 2023-02-17 16:14:01
  • PHP7 scalar type declaration RFC detailed explanation
    PHP7 scalar type declaration RFC detailed explanation
    The RFC recommends adding four new scalar type declarations: int, float, string, and bool. These type declarations will be used consistently with PHP's original mechanism. The RFC also recommends adding a new optional directive (declare(strict_type=1);) to every PHP file.
    PHP7 4173 2023-02-17 16:12:02
  • Discuss PHP's error and exception handling mechanisms
    Discuss PHP's error and exception handling mechanisms
    Disclaimer: This article is licensed under CC BY-NC-ND 4.0. The original PHP only had errors and no exceptions. Looking at some old documents, you can see that a lot of error output is directly echoed to the html tag. Modern frameworks have already wrapped everything up, and you can have a more beautiful error display page by directly throwing an exception, such as
    PHP7 3592 2023-02-17 16:10:01
  • Detailed explanation of PHP data structure extensions
    Detailed explanation of PHP data structure extensions
    Disclaimer: This article is licensed under CC BY-NC-ND 4.0. There is only one data type that represents collections in PHP: Array. I believe everyone who is new to PHP will be confused about it. This thing should look like an Array or List in other languages, but in PHP it's everything,
    PHP7 3338 2023-02-17 16:08:02
  • Let's take a look at the new features of php7
    Let's take a look at the new features of php7
    This is a title. With the launch of php7, there are many new features. Next, I will take you to understand: H1 H2 H3 1. PHP scalar type and return value type declaration 2. PHP NULL merge operator 3. PHP spaceship operator (Combined comparison operator) 4. PHP constant array 5. PHP anonymous class 6. PHP
    PHP7 3716 2023-02-17 16:06:01
  • Use xhprof to parse in php7
    Use xhprof to parse in php7
    This is a pure document. If you need it in the future, you can look it up at any time and use xhprof for analysis to facilitate code testing and comparative analysis (php7 is supported).
    PHP7 3727 2023-02-17 16:04:02
  • Let's learn HashTable of PHP7 kernel together
    Let's learn HashTable of PHP7 kernel together
    First of all, in PHP7, we considered that because we were worried that Hashtable would be used too much, our newly designed structure might not be able to cover all scenarios, so we defined a new structure called zend array, and finally retained Hashtable. and zend array are two names.
    PHP7 2994 2023-02-17 16:02:01
  • Let's talk about the understanding and comparison of new features of php7
    Let's talk about the understanding and comparison of new features of php7
    PHP7 has changed the way most errors are reported. Unlike PHP5's traditional error reporting mechanism, most errors are now thrown as Error exceptions. This Error exception can be caught by a try or catch block like a normal exception. If there is no matching try or catch block, the exception handling function is called.
    PHP7 2668 2023-02-17 16:00:02
  • How to access jaeger in php7?
    How to access jaeger in php7?
    Download client package [link] error {code...} The socket extension is not enabled, change php.ini to open {code...}, this article will introduce in detail how to access jaeger.
    PHP7 3305 2023-02-17 15:58:01
  • How to install Phalcon framework for PHP7?
    How to install Phalcon framework for PHP7?
    Phalcon is an open source, full-featured stack, PHP 5 framework written using C extensions and optimized for high performance. Developers do not need to learn and use C language functions, because all functions are exposed in the form of PHP classes and can be used directly. Phalcon is also loosely coupled, and you can use other objects arbitrarily according to the needs of the project.
    PHP7 3891 2023-02-17 15:56:02
  • How to install redis extension in php7
    How to install redis extension in php7
    Move to the download folder: cd /root/src (choose the specific folder) Download php7-redis: wget https://github.com/phpredis/phpredis/archive/php7.zip Rename: mv ./php7.zip. /phpredis-php7.zip unzip
    PHP7 2766 2023-02-17 15:54:01
  • Discuss in detail the implementation of coroutines under PHP7
    Discuss in detail the implementation of coroutines under PHP7
    I believe everyone has heard of the concept of coroutines. , but some students don’t understand this concept, and don’t know how to implement it, how to use it, and where to use it. Some people even think that yield is coroutine! This question will introduce this concept to you in detail.
    PHP7 3296 2023-02-17 15:52:02

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28