Skip to content

Commit c532ece

Browse files
authored
These are not available in 32bit pack: q, Q, J, P (#4644)
1 parent dfb5ffa commit c532ece

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/misc/functions/pack.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ $binarydata = pack("nvc*", 0x1234, 0x5678, 65, 66);
254254

255255
<refsect1 role="notes">
256256
&reftitle.notes;
257+
<caution>
258+
<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>
259+
</caution>
257260
<caution>
258261
<para>Note that PHP internally stores <type>int</type> values as
259262
signed values of a machine-dependent size.

0 commit comments

Comments
 (0)