Konu
Class içinde class çağıramıyorum
24-09-2010, 23:00:24
#1
star2218
Başlıktan anlamışsınızdır.
class a { public $a; } class b { $c = new a(); }
Bu şekilde yaptığımda phpED hatalı gösteriyor.
parse error, expecting 'T-FUNCTION'
unexpected $c
Bu hatayı gösteriyor.
Hatam ne olabilir ?