Yngvarr

Generation

generate functionMon, 02 Jan 2023

preg match (< / p >)

function preg_match($pattern, $subject, $matches) { if (preg_match($pattern, $subject, $matches)) { return $matches; } return []; }

Questions about programming?Chat with your personal AI assistant