Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

integer value overflow

Mon Oct 27, 2008 1:07 pm

Code:

<?
$too_big
= 111;
for (
$count = 0; $count < 5; $count++) {
    
$too_big = 1000 * $too_big;
    print(
"Is $too_big still an integer?<BR>");
}
?>




Post a reply
  Related Posts  to : integer value overflow
 Invalid integer formats     -  
 finding the largest integer     -  
 Dividing two Integer values     -  
 handle integer overflows and underflows     -  
 rounding performed under integer division     -  
 Ensuring integer are written as 32 bits     -  
 Integer value compare with equal sign     -  
 Bresenham (midpoint) algorithm (integer DDA) drawing line     -  
 convert integer number to octal,hexadecimal number systems     -  

Topic Tags

PHP Variables