ID: 39889 Updated by: [EMAIL PROTECTED] Reported By: roberto at spadim dot com dot br -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: any PHP Version: 5.2.0 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2006-12-19 15:44:13] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39889&edit=1