diff --git a/reference/image/figures/dashedline.png b/reference/image/figures/dashedline.png new file mode 100644 index 0000000000..e79594b798 Binary files /dev/null and b/reference/image/figures/dashedline.png differ diff --git a/reference/image/figures/stringup.png b/reference/image/figures/stringup.png new file mode 100644 index 0000000000..e0336819ef Binary files /dev/null and b/reference/image/figures/stringup.png differ diff --git a/reference/image/functions/imagedashedline.xml b/reference/image/functions/imagedashedline.xml index 135b1c5cf4..5d73eef29c 100644 --- a/reference/image/functions/imagedashedline.xml +++ b/reference/image/functions/imagedashedline.xml @@ -1,5 +1,5 @@ - + 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 ]]>