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


Groups > it.comp.www.php > #21026

Re: gestione degli array lacunosa

From alex <1j9448a02@lnx159sneakemail.com.invalid>
Newsgroups it.comp.www.php
Subject Re: gestione degli array lacunosa
Date 2016-07-05 11:57 +0200
Organization Aioe.org NNTP Server
Message-ID <nlg0an$1lq8$1@gioia.aioe.org> (permalink)
References (8 earlier) <nle4g3$12v7$1@gioia.aioe.org> <d1a9a77b-49d8-4eb4-92bc-8eadb241cbb2@googlegroups.com> <nleugi$de0$1@gioia.aioe.org> <74bf132b-d5a4-4177-8e33-c6b672108f9c@googlegroups.com> <nlfu4c$1iab$1@gioia.aioe.org>

Show all headers | View raw


Il 05/07/2016 11:20, alex ha scritto:
> Il 05/07/2016 05:08, fmassei@gmail.com ha scritto:
>> On Monday, July 4, 2016 at 8:20:39 PM UTC-4, alex wrote:
>>> <snip>
>>> Capito il concetto?
>>
>> Che ti devo di', se vuoi averci ragione te la do. Semmai ne
>> riparleremo quando
>> scriverai del codice.
>>
>> Ciao!
>>
>
> quello che ho scritto cos'è?

cmq per ora ho risolto così

class Strings implements \ArrayAccess
{

     private $_wrapped;

     function offsetSet($k, $v)
     {
         if (!is_string($v)) {
             throw new \Exception(
                 "stringa non valida: $k"
             );
         }

         $this->_wrapped[$k] = $v;
     }

     /...

}

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-04 10:18 +0200
  Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-04 17:26 +0200
    Re: gestione degli array lacunosa fmassei@gmail.com - 2016-07-04 08:47 -0700
      Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-04 18:56 +0200
        Re: gestione degli array lacunosa fmassei@gmail.com - 2016-07-04 10:52 -0700
          Re: gestione degli array lacunosa fmassei@gmail.com - 2016-07-04 20:08 -0700
            Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-05 11:20 +0200
              Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-05 11:57 +0200
          Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-05 02:20 +0200
  Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-04 12:15 +0200
    Re: gestione degli array lacunosa fmassei@gmail.com - 2016-07-04 05:22 -0700
      Re: gestione degli array lacunosa alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-07-04 16:26 +0200
        Re: gestione degli array lacunosa fmassei@gmail.com - 2016-07-04 07:50 -0700
  Re: gestione degli array lacunosa Alessandro Pellizzari <shuriken@amiran.it> - 2016-07-04 10:34 +0100

csiph-web