note 128904 added to language.basic-syntax.phptags
| From: | ParamitaMukherjee at main dot php dot net | Date: | Wed, 20 Sep 2023 17:05:01 +0000 |
| Subject: | note 128904 added to language.basic-syntax.phptags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220864@lists.php.net to get a copy of this message | ||
HOW TO TEST WHETHER <? echo ?> WORKS.
Write
<? echo "Hello World" ?>
on any IDE(Notepad++,Vishual Studio Code) and save it.
Then go to the php.ini file.
In xampp it is located in C:\xampp\php folder.
Open the file ->Go to Edit-> Go to Find-> Type short_open_tag.
Choose the option down in the radio button.
Press Find next button twice.
You 'll get the tag
short_open_tag=Off.
Replace the Off with On.
Save the file.
Close xampp.Then restart it again.
Open browser->Type localhost and the path of your file.
You will get Hello World as output.
In case you want to set short_open_tag to Off again, replace On with Off-> save the php.ini file
and restart xampp again.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 2401:4900:1c85:38fc:fdf8:de96:dc3a:deeb)
----
Manual Page -- https://php.net/manual/en/language.basic-syntax.phptags.php
Edit -- https://main.php.net/note/edit/128904
Del: integrated -- https://main.php.net/note/delete/128904/integrated
Del: useless -- https://main.php.net/note/delete/128904/useless
Del: bad code -- https://main.php.net/note/delete/128904/bad+code
Del: spam -- https://main.php.net/note/delete/128904/spam
Del: non-english -- https://main.php.net/note/delete/128904/non-english
Del: in docs -- https://main.php.net/note/delete/128904/in+docs
Del: other reasons-- https://main.php.net/note/delete/128904
Reject -- https://main.php.net/note/reject/128904
Search -- https://main.php.net/manage/user-notes.php