View Single Post
  #7 (permalink)  
Old 07-27-2007, 04:01 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,119
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Quote:
That's happening b/c the number of bits necessary to store the number I've assigned to those 2 slots exceeds what PHP allows by default.
From my experience, PHP doesn't have variable types like in any other programming languages where you have to specify whether it's an int, long, or whatever... isn't it? (which I think is less efficient because it will take the same amount of space each time variable is declared with the maximum) So is that the maximum by default for all types of variables in PHP?

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote