Yngvarr

Generation

generate functionThu, 09 Feb 2023

shuffle string

function shuffle($str) { $arr = explode(' ', $str); shuffle($arr); return implode(' ', $arr); }

Questions about programming?Chat with your personal AI assistant