From 413b0c132afa0d5e2eb1f4f7c07d133e4e4a2670 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 10 Oct 2008 18:12:54 +0000 Subject: [PATCH] - Added examples git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267159 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/vprintf.xml | 18 ++++++++++++- reference/strings/functions/vsprintf.xml | 18 ++++++++++++- reference/var/functions/gettype.xml | 34 +++++++++++++++++++++++- reference/var/functions/is-null.xml | 29 +++++++++++++++++++- 4 files changed, 95 insertions(+), 4 deletions(-) diff --git a/reference/strings/functions/vprintf.xml b/reference/strings/functions/vprintf.xml index b7ca2b410b..dee7e3ba3d 100644 --- a/reference/strings/functions/vprintf.xml +++ b/reference/strings/functions/vprintf.xml @@ -1,5 +1,5 @@ - + vprintf @@ -54,6 +54,22 @@ Returns the length of the outputted string. + + + &reftitle.examples; + + + <function>vprintf</function>: zero-padded integers + + +]]> + + + + &reftitle.seealso; diff --git a/reference/strings/functions/vsprintf.xml b/reference/strings/functions/vsprintf.xml index 1d78ee6000..fc4bc772ae 100644 --- a/reference/strings/functions/vsprintf.xml +++ b/reference/strings/functions/vsprintf.xml @@ -1,5 +1,5 @@ - + vsprintf @@ -51,6 +51,22 @@ for sprintf). + + + &reftitle.examples; + + + <function>vsprintf</function>: zero-padded integers + + +]]> + + + + &reftitle.seealso; diff --git a/reference/var/functions/gettype.xml b/reference/var/functions/gettype.xml index 8f7bbe63fd..0da55843ec 100644 --- a/reference/var/functions/gettype.xml +++ b/reference/var/functions/gettype.xml @@ -1,5 +1,5 @@ - + gettype @@ -99,6 +99,38 @@ + + + &reftitle.examples; + + + <function>gettype</function> example + + +]]> + + &example.outputs.similar; + + + + + + &reftitle.seealso; diff --git a/reference/var/functions/is-null.xml b/reference/var/functions/is-null.xml index b09aa26e69..848f6a6ff3 100644 --- a/reference/var/functions/is-null.xml +++ b/reference/var/functions/is-null.xml @@ -1,5 +1,5 @@ - + is_null @@ -39,6 +39,33 @@ otherwise. + + &reftitle.examples; + + + <function>is_null</function> example + + +]]> + + + + + + + &reftitle.seealso;