I am running 5.2.14. Running php code using code <?does not work. I have to use<?php
<?
<?php
For instance:
Does not work:
<? phpinfo(); ?>
Does it work:
<?php phpinfo(); ?>
Where can I change this setting to <?work?
edit yout php.ini file and install short_open_tag = On
short_open_tag = On
you can view the php.ini path by executing the function phpinfo();...
phpinfo();
but you can just write your scripts starting with <?php
Mike;]
<? <?php. - , PHP, .
http://php.net/manual/en/ini.core.php:
PHP, (<? ?>) PHP . PHP XML, . PHP, : < ?php echo '<?xml version="1.0"?>'; ? > . , , PHP (<?php ?>).
<? ?>
?php echo '<?xml version="1.0"?>'; ?
<?php ?>
, mishunika , php.ini, , . php.ini ,
?
. . , . , PHP script, - , , , short_open_tag.
php.ini( ), PHP "ini_set". :
PHP ini_set
, ini_set. short_open_tag. .
Source: https://habr.com/ru/post/1777096/More articles:Delphi Checking the value of a variable in a type declaration - typesDynamic Security for ASP.NET MVC - designNested ajax in JSF and ui: repeat - javaHow do you generate a random number within a given limit using ActionScript? - flexЛифт Shtml.link - scalaGetting weird ClassNotDefFoundException at run time with GWT - javaСтранное поведение firefox/javascript с использованием диапазонов - javascriptReplacement for Turbo Pascal (3.0) - windows-7Best multithreaded use of the Python.Popen & communication () subprocess? - pythonError loading the main SSIS package: package verification using the "Run the package" task failed - ssisAll Articles