Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18391

Re: value returned instead change the value of the variable

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: value returned instead change the value of the variable
Date 2020-10-17 10:16 +0200
Message-ID <huvnj7F7pb4U1@mid.individual.net> (permalink)
References <rmbvqm$lnh$1@gioia.aioe.org> <huu8d0Ft5ceU1@mid.individual.net> <rme6c1$g04$1@gioia.aioe.org>

Show all headers | View raw


On 17/10/2020 09.26, alex wrote:
> Il 16/10/20 20:51, J.O. Aho ha scritto:
>> If you prompt want an array, either you make it to one afterwards or 
>> store the values as single cell arrays in the main array
>>
>> Alt 1:
>>      array(array_shit($arr));
>>
>> Alt 2: $arr = [[1],[2]];
> 
> ????
> But what do I need?

I would say you don't need either, just fix your code to take care of 
the integer instead of thinking of having an array.

-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

value returned instead change the value of the variable alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-16 13:23 +0200
  Re: value returned instead change the value of the variable Jerry Stuckle <jstucklex@attglobal.net> - 2020-10-16 11:11 -0400
    Re: value returned instead change the value of the variable alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-16 18:36 +0200
  Re: value returned instead change the value of the variable "J.O. Aho" <user@example.net> - 2020-10-16 20:51 +0200
    Re: value returned instead change the value of the variable alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-10-17 09:26 +0200
      Re: value returned instead change the value of the variable "J.O. Aho" <user@example.net> - 2020-10-17 10:16 +0200

csiph-web