Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59967 invoked from network); 5 Apr 2013 10:39:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Apr 2013 10:39:57 -0000 Authentication-Results: pb1.pair.com header.from=dor.tchizik@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dor.tchizik@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.45 as permitted sender) X-PHP-List-Original-Sender: dor.tchizik@gmail.com X-Host-Fingerprint: 209.85.219.45 mail-oa0-f45.google.com Received: from [209.85.219.45] ([209.85.219.45:55246] helo=mail-oa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/20-57919-BF9AE515 for ; Fri, 05 Apr 2013 05:39:56 -0500 Received: by mail-oa0-f45.google.com with SMTP id o6so3777652oag.4 for ; Fri, 05 Apr 2013 03:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=FebW/wKgFn5wEUGXmMvvJsrQsG7HT80qvWLaMt9zZ00=; b=hgHqNhSWsNlkZqB57+QQVRj82Wmwf4lJ6W7P1ULi8LMJ6JDQ+aaFe0U23iG+HbXQEe cyzd5Sw6uLhKF7RE2VnndhqWcYz86NzpgjdeyvYCpgZXAgcOfadRLlDXHrn7br952y+V UxC1X1YSUbM2Yusvpq8TBKeVI98NcBCazc87kaElNeYI2XyT76P99iEfHWVmSxPG0qa7 7weqnc1DoHxH6D0fKreH6zw0QYi2dFV0SEukevCD/F62jDdAbUHyfTgUBeqkPv2/ZZim V2nK/Xl+rL1+LHo8wKJJFpZVQdax48tYB4eTxj1XhNL5g+Ef8LQGgDjFJH2+5gXjQHdN Txdg== MIME-Version: 1.0 X-Received: by 10.60.42.200 with SMTP id q8mr7736223oel.72.1365158392118; Fri, 05 Apr 2013 03:39:52 -0700 (PDT) Received: by 10.182.128.69 with HTTP; Fri, 5 Apr 2013 03:39:52 -0700 (PDT) Date: Fri, 5 Apr 2013 13:39:52 +0300 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Inconsistency in class definition/usage order From: dor.tchizik@gmail.com (Madara Uchiha) After I saw this question on Stack Overflow: http://stackoverflow.com/questions/15688642/how-does-a-class-extension-or-interface-work, I realized that the guy was right. Is there an explanation for this, or is it just one of those things that got overlooked? Should something be done? (i.e. enforcing class usage only after definition?)