From 3c5e32fa72b84e56f3eb8abc8b091d869e9cf9ff Mon Sep 17 00:00:00 2001 From: Mark Wiesemann Date: Sun, 4 Apr 2010 20:03:29 +0000 Subject: [PATCH] coding standards git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297477 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/is-float.xml | 8 ++++---- reference/var/functions/is-int.xml | 4 ++-- reference/var/functions/is-numeric.xml | 12 ++++-------- reference/var/functions/is-object.xml | 13 ++++++------- reference/var/functions/is-string.xml | 4 ++-- 5 files changed, 18 insertions(+), 23 deletions(-) diff --git a/reference/var/functions/is-float.xml b/reference/var/functions/is-float.xml index 25ae98fc8d..ce79d30b6e 100644 --- a/reference/var/functions/is-float.xml +++ b/reference/var/functions/is-float.xml @@ -52,10 +52,10 @@ students); + return $obj->students; } // Declare a new class instance and fill up // some values -$obj = new stdClass; -$obj->students = Array('Kalle', 'Ross', 'Felipe'); +$obj = new stdClass(); +$obj->students = array('Kalle', 'Ross', 'Felipe'); -var_dump(get_students(NULL)); +var_dump(get_students(null)); var_dump(get_students($obj)); ?> ]]> diff --git a/reference/var/functions/is-string.xml b/reference/var/functions/is-string.xml index ba7dde930c..4b462278a6 100644 --- a/reference/var/functions/is-string.xml +++ b/reference/var/functions/is-string.xml @@ -46,9 +46,9 @@