APAKAH PHP ITU?


PHP merupakan singkatan recursive dari PHP : Hypertext Prepocessor. PHP sendiri Pertama kali dibuat oleh Rasmus Lerdorf pada tahun 1994.

Image result for php logo

Bahasa pemograman PHP  Harus ditulis di antara tag :

  1.  <? dan ?>
  2.  <?php dan ?>
  3.  <script language=”php”> dan </script>
  4.  <% dan %>

 

Setiap satu statement (perintah) biasanya diakhiri dengan titik-koma (;). PHP bersifat  CASE SENSITIVE untuk nama identifier yang dibuat oleh user (berupavariable, konstanta, fungsi dll), namun TIDAK CASE SENSITIVE untuk identifier built-in dari PHP.

 

Contohnya seperti ini :

$nama ≠ $Nama ≠ $NAMA

hitungLuas() ≠ HitungLuas()

echo = ECHO

while = WHILE

By Irvan Galuh,

Comments are closed for this post.