[ create a new paste ] login | about

Link: http://codepad.org/FX8leBFm    [ raw code | output | fork ]

PHP, pasted on Aug 17:
1
2
3
4
5
6
7
    <?php
    
        $array = array('Hello', 'World', 'text');
        $new_array = array_slice($array,0,-1);
        echo implode(' ',$new_array);
    
    ?>


Output:
1
    Hello World


Create a new paste based on this one


Comments: