Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- i have a problem with interger number in PHP
November 3, 2007, 5:37 pm
rate this thread
$this->num = $num;
print "NUM: ".($this->num);
$read = new read(001002);
$read->basic(); // Output string: NUM: 514
if i call
$read = new read(1001);
$read->basic();//Output string: NUM: 1001
// is true
who can explain me about problem?
I run this script on local with PHP 5.2.1