php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39889 pack
Submitted: 2006-12-19 15:44 UTC Modified: 2006-12-27 01:00 UTC
From: roberto at spadim dot com dot br Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.2.0 OS: any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-12-19 15:44 UTC] roberto at spadim dot com dot br
Description:
------------
since php don't have ntohl neither htonl i  tryed with
pack('N',$value)

but i can't get the same values that i get from C program
any idea or workaround for it?!

Reproduce code:
---------------
C result don't correspond to PHP pack value

Expected result:
----------------
same value as C

Actual result:
--------------
diferent values

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-19 16:10 UTC] iliaa@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2006-12-27 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 11 04:03:37 2022 UTC