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 []; }

Want to kickstart your project?Use the new AI Studio to create your code