[UPHPU] unable to define constant after forking process

Wade Shearer wadeshearer.lists at me.com
Sat Sep 29 13:48:08 MDT 2012

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? 

More information about the UPHPU mailing list