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