From fcef2ea0d9dc68d563b85de80d40f6051ffdc6a6 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 14 Aug 2008 10:08:30 +0000 Subject: [PATCH] Added examples for: * imagedashedline * imagestringup And added example usage for is_xhtml parameter on nl2br() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264826 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/figures/dashedline.png | Bin 0 -> 167 bytes reference/image/figures/stringup.png | Bin 0 -> 379 bytes reference/image/functions/imagedashedline.xml | 32 +++++++++++++++++- reference/image/functions/imagestringup.xml | 32 +++++++++++++++++- reference/strings/functions/nl2br.xml | 23 +++++++++++-- 5 files changed, 82 insertions(+), 5 deletions(-) create mode 100644 reference/image/figures/dashedline.png create mode 100644 reference/image/figures/stringup.png diff --git a/reference/image/figures/dashedline.png b/reference/image/figures/dashedline.png new file mode 100644 index 0000000000000000000000000000000000000000..e79594b79871c91d872a66b9610a862a9fbd8943 GIT binary patch literal 167 zcmeAS@N?(olHy`uVBq!ia0vp^DIm!(jF^^6L?<4%P!|_N(VbFm8kx!oVcH^{uFgebId-kbtMFpUXO@ GgeCwx#WffJ literal 0 HcmV?d00001 diff --git a/reference/image/figures/stringup.png b/reference/image/figures/stringup.png new file mode 100644 index 0000000000000000000000000000000000000000..e0336819efab8904257f5b45ac4b68a8ed71fb7d GIT binary patch literal 379 zcmV->0fhdEP)6mLg*|UrQIZvba_X>QW(um-YQ6MR{6J9#Jik&P5yhe;D+1+_ z!czy`7%1xew_%huMa(RUrdZ6KgadxSPc}-9$g&C!W$qE#) zDTT6F`VVHZ9Pk4WTZa@TE5})~vJy9$#gZgRx)a|U4)ED9P{gsa$r=Fq!-AQnJ - + imagedashedline @@ -77,6 +77,36 @@ Always returns true + + &reftitle.examples; + + + <function>imagedashedline</function> example + + +]]> + + &example.outputs.similar; + + + + + + + + &reftitle.seealso; diff --git a/reference/image/functions/imagestringup.xml b/reference/image/functions/imagestringup.xml index 500927eb81..fd12b9fefe 100644 --- a/reference/image/functions/imagestringup.xml +++ b/reference/image/functions/imagestringup.xml @@ -1,5 +1,5 @@ - + imagestringup @@ -69,6 +69,36 @@ &return.success; + + &reftitle.examples; + + + <function>imagestring</function> example + + +]]> + + &example.outputs.similar; + + + + + + + + &reftitle.seealso; diff --git a/reference/strings/functions/nl2br.xml b/reference/strings/functions/nl2br.xml index 7fed5b8c8c..d4b8ff7940 100644 --- a/reference/strings/functions/nl2br.xml +++ b/reference/strings/functions/nl2br.xml @@ -1,5 +1,5 @@ - + nl2br @@ -14,8 +14,8 @@ boolis_xhtml - Returns string with '<br />' inserted - before all newlines. + Returns string with '<br />' or + '<br>' inserted before all newlines. @@ -67,6 +67,23 @@ echo nl2br("foo isn't\n bar"); bar +]]> + + + + Generating valid HTML markup using the <parameter>is_xhtml</parameter> + + +]]> + + &example.outputs; + + +This is my HTML document ]]>