|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-09-14 09:37 UTC] laruence@php.net
-Type: Bug
+Type: Documentation Problem
[2015-09-14 09:37 UTC] laruence@php.net
[2015-09-14 12:35 UTC] nikic@php.net
-Assigned To:
+Assigned To: nikic
[2015-09-14 13:04 UTC] nikic@php.net
[2015-09-14 13:05 UTC] nikic@php.net
-Status: Assigned
+Status: Closed
[2015-09-15 12:13 UTC] ab@php.net
[2016-07-20 11:36 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 22:00:01 2025 UTC |
Description: ------------ Due to a recent change, pack('x') generates the following error in 7.0 only: pack() expects at least 2 parameters, 1 given Changing it to pack('x', null) generates another error: Unused parameter Test script: --------------- <?php echo pack('x'); echo pack('x', null); Expected result: ---------------- A NULL byte