mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 22:46:22 +00:00
18 lines
350 B
Markdown
18 lines
350 B
Markdown
---
|
|
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
|
|
```
|