"\x0B": a vertical tab
The character_list parameter lists characters to strip. character_list can be specified as a range by using the .. notation.
Let's take a look at the examples below:
print trim(' trim function is easy to use ');
trim function is easy to use
The two spaces before the word 'trim' and the two spaces after the word 'use' are stripped out.
print trim('trim function is easy to use', 't');
rim function is easy to use
The character 't' at the beginning of the string is stripped out.
print trim('trim function is easy to use', 'e,r..t');
im function is easy to u
In this case, 'e', 'r', 's', 't' are all stripped if they are located at either end of the string. Therefore, 't', and 'r' are trimmed from the left, 's', and 'e' are trimmed from the right.
Next: PHP Syntax