Login
|
Signup
langref.org
-
php
add..
all
clojure
cpp
csharp
erlang
fantom
fsharp
go
groovy
haskell
java
ocaml
perl
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Strings
Manipulation
Reverse the characters in a string
Given the string
"reverse me"
, produce the string
"em esrever"
php
$reversed = strrev("reverse me");
<?php
$reversed = strrev("reverse me");
?>
Submit a new solution for
php
There are 25 other solutions in
additional
languages (
clojure
,
cpp
,
csharp
,
erlang
...)