Monthly Archives: July 2013

Posted by on .

Php String Handling

php string handlingPhp String is a sequence of character with a sensible meaning. In any programming language string manipulation and string handling has a wide role. In case of php all the output comes after php execution are in the form of string hence string handling in php is a most important concept  in php programming.

Php string can be used in following  types.

  • Echo
  • Print
  • Heredoc

To print a string at a php generated page echo is a most largely used construct, Because of echo is an language construct so that parentheses are also not required. Echo can be used  with single quotes and echo with double quotes. More