How to repeat an array in PHP?

Posted by wamp on Stack Overflow See other posts from Stack Overflow or by wamp
Published on 2010-06-03T06:40:17Z Indexed on 2010/06/03 6:44 UTC
Read the original article Hit count: 143

Filed under:
|
$arr = array('1st', '1st');

The above $arr has 2 items , I want to repeat $arr so that it's populated with 4 items

Is there a single call in PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about arrays