Input/Output Learning Mode

What function can you use to create your own streams using the PHP stream wrappers and register them within PHP?