From c51f2e70961009321565d4456c9f424bb342cf6d Mon Sep 17 00:00:00 2001 From: Jean-Sebastien Hedde Date: Fri, 16 Jun 2017 12:45:27 +0000 Subject: [PATCH] add description for e,E,g,G for pack and unpack -- Provided by anonymous 82900 (sskaje@gmail.com) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342601 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/misc/functions/pack.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/reference/misc/functions/pack.xml b/reference/misc/functions/pack.xml index c80c292168..3710857368 100644 --- a/reference/misc/functions/pack.xml +++ b/reference/misc/functions/pack.xml @@ -137,10 +137,26 @@ f float (machine dependent size and representation) + + g + float (machine dependent size, little endian byte order) + + + G + float (machine dependent size, big endian byte order) + d double (machine dependent size and representation) + + e + double (machine dependent size, little endian byte order) + + + E + double (machine dependent size, big endian byte order) + x NUL byte @@ -193,6 +209,12 @@ + + 7.0.15,7.1.1 + + The "e", "E", "g" and "G" codes were added to enable byte order support for float and double. + + 5.6.3