so i want get the part that is after the key , for example: $this->config->set($args[0], array($args[1], $args[2], $args[3], $args[4])); and i want get from that line only $args[2] , how do i do that ?
oh god , for example you do an command and it well add the $args to the config.yml and you want get only on of the things in the line not all of them
Don't set YAML value with "" as key. The issue is he doesn't know PHP. Answer: PHP: $config->get($args[0])[1];
I am only stating the fact. Go report me. I bet @Falk had already read through all my saying of that, and since he didn't warn me, I believe that stating that fact is sensible because you just don't understand arrays, which is pretty basic for an "Active Member" like you to know. What I mean is, an "Active Member" like you who is messing with packets should be able to translate "Get $args[0] and get the second element" directly into PHP code $config->get($args[0])[1].
Yes, and I held myself 1000 times from telling him that the word is "told" not "tolled" and from telling him to fix his grammar and vocabulary mistakes and typos.
a lot of people in the forum ask questions like that and they get straight answer without " go learn php " , is he racist to me because i am syrian ? or what ?
Lol, no.. He's not being racist. You weren't asking the usual questions like how to set a config.. You were asking how to read an array.