php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43751 unpack test case fails
Submitted: 2008-01-04 18:08 UTC Modified: 2008-01-28 23:45 UTC
From: wdierkes at 5dollarwhitebox dot org Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.4.8 OS: Redhat EL 4 i386
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wdierkes at 5dollarwhitebox dot org
New email:
PHP Version: OS:

 

 [2008-01-04 18:08 UTC] wdierkes at 5dollarwhitebox dot org
Description:
------------
I understand that PHP 4.4.8 was the last release for the 4 branch, so it isn't likely that any bug reports will catch attention.  That said, I still wanted to report the bug in case others have the same issue.


=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Invalid format type validation [ext/standard/tests/strings/unpack.phpt]
=====================================================================
make: *** [test] Error 1
+ set +x
>> TEST FAILURE: ../ext/standard/tests/strings/unpack.diff --
001- Warning: unpack(): Invalid format type - in %s/unpack.php on line %d
001+ Warning: unpack() [/phpmanual/function.unpack.html]: Invalid format type - in /builddir/build/BUILD/php-4.4.8/ext/standard/tests/strings/unpack.php on line 2
<< ../ext/standard/tests/strings/unpack.diff result ends.

Reproduce code:
---------------
ext/standard/tests/strings/unpack.phpt

Expected result:
----------------
test case should pass.

Actual result:
--------------
Test case fails.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-06 18:16 UTC] missingno at ifrance dot com
Not really a bug, but the test engine should unset the docref_root & docref_ext directives in php.ini indeed before proceeding with the tests.
 [2008-01-28 23:45 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

PHP4 is not supported anymore.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 15:00:01 2025 UTC