[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Fix apcu_key_info return value (#863)
From: Kamil Tekiela via GitHub <noreply () php ! net>
Date: 2021-08-18 15:39:47
Message-ID: 0Jabj1t6l4gb0RcMn4csAtHAbwVRJHrDrZeFUkwT8KU () main ! php ! net
[Download RAW message or body]
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2021-08-18T16:40:15+01:00
Commit: https://github.com/php/doc-en/commit/6c26ac2fef2d918868e3c6415b9ce2416a92b37f
Raw diff: https://github.com/php/doc-en/commit/6c26ac2fef2d918868e3c6415b9ce2416a92b37f.diff
Fix apcu_key_info return value (#863)
* As per https://github.com/krakjoe/apcu/blob/b68953ccbc1a5234c2caf8ed5800afd222270948/php_apc.stub.php#L12
Changed paths:
M reference/apcu/functions/apcu-key-info.xml
Diff:
diff --git a/reference/apcu/functions/apcu-key-info.xml \
b/reference/apcu/functions/apcu-key-info.xml index c578563ffb..955e7e9b32 100644
--- a/reference/apcu/functions/apcu-key-info.xml
+++ b/reference/apcu/functions/apcu-key-info.xml
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>apcu_key_info</methodname>
+ <type class="union"><type>array</type><type>null</type></type><methodname>apcu_key_info</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
</methodsynopsis>
<para>
@@ -38,7 +38,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- null or array info
+ An array containing the detailed information about the cache key, or &null; if \
the key does not exist. </para>
</refsect1>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic