From 57af376c5f45150f478887dbb46a6834b64f3990 Mon Sep 17 00:00:00 2001 From: Pieter Hordijk Date: Sun, 14 Jul 2013 17:20:52 +0000 Subject: [PATCH] Made class constants uppercase in examples Fixed return type of mysqli::$client_version git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330913 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/constants.xml | 12 ++++++------ reference/mysqli/mysqli/get-client-version.xml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/language/oop5/constants.xml b/language/oop5/constants.xml index 30e7528e12..70b5b82414 100644 --- a/language/oop5/constants.xml +++ b/language/oop5/constants.xml @@ -28,22 +28,22 @@ showConstant(); -echo $class::constant."\n"; // As of PHP 5.3.0 +echo $class::CONSTANT."\n"; // As of PHP 5.3.0 ?> ]]> @@ -56,7 +56,7 @@ echo $class::constant."\n"; // As of PHP 5.3.0 mysqli_get_client_version mysqli::$client_version - Returns the MySQL client version as a string + Returns the MySQL client version as an integer