diff --git a/reference/mysqli/mysqli_result/num-rows.xml b/reference/mysqli/mysqli_result/num-rows.xml
index b46d6211a4..e2c54c162a 100644
--- a/reference/mysqli/mysqli_result/num-rows.xml
+++ b/reference/mysqli/mysqli_result/num-rows.xml
@@ -44,7 +44,7 @@
   </para>
   <note>
    <para>
-    If the number of rows is greater than <constant>MAXINT</constant>, the number
+    If the number of rows is greater than <constant>PHP_INT_MAX</constant>, the number
     will be returned as a string.
    </para>
   </note>