You are here: BUG IN PHP? (class member undefined) « PHP Programming Language « IT news, forums, messages
BUG IN PHP? (class member undefined)

Posted by Tamagafk on 12/28/06 09:38

error_reporting(E_ALL);
class cls{
var $val;
function cls(){
$this->$val = 999;
}
}
$c = new cls;

With error_reporting set to E_ALL PHP floods me with notifications that
class variables are undifined, whenever I try to use them. WTF???

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация