Skip to content

Commit

Permalink
correct grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Mar 18, 2002
1 parent 67d75b1 commit dc8593c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.STREAMS
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,12 @@ Writing your own stream implementation
======================================

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
RULE #1: when writing your own streams: make sure you have configured PHP
with --enable-debug. I've some great pains to hook into the zend memory
manager to help track down allocation problems. It will also help you
spot incorrect use of the STREAMS_DC, STREAMS_CC and the semi-private
STREAMS_REL_CC macros for function definitions.
RULE #1: when writing your own streams: make sure you have configured PHP with
--enable-debug.
I've taken some great pains to hook into the zend memory manager to help track
down allocation problems. It will also help you spot incorrect use of the
STREAMS_DC, STREAMS_CC and the semi-private STREAMS_REL_CC macros for function
definitions.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

RULE #2: Please use the stdio stream as a reference; it will help you
Expand Down

0 comments on commit dc8593c

Please sign in to comment.