method

shellwords

v1_8_6_287 - Show latest stable - Class: Shellwords
shellwords(line)
public

Split text into an array of tokens in the same way the UNIX Bourne shell does.

See the Shellwords module documentation for an example.