Created
December 7, 2016 02:41
-
-
Save ilhamarrouf/01ce76566508df30d49835893ea8893a to your computer and use it in GitHub Desktop.
Variable PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //Contoh penulisan variabel yang benar | |
| $nama = "panji"; | |
| $nilai1 = 80; | |
| $_200ok = "TRUE"; | |
| $ANGKA = "8"; | |
| //Contoh penulisan variabel yang salah | |
| $2you = "for me"; | |
| $data dua = "Tidak Ada"; | |
| $kelas*!@ = "6 SD"; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment