In php you can store string in variable and directly print in echo and print function with echo used single quotes, double quotes the following simple example.
<?php
echo 'This is Simple String With Single quotes';
echo "This is Simple String with echo and double quotes";
?>
In this topic we have includes some string function for better understanding string manipulation in php the following string function and example.
<?php
echo strlen("veewom"); // outputs 6
?>
<?php
echo str_word_count("Veewom"); // outputs 1
?>
<?php
echo strrev("Hello world"); // outputs dlrow olleH
?>