array dissect(int $mode, string $string[, string $charsep][, int $flags])

$mode - tells the function what to do with $string

1 - get name value pairs in the form name=value, where each pair is separated by an ampersand; the name becomes the key to the value in the array

2 - create an array of strings from a string of space-separated tokens (New v14.00)

3 - create an array of strings from a string of comma-separated tokens (New v14.00)

4 - get name value pairs in the form name=value, where each pair is separated by a comma; the name becomes the key to the value in the array

5 - get name value pairs in the form name=value, where each pair is separated by a semicolon; the name becomes the key to the value in the array (New v15.00)

6 - get one name value pair in the form name=value; the name becomes the key to the value in the array (New v16.0306)

7 - create an array of strings from a string of $charsep separated tokens (requires $charsep) (New v17.00)

This function is supported by CSE HTML Validator v12.0030 and later.

To check the returned array see also: checkArray() and checkArrayKeys()