No match: 
int(0)

Single capture: 
string(3) "123"

Associative capture: 
Array
(
    [class] => abc
    [id] => 123
)

Array capture: 
Array
(
    [0] => abc
    [1] => 123
)

Multiline capture: 
0