Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49111 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70133 invoked from network); 22 Jul 2010 23:37:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2010 23:37:08 -0000 Authentication-Results: pb1.pair.com header.from=chx1975@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=chx1975@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chx1975@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:48622] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/29-18391-226D84C4 for ; Thu, 22 Jul 2010 19:37:07 -0400 Received: by gxk25 with SMTP id 25so5759388gxk.29 for ; Thu, 22 Jul 2010 16:37:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=i70g1cnHqjTRo7GTSz/AB+utn3XyjwY1wns5cs+nmkk=; b=oGiNnDZ8w6Yr5qq7bRvAFu7mAO7gw7OpjwExkUhAVyNI4DvcH96NlCk0oxPmysSpf5 lk6W9zPpLFr63kNYIhIkCf8+ayoegAHCP6mD06aq89qBzsYvN7Y/rz4ExQFuZC2kTWp3 RGcG5dyUhTSeMMzv2AWplZpAsYXalTnbcYevU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=NgF5of6vkKuU/TsfCqGof1wqj6tc8JxKvdVho0pdMXe+MZGsHlFvOFu5MUoR8JzcnK kLIRsazkQJLc224srgsm0AYrIH/88ZH3tY3DBn5RIMCVGYoBZ/GKEZ5Nq2k+iPePQIUl 3rSqK2/01WVrvHor6d8AbQt5RLYIBAxOJGLS8= Received: by 10.90.34.7 with SMTP id h7mr2959477agh.125.1279841824093; Thu, 22 Jul 2010 16:37:04 -0700 (PDT) MIME-Version: 1.0 Sender: chx1975@gmail.com Received: by 10.90.82.11 with HTTP; Thu, 22 Jul 2010 16:36:44 -0700 (PDT) In-Reply-To: <4C48D326.6070609@thelounge.net> References: <4C48D326.6070609@thelounge.net> Date: Thu, 22 Jul 2010 16:36:44 -0700 X-Google-Sender-Auth: 8p5T_Nos57zcgZ1bAGPH8nbQFcw Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Remove variable function and method calls From: karoly@negyesi.net (Karoly Negyesi) > public function __get($subclass) > { > =A0$include_file =3D CONTENTLOUNGE_BASEDIR . 'api_' . $subclass . '.php'; > =A0$class_name =A0 =3D 'cl_' . $subclass; > =A0$this->$subclass =3D new $class_name(); > =A0return $this->$subclass; > } And this code contains no variable function call. You mixed it up with a variable class name perhaps? That's why I want to nuke it...