Changes

Jump to: navigation, search

Understanding PHP Variable Types

213 bytes added, 19:50, 25 May 2007
The PHP String Variable
<td>\x0C<td>Hexadecimal ASCII Value</td>
</table>
 
As an example, we can declare a string variable which contains a tab and a new line character as follows:
 
<pre>
<?php
$myString = "This is a line of Text\nandthis is another line with a tab here \t for us.";
?>
== Converting Between PHP Strings, Numbers and Floats ==

Navigation menu