|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-27 22:24 UTC] waldschrott@php.net
[2000-08-20 02:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
#!/usr/local/bin/php -q <?php echo "here the & goes good\n"; $a=884330816; print ($a); print ("\n"); print (($a-256*256*256*128) & 255); print ("\n"); print (($a) & 255); print ("\n"); echo "here it goes bad\n"; $a=4076863680; print ($a); print ("\n"); print (($a-256*256*256*128) & 255); print ("\n"); print (($a) & 255); # $a is an unsigned int32 when it is printed! print ("\n"); ?> It works in PHP3