Date: 09/17/00
- Next message: andy <email protected>: "[PHP-DEV] PHP 4.0 Bug #6786: PHP stability problem w/ mssql70.dll loaded"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6685 Updated: %20 mis-converted in GET mechanism"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6761
Updated by: stas
Reported By: coolfr3ak <email protected>
Status: Closed
Bug Type: *Function Specific
Assigned To:
Comments:
fixed in CVS
Previous Comments:
---------------------------------------------------------------------------
[2000-09-14 11:24:10] coolfr3ak <email protected>
If you call
decbin(-9);
which is equivilent to ~8(NOT 00001000) then it dosn't work - so if I wanted to do anything like removing a bit from a number like:
$byte3 = $byte1 | $byte2;
$byte1 = $byte3 & ~$byte2;
this works, but if you go
decbin(~$num);
then it throughts a woubly... just thought that maybe this function could be fixed to recognise - as signbit...
IcK
(Thanks about previous prob.. silly me = = == ... been using too much C++ and didn't realise php used == aswell :p)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6761
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: andy <email protected>: "[PHP-DEV] PHP 4.0 Bug #6786: PHP stability problem w/ mssql70.dll loaded"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6685 Updated: %20 mis-converted in GET mechanism"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

