| Posted by Alvaro G Vicario on 08/29/05 10:20 
*** http://www.douglassdavis.com wrote/escribió (28 Aug 2005 20:25:19-0700):
 > Why is it that I can do this:
 >
 >  $obj= new $classname();
 >
 > But not this:
 >
 >  $classname::astaticfunc()
 
 Because the second syntax is not correct:
 
 http://php.grn.es/manual/en/keyword.paamayim-nekudotayim.php
 
 
 
 --
 -- Álvaro G. Vicario - Burgos, Spain
 -- http://bits.demogracia.com - Mi sitio sobre programación web
 -- Don't e-mail me your questions, post them to the group
 --
  Navigation: [Reply to this message] |