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 @@