Skip to the content
Documentation

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

No ratings yet

Historical. Comments that readers left on the eZ Publish documentation of this topic, kept for reference. They describe earlier versions and are not maintained; the current page for Exponential 6 is Variable usage.

In this section

Contributors

Comments (2 historical)

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

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

    Adrien ·

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

    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.