- integer, termasuk jenis data bilangan bulat
- double, termasuk jenis data bilangan pecahan/desimal
- string, termasuk jenis data teks/untaian karakter
Contoh :
<?php
$a=10; //variable $a memiliki tipe data integer
echo $a;
$b=22.33; //variable $b memiliki tipe data double
echo $b;
$c=”Skrip PHP”; //variable $c memiliki tipe data string
echo $c;
?>
0 Celotehan: