multiply as string php code example Example: multiply a string php str_repeat ( string $input , int $multiplier )