Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37359 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78922 invoked from network); 30 Apr 2008 16:21:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2008 16:21:59 -0000 Authentication-Results: pb1.pair.com header.from=quickshiftin@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=quickshiftin@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.152 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: quickshiftin@gmail.com X-Host-Fingerprint: 72.14.220.152 fg-out-1718.google.com Received: from [72.14.220.152] ([72.14.220.152:43412] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DD/24-55591-3AC98184 for ; Wed, 30 Apr 2008 12:21:59 -0400 Received: by fg-out-1718.google.com with SMTP id 16so205860fgg.23 for ; Wed, 30 Apr 2008 09:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Ovx4dpFFxdqS97JI0IMDueC/REkJKBMoWEFyfT5g5+o=; b=GsvqUBl4QmA+I3500u1B7uTzwqIGeKtgLNti7tYriHM0A9YrUbC1Ap6dIKTFiWSFsUIcrZXzrwao+cKfW+XPU9Z1B686UYytbuwNPWNf+4k2o10Rblkop1HWWjKJd5F4ot4KtiJ+mkw3idUIQdsXGfzUUWdRtWN11wAEPJa5aGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Ed3XiNeb0yLcgWK5911B/AGwGYMifOcXg7yI3QjERTvMTYAwVmeCh4yJCWXm9kpZJdvruCHQ3IwWwfzuSmsN1sqDxgwFyzSGTWaZvWhxtJBau7JUkBX8shECTlhkAxXLXl7uR3UElpgQ5nisBlhX0MNf/jBHI0c+8gCZoZ1Yfhg= Received: by 10.86.61.11 with SMTP id j11mr1145629fga.69.1209572509116; Wed, 30 Apr 2008 09:21:49 -0700 (PDT) Received: by 10.86.59.15 with HTTP; Wed, 30 Apr 2008 09:21:49 -0700 (PDT) Message-ID: <7dd2dc0b0804300921y4d87fa25k3530cb864367aa24@mail.gmail.com> Date: Wed, 30 Apr 2008 10:21:49 -0600 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18697_9851033.1209572509097" Subject: why interfaces ? From: quickshiftin@gmail.com ("Nathan Nobbe") ------=_Part_18697_9851033.1209572509097 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline all, in recent weeks there has been a lot of arguing about what interfaces are, arent (on php-general and now on the internals list as well) etc. etc. i am quite curious, why interfaces were added to the language in the first place. note, i am not criticizing them, i am overjoyed that the language has them, however i am curious about the history. is this something php borrowed from java? does it have anything to do with 'entirely virtual classes' in c++ ? i think that the history behind the addition of interfaces to php, would shed a lot of light on their intended purpose for use by php developers. thanks, -nathan ------=_Part_18697_9851033.1209572509097--