The drop is always movingYou know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgetsAll content management systems suck, Drupal just happens to suck less.Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]Drupal makes sandwiches happen.There is a module for that

Be careful with stream wrappers

Submitted by nk on Sun, 2011-06-12 07:19

If you are writing a stream wrapper for Drupal 7 be mindful of two things:

  1. If your code throws a notice then up to and including 5.3.5 extremely weird bugs exist that completely break your script.
  2. When reading the whole file (for example: file_get_contents), as long as stream_read returns non-empty strings, the return value of stream_eof is ignored.

.

Commenting on this Story is closed.

Submitted by Anonymous on Wed, 2011-07-27 15:24.

I don't really know about this stream wrappers thing. Maybe you can post more details about this one so that we reader would understand you article very well.
striae