Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62513 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28234 invoked from network); 26 Aug 2012 17:52:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2012 17:52:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:46913] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/A4-00843-F326A305 for ; Sun, 26 Aug 2012 13:52:00 -0400 Received: by vbbfs19 with SMTP id fs19so2281278vbb.29 for ; Sun, 26 Aug 2012 10:51:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=dORsvfcEqqDnKJK9v+ncABcZTdTu8Xx9uaS0eTJ2Nms=; b=Nu5dLpHrhar6wWypnd435FYl8bjpisrLihPDcinWM8/2Hpp61Iozhwyx2WBCY3A21q YHDU+ruzl6IAtmfMlpDHOxLtfbNSei8SMra1BeTm1NghChy2dpOX7ZYLTl5nkhzYpGR8 epnpnhTPXnmBB9ZoAuVAFEapGDLm3HnoPx59ictr2Q3G/pm/KULhAq6wBnNW1EROS9Ry wdT9mWeonF50KFURZWSATvb50+DvvVxvapzfp/kgnMx08V8wrsQGPMGw4iSbWbeOjorL aeozps21od9ghfwaFrweHJPzh9lk3koUO/uBV12lvFSBl2rC2dm+MpiEJeC16By3/7FS Xfag== MIME-Version: 1.0 Received: by 10.52.35.104 with SMTP id g8mr637378vdj.20.1346003517047; Sun, 26 Aug 2012 10:51:57 -0700 (PDT) Received: by 10.58.84.164 with HTTP; Sun, 26 Aug 2012 10:51:57 -0700 (PDT) Date: Sun, 26 Aug 2012 13:51:57 -0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf3079c0968001d804c82edd6c X-Gm-Message-State: ALoCoQnref17VTu31zCp2vbBwbi++HNVL4UVlVxn32KrvErO6mNakf7pI7LnVcNu+HpJlojqt/UK Subject: Re: [PHP-DEV] Aspect Oriented Programming in PHP From: rasmus@mindplay.dk (Rasmus Schultz) --20cf3079c0968001d804c82edd6c Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Aug 23, 2012 at 7:36 AM, Peter Nguyen wrote: > I know very little about AOP and don't pretend to know a lot, but how > would we benefit > from directly adding it into core instead of taking the approach FLOW3 did? as I see it, the problem with AOP in PHP is the same as with any other technique that requires code-generation, in some form or another, including code-manipulation, pre-processing, transpilers, and so forth: traceability of errors. languages that are popular as intermediary languages generally support a directive that makes it possible to trace errors back to their source. I raised this issue on the list recently, and no one seemed to react with any interest... --20cf3079c0968001d804c82edd6c--