Skip to the content
Documentation

Re: Re: How to modify an array element?? / Re: How to mod...

No ratings yet

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

I mean :
$myArray[$i]++
{set $myArray = $myArray|insert($i,inc($myArray[$i]))|remove(inc($i))}
  • Re: Re: Re: How to modify an array element??

    {$myArray = $myarray|inc()}

Anonymous User (19/11/2007 1:33 pm)

Anonymous User (19/11/2007 1:33 pm)


Contributors

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()}

Comments

Add a comment

Comments are read by a moderator before they appear.