[doc-en] master: These are not available in 32bit pack: q, Q, J, P (#4644)
| From: | divinity76 via GitHub | Date: | Wed, 07 May 2025 17:40:24 +0000 |
| Subject: | [doc-en] master: These are not available in 32bit pack: q, Q, J, P (#4644) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22666@lists.php.net to get a copy of this message | ||
Author: divinity76 (divinity76)
Committer: GitHub (web-flow)
Pusher: nielsdos
Date: 2025-05-07T19:29:40+02:00
Commit: https://github.com/php/doc-en/commit/c532eceb157530671958a3ef2710bbda3f5ddf68
Raw diff: https://github.com/php/doc-en/commit/c532eceb157530671958a3ef2710bbda3f5ddf68.diff
These are not available in 32bit pack: q, Q, J, P (#4644)
Changed paths:
M reference/misc/functions/pack.xml
Diff:
diff --git a/reference/misc/functions/pack.xml b/reference/misc/functions/pack.xml
index c5ff6ad1dd3d..78b228fd79cf 100644
--- a/reference/misc/functions/pack.xml
+++ b/reference/misc/functions/pack.xml
@@ -254,6 +254,9 @@ $binarydata = pack("nvc*", 0x1234, 0x5678, 65, 66);
<refsect1 role="notes">
&reftitle.notes;
+ <caution>
+ <simpara>Format codes <literal>q</literal>, <literal>Q</literal>,
<literal>J</literal> and <literal>P</literal> are not available on 32-bit
PHP builds.</simpara>
+ </caution>
<caution>
<para>Note that PHP internally stores <type>int</type> values as
signed values of a machine-dependent size.