From 708c7cf61cc39eae19cf43055006bf1372300015 Mon Sep 17 00:00:00 2001 From: Kenneth Schwartz Date: Wed, 14 Apr 2004 05:28:54 +0000 Subject: [PATCH] create entity for context support in PHP 5; add to fopen git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155955 c90b9560-bf6c-de11-be94-00142212c4b1 --- language-snippets.ent | 3 +++ reference/filesystem/functions/file-get-contents.xml | 8 ++------ reference/filesystem/functions/file.xml | 8 ++------ reference/filesystem/functions/fopen.xml | 3 ++- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/language-snippets.ent b/language-snippets.ent index 1fc3dd6480..19cec64cd3 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -50,6 +50,9 @@ URL protocols.'> for a listing of which wrappers support stat family of functionality.'> +Context support was added +with PHP 5.0.0.'> + This function will diff --git a/reference/filesystem/functions/file-get-contents.xml b/reference/filesystem/functions/file-get-contents.xml index 75e172e2a1..c97bc4d6c1 100644 --- a/reference/filesystem/functions/file-get-contents.xml +++ b/reference/filesystem/functions/file-get-contents.xml @@ -1,5 +1,5 @@ - + @@ -26,11 +26,7 @@ ¬e.bin-safe; &tip.fopen-wrapper; - - - Context support was added with PHP 5.0.0. - - + ¬e.context-support; &warn.ssl-non-standard; See also: fgets, file, diff --git a/reference/filesystem/functions/file.xml b/reference/filesystem/functions/file.xml index 4b4468c911..d49746d309 100644 --- a/reference/filesystem/functions/file.xml +++ b/reference/filesystem/functions/file.xml @@ -1,5 +1,5 @@ - + @@ -65,11 +65,7 @@ $html = implode('', file('http://www.example.com/')); In PHP 4.3.0 file became binary safe. - - - Context support was added with PHP 5.0.0. - - + ¬e.context-support; &warn.ssl-non-standard; See also readfile, diff --git a/reference/filesystem/functions/fopen.xml b/reference/filesystem/functions/fopen.xml index 56d779908c..95361ed52a 100644 --- a/reference/filesystem/functions/fopen.xml +++ b/reference/filesystem/functions/fopen.xml @@ -1,5 +1,5 @@ - + @@ -55,6 +55,7 @@ zcontext parameter , refer to . + ¬e.context-support; The mode parameter specifies the type of access you require to the stream. It may be any of the following: