Example code for talk on PHP sterams