From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- files/zh-tw/glossary/php/index.html | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/zh-tw/glossary/php/index.html (limited to 'files/zh-tw/glossary/php') diff --git a/files/zh-tw/glossary/php/index.html b/files/zh-tw/glossary/php/index.html new file mode 100644 index 0000000000..1b27ff0c82 --- /dev/null +++ b/files/zh-tw/glossary/php/index.html @@ -0,0 +1,55 @@ +--- +title: PHP +slug: Glossary/PHP +translation_of: Glossary/PHP +--- +

PHP(PHP: Hypertext Preprocessor 的遞歸縮寫,意為「PHP:超文字預處理器」)是一個開源的伺服器端腳本語言,可用於建制網頁應用和動態網站。

+ +

範例

+ +

基本語法

+ +
  // PHP 程式開始
+<?php
+     // PHP 程式在此執行
+ ?>
+// PHP 程式結束
+ +

在螢幕上印東西

+ +
<?php
+   echo "Hello World!";
+?>
+ +

PHP 變數

+ +
​​​​​​​​​​​​​​<?php
+ // 變數
+ $nome='Danilo';
+ $sobrenome='Santos';
+ $pais='Brasil';
+ $email='danilocarsan@gmailcom';
+​​​​​​​
+ // 印出變數
+ echo $nome;
+ echo $sobrenome;
+ echo $pais;
+ echo $email;
+?>
+ + -- cgit v1.2.3-54-g00ecf