I dont think that what you want is possible. PHP is a multi-platform scripting language. What you want is probably ment for an Unix/Linux or FreeBSD/OpenBSD system because they work with process-id's.
Though Windows OS'en don't have these functionality. PHP must be able to act on multiple platforms the same way, Besides that i dont it would be safe that a scripting language could have those functionality.