wiki/content/20201116130738-reverse.md

19 lines
350 B
Markdown
Raw Normal View History

2024-05-06 20:40:05 +00:00
---
id: 7111d9dd-fafe-4197-a73e-9f8fbca7f9c8
title: reverse()
---
# Description
Flips the order of the string contents.
# Syntax
``` php
use function Symfony\Component\String\u;
u('aeiou')->containsAny('a'); // true
u('aeiou')->containsAny(['ab', 'efg']); // false
u('aeiou')->containsAny(['eio', 'foo', 'z']); // true
```