I don't think such a feature will ever see the light of this
    world (at least, not in the official PHP version).

    It's too specific and can be easily done in userspace.

On Fri, Dec 14, 2001 at 07:14:36PM -0000, [EMAIL PROTECTED] wrote : 
> From:             [EMAIL PROTECTED]
> Operating system: 
> PHP version:      4.1.0
> PHP Bug Type:     Feature/Change Request
> Bug description:  Additional parameter for str_repeat
> 
> Is is possible third parameter to be added to str_repeat().
> In case in the string there is a name of a variable and it is of type array
> the following code :
> foreach ($some_arr as $k =$v){
>   $output .= '<some_html>...'.$v.'....</some_html>';
> }
> to be in one line
> $output = str_repeat('<some_html>...$some_arr
> ...</some_html>',count($some_arr),REPEAT_SUBSITUTE);
> 
> Regards,
> Andrey Hristov
> -- 
> Edit bug report at: http://bugs.php.net/?id=14523&edit=1
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to