Match

No match: bool(false) Single capture: string(3) "123" Associative capture: Array ( [class] => abc [id] => 123 ) Array capture: Array ( [0] => abc [1] => 123 ) Multiline capture: Array ( [class] => abc [id] => 123 [name] => Name )

Match All

Single captures: Array ( [0] => Vjeux [1] => Curse [2] => Google ) Array captures: Array ( [0] => Array ( [0] => http://blog.vjeux.com/ [1] => Vjeux ) [1] => Array ( [0] => http://www.curse.com/ [1] => Curse ) [2] => Array ( [0] => http://www.google.com/ [1] => Google ) ) Associative captures: Array ( [0] => Array ( [link] => http://blog.vjeux.com/ [name] => Vjeux ) [1] => Array ( [link] => http://www.curse.com/ [name] => Curse ) [2] => Array ( [link] => http://www.google.com/ [name] => Google ) )