#5 konstanta

Konstanta merupakan variabel konstan yang nilainya tidak berubah-ubah. Untuk 
mendefinisikan konstanta dalam PHP, menggunakan fungsi define()  .

<?php
define("NAMA", "RIKY SETIOMULYO");
define("USIA",18);
echo "NAMA :" .NAMA;
echo"<br>";
echo"USIA: ".USIA;

?>

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.