[DOC-CVS] [doc-en] master: These are not available in 32bit pack: q, Q, J, P (#4644)

[email protected] (divinity76 via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.