diff options
| author | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:51:56 +0100 |
|---|---|---|
| committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:51:56 +0100 |
| commit | 904a5994c87295d84d25f869d5555f35fbce5070 (patch) | |
| tree | a8535dfa32d2180186965a0bb66931b4830c5d73 /files/vi/glossary/php | |
| parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
| download | translated-content-904a5994c87295d84d25f869d5555f35fbce5070.tar.gz translated-content-904a5994c87295d84d25f869d5555f35fbce5070.tar.bz2 translated-content-904a5994c87295d84d25f869d5555f35fbce5070.zip | |
unslug vi: move
Diffstat (limited to 'files/vi/glossary/php')
| -rw-r--r-- | files/vi/glossary/php/index.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/files/vi/glossary/php/index.html b/files/vi/glossary/php/index.html new file mode 100644 index 0000000000..f75d0f07e7 --- /dev/null +++ b/files/vi/glossary/php/index.html @@ -0,0 +1,54 @@ +--- +title: PHP +slug: Tu-dien-thuat-ngu/PHP +translation_of: Glossary/PHP +--- +<p>PHP (a recursive initialism for PHP: Hypertext Preprocessor) is an open-source server-side scripting language that can be embedded into HTML to build web applications and dynamic websites.</p> + +<h2 id="Examples">Examples</h2> + +<h3 id="Basic_syntax">Basic syntax</h3> + +<pre class="brush: php notranslate"> // start of PHP code +<?php + // PHP code goes here + ?> +// end of PHP code</pre> + +<h3 id="Printing_data_on_screen">Printing data on screen</h3> + +<pre class="brush: php notranslate"><?php + echo "Hello World!"; +?></pre> + +<h3 id="PHP_variables">PHP variables</h3> + +<pre class="brush: php notranslate"><?php + // variables + $nome='Danilo'; + $sobrenome='Santos'; + $pais='Brasil'; + $email='danilocarsan@gmailcom'; + + // printing the variables + echo $nome; + echo $sobrenome; + echo $pais; + echo $email; +?></pre> + +<section class="Quick_links" id="Quick_Links"> +<ol> + <li><a href="http://php.net/">Official website</a></li> + <li>{{Interwiki("wikipedia", "PHP")}} on Wikipedia</li> + <li><a href="https://en.wikibooks.org/wiki/PHP_Programming">PHP</a> on Wikibooks</li> + <li><a href="/en-US/docs/Glossary">MDN Web Docs Glossary</a> + <ol> + <li>{{Glossary("Java")}}</li> + <li>{{Glossary("JavaScript")}}</li> + <li>{{Glossary("Python")}}</li> + <li>{{Glossary("Ruby")}}</li> + </ol> + </li> +</ol> +</section> |
