PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
May 20, 2015 15:52
:)
May 20, 2015 15:52
ty buddy @Machavity
May 20, 2015 15:52
@Machavity you know what, this is for sure something I need to check XD
May 20, 2015 15:47
I'm passing in a relative path to a symlink
May 20, 2015 15:47
@Machavity linux :)
May 20, 2015 15:47
@nikita2206 cause it doesn't seem to work :P
May 20, 2015 15:42
quick question (caused by my laziness): does scandir() works on symlinks?
May 20, 2015 15:41
hi guys
Apr 22, 2015 11:39
hi guys does anyone have some experience with this github.com/DevinVinson/WordPress-Plugin-Boilerplate?
Apr 18, 2015 07:00
@JoeWatkins morning :)
Apr 18, 2015 06:56
...special prize to the one who can understand what I'm asking...
Apr 18, 2015 06:55
guys, is it possible to pass an additional value to the callback of array_filter if the callback itself is a method of the object in which I call the array_filter...
Apr 16, 2015 10:10
@Ja͢ck nice, now I'm satisfied ;P
Apr 16, 2015 10:08
@Ja͢ck o c'mon I mean if it was possible :P
Apr 16, 2015 10:05
I forget to mention in the question Urahara san (@Ja͢ck) so: "Don't u like something like that?"
Apr 16, 2015 10:02
but now I'm curious. Don't u like something like that?
Apr 16, 2015 10:01
u read in my mind ;P
Apr 16, 2015 10:00
@Ja͢ck but ty anyway :)
Apr 16, 2015 09:59
this is so sad :(
Apr 16, 2015 09:59
I feared this answer...
Apr 16, 2015 09:50
hi guys is there a short way to tell array_reduce to use the && to do its reduction?
Apr 4, 2015 12:25
ty, I know I just made the same mistake 2 time in a row XD
Apr 4, 2015 12:22
@marcio ty a lot ;)
Apr 4, 2015 12:17
@marcio concerning the solution u suggested me earlier this morning, the check about the existence of the beforeGetContent() method could be avoided by simply declaring an empty method with the same name inside the trait. Am I right?
Apr 4, 2015 09:41
@marcio anyway...ty for the support ;)
Apr 4, 2015 09:41
this is an approach I didn't take into account, let me try it :)
Apr 4, 2015 09:39
so u're suggestion is to implement an hook in the trait right?
Apr 4, 2015 09:38
uhm
Apr 4, 2015 09:38
u're right I was just wondering :)
Apr 4, 2015 09:37
@marcio as I taught
Apr 4, 2015 09:28
question: is it normal to be unable to override a method defined in trait by calling parent::methodDefinedInTrait()?
Apr 4, 2015 09:25
hi guys :)
Feb 24, 2015 14:38
hi guys :)
Jan 9, 2015 08:01
@JoeWatkins fine, ty very much I'll check it ;)
Jan 9, 2015 07:58
so, no runtime information :(
Jan 9, 2015 07:58
oh the algorithm rely on a static analysis
Jan 9, 2015 07:57
I need to use the list in the context of a type inference algorithm
Jan 9, 2015 07:54
ok maybe it's to early in the morning :P
Jan 9, 2015 07:50
quick question: is there somewhere a list of the core PHP functions together with their respective return types?
Jan 9, 2015 07:50
hi guys :)
Oct 17, 2014 10:50
btw ty a lot for the help @DaveRandom @HamZa :D
Oct 17, 2014 10:50
got it @DaveRandom ;)
Oct 17, 2014 10:48
and now I remember using it somewhere before
Oct 17, 2014 10:47
btw what @DaveRandom suggested seems to be close to what I was searching for
Oct 17, 2014 10:47
@HamZa k my bad I didn't understand it :)
Oct 17, 2014 10:45
@HamZa but with this $something = [$something]; I get an array wrapped into another if I have an array in the first place
Oct 17, 2014 10:43
so...the only way is to check...
Oct 17, 2014 10:43
in my case "something" is a string
Oct 17, 2014 10:41
quick question: elegant way to wrap something into an array if it is not yet an array