A string is series of characters, where a character is the same as a byte.
This means that PHP only supports a 256-character set, and hence it does not offer any native Unicode support.
php code Syntax :
A string can be of any text inside quotes, alphanumeric characters, which can be represented in single or double quotes.
learn php Sample Code : a simple php program
php for beginners Code Explanation :
In PHP, we created two variables. First variable is $x variable which specifies and holds “$x = www.wikitechy.com” string value, which will be displayed in the output by the echo statement echo $x;
In PHP, we created two variables. Second variable is $y variable which specifies and holds ‘$y =Welcome to wikitechy world..!!’ string value, which will be displayed in the output by the echo statement echo $y;
php tutorials Sample Output :
Using echo statement, the term “www.wikitechy.com” is shown in the browser window.
Using echo statement, the term “Welcome to wikitechy world..!!” is shown in the browser window.
World's No 1 Animated self learning Website with Informative tutorials explaining the code and the choices behind it all.