Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Menu
Reversing Strings : strrev « String « PHP
PHP
String
strrev
Reversing Strings
<?php $astring =
"Hello World"
; echo strrev ($astring); ?>
Related examples in the same category
1.
Reversing Strings: string strrev ( string string )
2.
Reversing a string by byte
3.
Truncating Text on Word Boundaries