Quick actions

cmd+k|ctrl+k

Navigation

Languages

test_preg_match_all

Snippet info

Language

Php

Visibility

public

Author

fenghestudio

Created

2019-09-17T02:12:24Z

Updated

2019-09-17T02:12:24Z

<?php

preg_match_all('/(foo)(bar)(baz)/', 'foobarbaz', $matches, PREG_OFFSET_CAPTURE);

print_r($matches);

?>
INFO