From a047c8796321c847974e7ac52a054c7c53e6dcdf Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 26 Apr 2003 08:46:18 +0000 Subject: [PATCH] "operation" git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@124691 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/stream/functions/stream-filter-append.xml | 4 ++-- reference/stream/functions/stream-filter-prepend.xml | 4 ++-- reference/stream/functions/stream-register-filter.xml | 4 ++-- reference/stream/functions/stream-select.xml | 6 +++--- reference/stream/reference.xml | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/reference/stream/functions/stream-filter-append.xml b/reference/stream/functions/stream-filter-append.xml index 32bd2302b7..0f3a322795 100644 --- a/reference/stream/functions/stream-filter-append.xml +++ b/reference/stream/functions/stream-filter-append.xml @@ -1,5 +1,5 @@ - + stream_filter_append @@ -19,7 +19,7 @@ attached to stream. This filter will be added with the specified params to the end of the list and - will therefore be called last during stream opperations. To + will therefore be called last during stream operations. To add a filter to the beginning of the list, use stream_filter_prepend. diff --git a/reference/stream/functions/stream-filter-prepend.xml b/reference/stream/functions/stream-filter-prepend.xml index 9515b2b185..705a4e9ea7 100644 --- a/reference/stream/functions/stream-filter-prepend.xml +++ b/reference/stream/functions/stream-filter-prepend.xml @@ -1,5 +1,5 @@ - + stream_filter_prepend @@ -19,7 +19,7 @@ attached to stream. This filter will be added with the specified params to the beginning of the list and - will therefore be called first during stream opperations. To + will therefore be called first during stream operations. To add a filter to the end of the list, use stream_filter_append. diff --git a/reference/stream/functions/stream-register-filter.xml b/reference/stream/functions/stream-register-filter.xml index e14d6fe13a..b1ad53dec0 100644 --- a/reference/stream/functions/stream-register-filter.xml +++ b/reference/stream/functions/stream-register-filter.xml @@ -1,5 +1,5 @@ - + stream_register_filter @@ -21,7 +21,7 @@ To implement a filter, you need to define a class as an extension of php_user_fitler with a number of member functions - as defined below. When performing read/write opperations on the stream + as defined below. When performing read/write operations on the stream to which your filter is attached, PHP will pass the data through your filter (and any other filters attached to that stream) so that the data may be modified as desired. You must implement the methods diff --git a/reference/stream/functions/stream-select.xml b/reference/stream/functions/stream-select.xml index f41cf920bb..c5e52fde72 100644 --- a/reference/stream/functions/stream-select.xml +++ b/reference/stream/functions/stream-select.xml @@ -1,5 +1,5 @@ - + stream_select @@ -18,7 +18,7 @@ The stream_select function accepts arrays of streams and - waits for them to change status. Its opperation is equivalent to that of + waits for them to change status. Its operation is equivalent to that of the socket_select function except in that it acts on streams. @@ -66,7 +66,7 @@ else if ($num_changed_streams > 0) { - Due a limitation in the current Zend Engine it is not possible to pass a + Due to a limitation in the current Zend Engine it is not possible to pass a constant modifier like &null; directly as a parameter to a function which expects this parameter to be passed by reference. Instead use a temporary variable or an expression with the leftmost member being a diff --git a/reference/stream/reference.xml b/reference/stream/reference.xml index 592174b4cf..96b42142f8 100644 --- a/reference/stream/reference.xml +++ b/reference/stream/reference.xml @@ -1,5 +1,5 @@ - + Stream functions Streams @@ -11,7 +11,7 @@ Streams were introduced with PHP 4.3.0 as a way of generalizing file, network, data compression, and other - opperations which share a common set of functions and uses. In + operations which share a common set of functions and uses. In its simplest definition, a stream is a resource object which exhibits streamable behavior. That is, it can be read from or written to in a linear @@ -61,7 +61,7 @@ Stream Filters A filter is a final piece of code which may perform - opperations on data as it is being read from or written to a stream. + operations on data as it is being read from or written to a stream. Any number of filters may be stacked onto a stream. Custom filters can be defined in a PHP script using stream_register_filter or in an extension using the @@ -147,7 +147,7 @@
Stream Errors - As with any file or socket related function, an opperation on a stream + As with any file or socket related function, an operation on a stream may fail for a variety of normal reasons (i.e.: Unable to connect to remote host, file not found, etc...). A stream related call may also fail because the desired stream is not registered on the running system. See the array returned