rev
英[rev] 美[rɛv]
n.<口>The rotation of the engine
vt.& vi .<口> (to cause) to accelerate; (to cause an increase in quantity, activity, etc.); (to make an engine) rotate rapidly; (to make) active
Third person singular: revs Plural: revs Present participle: revving past Formula: revved Past participle: revved
php strrev() function syntax
How to use strrev()?
php The strrev() function is used to reverse a string. The syntax is strrev(string) and returns the reversed string.
Function: Reverse string
Syntax: strrev(string)
Parameters:
Parameters | Description |
string | Required, specify the characters to be reversed string. |
Description: Returns the reversed string.
php strrev() function example
<?php $i = "hello world"; $j = strrev($i); echo $j; ?>
Run instance»
Click the "Run instance" button to view the online instance
Output:
dlrow olleh
<?php $i = "I'm study php in php.cn"; $j = strrev($i); echo $j; ?>
Run Instance»
Click the "Run Instance" button to view the online instance
Output:
nc.php ni php yduts m'I