current location:Home > Technical Articles > Backend Development > PHP7
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- PHP 7.4 allows throwing exceptions from __toString()
- Throwing exceptions from __toString() is currently prohibited and will result in a fatal error. This makes calling arbitrary code dangerous and makes it a problematic general-purpose API. This RFC aims to remove this restriction.
- PHP7 3075 2023-02-17 13:22:01
-
- Weak References in PHP 7.4
- Weak references allow the programmer to retain a reference to an object without preventing the object from being destroyed; they are useful for implementing cache-like structures. They currently have extended support in PHP.
- PHP7 3771 2023-02-17 13:20:02
-
- Numeric Literal Separator in PHP 7.4
- The human eye is not optimized for quickly parsing long sequences of numbers. Therefore, the lack of visual delimiters makes reading and debugging code longer and can lead to unexpected errors.
- PHP7 3254 2023-02-17 13:18:01
-
- Preloading (Opcache Preloading) in PHP 7.4
- In PHP 7.4, support for preloading was added, a feature that can significantly improve the performance of your code.
- PHP7 7571 2023-02-17 13:16:02
-
- Typed Properties in PHP 7.4
- Type attributes were added in PHP 7.4 and major improvements were made to PHP's type system. These changes are completely optional and do not break previous versions.
- PHP7 4408 2023-02-17 13:14:01
-
- Arrow Functions in PHP 7.4
- Short closures, also known as arrow functions, are a way of writing short functions in PHP. This notation is useful when passing closures to functions such as array_map or array_filter.
- PHP7 4867 2023-02-17 13:12:02
-
- Comparison of exception and error handling in PHP7 with previous versions
- Comparing exception and error handling in PHP7 with previous versions, the difference is that the latter can capture fatal errors and can output helloword normally.
- PHP7 2422 2023-02-17 13:10:01
-
- How to install php7 on ubuntu
- How to install php7 on ubuntu: first download php7 and common extensions through "apt-get"; then enable Apache's php7.0 module through "a2enmod"; then start the php7.0-fpm process through "start".
- PHP7 3266 2023-02-17 13:08:02
-
- New features in PHP7.2 (parameter type declaration)
- PHP 7.2 has been officially released with new features, functionality, and improvements that allow us to write better code. In this article, I'll introduce some of the most interesting language features in PHP 7.2 - parameter type declarations.
- PHP7 3269 2023-02-17 13:06:01
-
- The meaning of php7 type constraints
- Before php7, functions and class methods did not need to declare variable types, and any data could be passed and returned. As a result, almost most calling operations had to determine whether the returned data type was qualified. In order to solve this problem, php7 introduced types. statement.
- PHP7 2983 2023-02-17 13:04:02
-
- How to install PHP 7.4 in CentOS 8/RHEL 8 system
- This article describes how to install PHP 7.4 in the CentOS 8/RHEL 8 operating system. PHP version 7.4.0RC1 has been released to developers and interested users for testing. Please note that PHP 7.4.0RC1 is not suitable for major deployments, and the expected official release date for GA is November 28, 2019.
- PHP7 5819 2023-02-17 13:02:01
-
- PHP7 does not support curl vc15 version solution!
- The ultimate solution: 1. Remove the semicolon before extension=curl; 2. Place libssh2.dll in the php directory into the bin directory of the apache installation directory. 3. Restart apache ok, perfect solution.
- PHP7 3261 2023-02-17 13:00:02
-
- ubuntu 16.04 + apache2 switch php7.1 to php7.3
- Background: When updating Ubuntu, you choose to keep the current PHP version, which results in multiple PHP versions appearing, and phpinfo displays php7.1. After checking with php -i, I found that many extensions cannot be opened.
- PHP7 2877 2023-02-17 12:58:01
-
- PHP7 windows adds custom extensions and compiles PHP source code
- Determine the version that needs to be compiled, check PHPINFO, and determine the PHP version, VC version and PHP bit number. Download the corresponding Visual Studio or compiler according to the PHP VC version. The blogger's version in the picture below is VC15 and you need to download the Visual Studio 2017 version.
- PHP7 3605 2023-02-17 12:56:01
-
- php7 cannot connect to mysql
- The reason why php7 cannot connect to mysql is: php7 abandoned the mysql_connect() function. Solution: 1. Add the php.ini file; 2. Remove the comment of the option extension; 3. Use PDO or mysqli to connect.
- PHP7 6143 2023-02-17 12:54:01