mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
19 lines
350 B
Markdown
19 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
|
||
|
```
|