What are Data types in PHP : PHP String
PHP Data Types
There are 9 types of PHP datatypes available those can store the data into it.
- Integer
- Float
- String
- Boolean
- Resource
- Array
- Object
- NULL
Notes: Float data type can be used as "double" data type..
PHP String......
<!DOCTYPE html>
<html>
<body>
<?php
$i = "All New";
$j = 'PHP 7 is Here';
echo $i;
echo "<br>";
echo $j;
?>
</body>
</html>
<html>
<body>
<?php
$i = "All New";
$j = 'PHP 7 is Here';
echo $i;
echo "<br>";
echo $j;
?>
</body>
</html>
Output :
All New
PHP 7 is Here
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a comment