From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- files/ar/glossary/php/index.html | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 files/ar/glossary/php/index.html (limited to 'files/ar/glossary/php/index.html') diff --git a/files/ar/glossary/php/index.html b/files/ar/glossary/php/index.html new file mode 100644 index 0000000000..158a3223ae --- /dev/null +++ b/files/ar/glossary/php/index.html @@ -0,0 +1,49 @@ +--- +title: PHP +slug: Glossary/PHP +tags: + - PHP + - المعجم +translation_of: Glossary/PHP +--- +

تعد لغة PHP بدائية متكررة (PHP: Hypertext Preprocessor) لغة برمجة نصية من جانب الخادم مفتوحة المصدر (open-source server-side scripting language) يمكن تضمينها في HTML لإنشاء تطبيقات الويب والمواقع الديناميكية.

+ +

أمثلة

+ +

بناء الجملة الأساسية

+ +
  // start of PHP code
+<?php
+     // PHP code goes here
+ ?>
+// end of PHP code
+ +

طباعة البيانات على الشاشة

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

متغيرات PHP

+ +
​​​​​​​​​​​​​​<?php
+ // variables
+ $nome='Danilo';
+ $sobrenome='Santos';
+ $pais='Brasil';
+ $email='danilocarsan@gmailcom';
+​​​​​​​
+ // printing the variables
+ echo $nome;
+ echo $sobrenome;
+ echo $pais;
+ echo $email;
+?>
+ +

أعرف أكثر

+ + -- cgit v1.2.3-54-g00ecf