PHP Multi-thread Resources