An overview of PHP's file handling, for a talk at the PHPNE (UK) February 2014 meetup.
The slides here will be updated and corrected from time-to-time. Please raise tickets if you have anything to add.
The slideshow can be viewed at http://www.acadweb.co.uk/phpnetalk/