Home php教程 php手册 php.ini 中的short

php.ini 中的short

Jun 06, 2016 pm 07:52 PM
open php.ini short

short_open_tag 决定是否允许使用 PHP 代码开始标志的缩写形式(? ? )。如果要和 XML 结合使用 PHP,可以禁用此选项以便于嵌入使用 ?xml ? 。否则还可以通过 PHP 来输出,例如:?php echo '?xml version=1.0'; ? 。如果禁用了,必须使用 PHP 代码开始标志的

short_open_tag

决定是否允许使用 PHP 代码开始标志的缩写形式( ?> )。如果要和 XML 结合使用 PHP,可以禁用此选项以便于嵌入使用 。否则还可以通过 PHP 来输出,例如: 。如果禁用了,必须使用 PHP 代码开始标志的完整形式( )。

注意: 本指令也会影响到缩写形式 = ,它和 echo 等价。使用此缩写需要 short_open_tag 的值为 On。


asp_tags

除了通常的 标志之外还允许使用 ASP 风格的标志 。这也包括了输出变量值的缩写 。
注意: ASP 风格标志的支持是 3.0.4 版新加的。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to turn off cache in php.ini How to turn off cache in php.ini Mar 15, 2021 am 09:35 AM

How to turn off the cache in php.ini: 1. Find and open the php.ini configuration file; 2. Find the "opcache.enable" and "opcache.enable_cli" options and modify them to "opcache.enable=0" and "opcache. enable_cli=0”; 3. Save the modified file.

Let's talk about how to modify the php.ini configuration file Let's talk about how to modify the php.ini configuration file Mar 28, 2023 pm 05:34 PM

PHP.ini is a PHP configuration file that is used to control the performance of PHP on the server. This file is used to set the values ​​of some variables to control PHP at runtime. This article will show you how to modify the PHP.ini configuration file to control how PHP behaves on your server.

What coin is OPEN? What coin is OPEN? Feb 21, 2024 pm 04:31 PM

What coin is OPEN? OPEN is an encrypted digital currency using blockchain technology, designed to provide support and services for open financial networks. The name OPEN not only represents its openness and transparency, but also attracts much attention in the blockchain industry. Features of OPEN OPEN uses blockchain technology to achieve decentralization, with no centralized institution or individual controlling its issuance and transactions. Anyone can freely participate in the trading and development of OPEN. OPEN's transaction records are publicly recorded on the blockchain. This transparency allows anyone to view and verify the authenticity of the transaction, thereby improving the security and credibility of the transaction. OPEN uses advanced blockchain technology to ensure rapid confirmation of transactions. In addition, OPEN’s transaction fees

[Compilation and Summary] Common PHP.ini prompt errors and solutions [Compilation and Summary] Common PHP.ini prompt errors and solutions Mar 20, 2023 pm 04:56 PM

PHP is a commonly used server-side scripting language that is widely used in the field of web development. However, during the PHP development process, we often encounter various problems. Among them, PHP.ini prompt error is a common problem.

How to change time zone in php.ini file How to change time zone in php.ini file Mar 22, 2023 pm 03:22 PM

PHP is a very popular server-side programming language. When developing web applications using PHP, we sometimes need to set the time zone in PHP. The default time zone of PHP is "UTC (Coordinated Universal Time)", which is not the time zone we want in many cases, so we need to change the time zone setting in the php.ini file. This article will explain how to change the time zone in the php.ini file.

How to solve the problem that linux php.ini does not take effect How to solve the problem that linux php.ini does not take effect May 13, 2023 am 09:10 AM

Solution to linuxphp.ini not taking effect: 1. Reload the php.ini configuration file; 2. Search for the configuration to be modified in the printed "phpinfo();"; 3. View the "php-fpm.conf" configuration file , check whether the configuration in php.ini is overwritten. What should I do if linuxphp.ini does not take effect? Troubleshooting the problem that modifying php.ini does not take effect in the Linux environment. The main reasons why php.ini does not take effect after modification are as follows: 1. After modifying the php.ini configuration file, the php.ini configuration file is not reloaded. 2. There are multiple php.ini configuration files. 3. The configuration in php.ini is included in other files.

How to solve the problem that there is no mysql.all in php7 php.ini How to solve the problem that there is no mysql.all in php7 php.ini May 28, 2023 am 11:59 AM

Migration issues in PHP7 PHP7 is the next major version of PHP. It has huge improvements in performance and security, so many websites hope to upgrade to PHP7 as soon as possible. However, upgrading to PHP7 is not always easy. Due to incompatibilities with previous versions, enterprises may need to make some modifications, usually in the application code and in the PHP configuration files. As mentioned above, the mysql extension in PHP7 has been removed, so if you were using the mysql extension in an older version of PHP, you will need to make some modifications when migrating to PHP7. You can choose to replace the mysql extension with the mysqli extension (mysqli is the "MySQLImproved" extension

How many bytes does short occupy? How many bytes does short occupy? Feb 01, 2023 am 11:37 AM

short occupies 2 bytes; short is a type of integer variable family defined in C language; there are three integer types in C language, namely short, int and long; int is called an integer type, and short is called a short Integer type, long is called long integer type.

See all articles