diff --git a/chapters/config.xml b/chapters/config.xml index c25db85031..54348e18c8 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -743,7 +743,7 @@ include_path=".;c:\www\phplib" - + short_open_tag @@ -753,9 +753,20 @@ include_path=".;c:\www\phplib" Tells whether the short form (<? ?>) of PHP's open tag should be allowed. If you want to use PHP in - combination with XML, you have to disable this option. If - disabled, you must use the long form of the open tag - (<?php ?>). + 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 ?>). + + + + This directive also affects the shorthand <?=, + which is identical to <? echo. Use of this + shortcut requires short_open_tag + to be on. + +