Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use strrev() function in Php?

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 111
    Comment on it

    What is the strrev() function?

    strrev() function is uses for reversing a string. strrev() function is also used for reversing a number.

    In the given below example you can easily understand the use of strrev() function

    <?php
    //here call the strrev() function
    echo strrev("How are you");
    
    ?>  
    

    so when you will print "How are you".

    output will come:

    uoy era woH (revrese off all string)

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: