Help for this page

Select Code to Download


  1. or download this
    @ar2 = @ar1[@sl];
    
  2. or download this
    $ar2[0] = $ar1[ $s1[0] ];
    $ar2[1] = $ar1[ $s1[1] ];
    
  3. or download this
    $ar2[0] = $ar1[ 'b' ];
    $ar2[1] = $ar1[ 'd' ];
    
  4. or download this
        Argument "b" isn't numeric in array slice at /tmp/r line 10.
        Argument "d" isn't numeric in array slice at /tmp/r line 10.