PHP Streams: Lucky Dip
Upcoming SlideShare
Loading in...5
×
 

PHP Streams: Lucky Dip

on

  • 11,815 views

A number of tid-bits of streams information of varying levels of difficulty

A number of tid-bits of streams information of varying levels of difficulty

Statistics

Views

Total Views
11,815
Views on SlideShare
10,793
Embed Views
1,022

Actions

Likes
8
Downloads
125
Comments
1

17 Embeds 1,022

http://netevil.org 713
http://www.planet-php.net 106
http://wezfurlong.org 85
http://www.blogdopedro.net 53
http://www.planet-php.org 25
http://planet-php.org 10
http://www.netevil.org 10
http://www.slideshare.net 4
http://www.linkedin.com 4
http://www.phpeye.com 3
http://lj-toys.com 2
http://static.slideshare.net 2
http://www.golem.de 1
http://74.125.95.104 1
http://209.85.175.104 1
http://phpeye.com 1
http://planet-php.net 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • in response to guest3a83ae, the stream_eof() method is something you must implement for user wrappers otherwise the feof() function won't operate correctly on streams created from that wrapper. My personal feeling is that the world doesn't need feof(), but I have to live with the fact that the world uses feof() anyway, so this method is therefore necessary to make things work for them.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

PHP Streams: Lucky Dip PHP Streams: Lucky Dip Presentation Transcript

  • PHP Streams a Lucky Dip Wez Furlong
  • About the author • PHP Core Developer since 2001 • Author of the Streams layer • I hold the title “King” of PECL • Author of most of PDO and its drivers • Day-job is developing the fastest MTA on Earth
  • Lucky Dip!? • Streams is a big topic area • Every uses them • A lot of people misuse them • tid-bits from basic to advanced level View slide
  • What is a stream? • View of some kind of data • Presented in chunks • Readable • Writable • Sometimes seekable View slide
  • File based streams • Most common (include/require) • Represent data held in a filesystem