hisoka Posted July 8, 2015 Share Posted July 8, 2015 (edited) the time of opening. This is useful with all-in-one file functions such as readfile(), file(), andfile_get_contents() where there is otherwise no opportunity to apply a filter to the stream priorthe contents being read. I would like to have a clear explanation thanks Edited July 8, 2015 by hisoka Link to comment Share on other sites More sharing options...
justsomeguy Posted July 8, 2015 Share Posted July 8, 2015 Instead of pasting a quote starting in the middle of a sentence, please link to a page or something where you saw that. I can't answer out-of-context questions, in that quote I don't know what "this" is referring to. Link to comment Share on other sites More sharing options...
hisoka Posted July 24, 2015 Author Share Posted July 24, 2015 (edited) sorry sorry I made an error when putting the above paragraph without being aware of it . http://php.net/manual/en/wrappers.php.php is a kind of meta-wrapper designed to permit the application of filters to a stream at the time of opening. This is useful with all-in-one file functions such as readfile(), file(), and file_get_contents() where there is otherwise no opportunity to apply a filter to the stream prior the contents being read. This is what I meant . I cannot understand it Edited July 24, 2015 by hisoka Link to comment Share on other sites More sharing options...
hisoka Posted July 24, 2015 Author Share Posted July 24, 2015 I do not understand when I copy paste a paragraph in the forum , part of it does not appear Link to comment Share on other sites More sharing options...
justsomeguy Posted July 24, 2015 Share Posted July 24, 2015 It's saying that you can use the filter wrapper to apply one of the linked filters to something prior to the contents being read, using those functions as examples. I don't see a huge use for that since you can do the same kind of filtering after the content is read. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now