本文记录了php.ini 的参数的解释,所我一点点更新的,如果谁发现了错我,联系偶吧
short_open_tag :
参数类型:boolean
解释:
Tells whether the short form (<? ?> ) of PHP's open tag should be allowed. If you want to use PHP in combination with XML, you can disable this option in order to use <?xml ?> inline. Otherwise, you can print it with PHP, for example:<?php echo '<?xml version="1.0"'; ?> . Also if disabled, you must use the long form of the PHP open tag (<?php ?> ).
告诉我们短类型的(<? ?>)是否可以使用,如果你想要使用php结合XML。为了能够使用<?xml ?>你应该禁止此项。此外,你可以和php一起输出,例如:<?php echo '<?xml version="1.0"'; ?> 。如果你把short_open_tag 设置为disabled,你在编写php程序是必须使用长类型的标签 (<?php ?> )。
Note: This directive also affects the shorthand <?= , which is identical to <? echo . Use of this shortcut requires short_open_tag to be on.
注意:这个指令同样会影响简略标签<?=,这个标签和<?是相等的,如果想用<?=也同样需要将short_open_tag设为 on.