Skip to the content
Documentation

Re: Re: How to modify an array element??

No ratings yet

I mean :
$myArray[$i]++
{set $myArray = $myArray|insert($i,inc($myArray[$i]))|remove(inc($i))}

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Re: Re: How to modify an array element??

    Allan ·

    {$myArray = $myarray|inc()}