Category | 4 scalar types |
Code Examples | ";
// 2. integer:
$anInt = 8;
echo "anInt == " . $anInt . " "; // 3. float: $aFloat = 3.14159; echo "aFloat scalar == " . $aFloat . " "; // 4. string: $aString = "Hello World"; echo "aString scalar == " . $aString . " "; |
Test Code | |
Web Link | |
Remarks | |
Cancel |