On Sat, Sep 29, 2012 at 12:48 PM, Wade Shearer <[email protected]> wrote: > I have a foreach in which I use pcntl_fork to fork off an independent > process. This is so that thinks can be executed non-linearly. I want to > define a constant immediately after the fork. My script fails however stating > it cannot define the constant because it is already defined (the second loop > in the foreach I assume). Is there a way for the fork to maintain a unique > global namespace?
I don't know if you sorted this yet or not, but dealing with that stuff drives me crazy. I'd suggest checking out Spork :) https://github.com/kriswallsmith/spork --j _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
