strrev() Function
strrev() 함수는 문자열을 반전시킵니다.
<!DOCTYPE html>
<html>
<body>
<?php
echo strrev("Hello World!");
?>
</body>
</html>
<html>
<body>
<?php
echo strrev("Hello World!");
?>
</body>
</html>
결과:
!dlroW olleH
'PHP > PHP함수' 카테고리의 다른 글
array_push, count, append (0) | 2017.11.24 |
---|---|
is_file, is_dir, file_get_contents, file_put_content, isFile, isDir, fread, fwrite (0) | 2017.11.24 |
is_resource() (0) | 2017.11.17 |
fopen, fclose (0) | 2017.11.17 |
file_exists (0) | 2017.11.17 |