From 422eb632815a02b9cf17c5619d32c323515a1eab Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Mon, 25 Oct 2010 19:41:39 +0000 Subject: [PATCH] CS git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304888 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/functions/strftime.xml | 5 ++-- .../reflectionfunction/invokeargs.xml | 26 +++++++++---------- .../reflectionfunction/tostring.xml | 2 +- reference/sem/functions/shm-attach.xml | 5 ++-- 4 files changed, 17 insertions(+), 21 deletions(-) diff --git a/reference/datetime/functions/strftime.xml b/reference/datetime/functions/strftime.xml index dfa11d5cfe..42e61a6ff7 100644 --- a/reference/datetime/functions/strftime.xml +++ b/reference/datetime/functions/strftime.xml @@ -463,9 +463,8 @@ $format = '%e': // Check for Windows and only attempt to replace // the %e modifiers if they exists in the format -if(strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' && strpos($format, '%e') !== false) -{ - $format = str_replace('%e', '%#d', $format); +if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' && strpos($format, '%e') !== false) { + $format = str_replace('%e', '%#d', $format); } echo strftime($format); diff --git a/reference/reflection/reflectionfunction/invokeargs.xml b/reference/reflection/reflectionfunction/invokeargs.xml index 704d0c8b41..3f57ab18d3 100644 --- a/reference/reflection/reflectionfunction/invokeargs.xml +++ b/reference/reflection/reflectionfunction/invokeargs.xml @@ -55,12 +55,12 @@ invokeArgs(Array('Dr', 'Phil')); +echo $function->invokeArgs(array('Dr', 'Phil')); ?> ]]> @@ -78,23 +78,21 @@ Dr. Phil invokeArgs(Array($conditions, &$false_conditions)); +$function_ref->invokeArgs(array($conditions, &$false_conditions)); var_dump($false_conditions); ?> diff --git a/reference/reflection/reflectionfunction/tostring.xml b/reference/reflection/reflectionfunction/tostring.xml index db6f77dbfa..0ba716b83e 100644 --- a/reference/reflection/reflectionfunction/tostring.xml +++ b/reference/reflection/reflectionfunction/tostring.xml @@ -41,7 +41,7 @@