Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ to make your code more concise::

// the s() function creates a byte string or Unicode string
// depending on the given contents
use function Symfony\Component\String\u;
use function Symfony\Component\String\s;

// creates a ByteString object
$foo = s('\xfe\xff');
Expand Down