<?php $matches = []; preg_match('/^(foo)(bar)(baz)?$/', 'foobar', list(&$foo, &$bar, &$baz) = $matches); print_r(get_defined_vars());
You have javascript disabled. You will not be able to edit any code.