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

Like this? Share it with your network

Share

PHP Streams: Lucky Dip

  • 11,947 views
Uploaded on

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • 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
No Downloads

Views

Total Views
11,947
On Slideshare
10,925
From Embeds
1,022
Number of Embeds
17

Actions

Shares
Downloads
125
Comments
1
Likes
8

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

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PHP Streams a Lucky Dip Wez Furlong
  • 2. 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
  • 3. Lucky Dip!? • Streams is a big topic area • Every uses them • A lot of people misuse them • tid-bits from basic to advanced level
  • 4. What is a stream? • View of some kind of data • Presented in chunks • Readable • Writable • Sometimes seekable
  • 5. File based streams • Most common (include/require) • Represent data held in a filesystem