Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61976 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74534 invoked from network); 2 Aug 2012 23:03:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2012 23:03:42 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:50349] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/02-61111-D470B105 for ; Thu, 02 Aug 2012 19:03:41 -0400 Received: by yhoo21 with SMTP id o21so101344yho.29 for ; Thu, 02 Aug 2012 16:03:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=ecVDMcaNwudLowNRMvGR+fCHdXUJzW1SI7cE/fQ8g5E=; b=Lm3blzPehLWI+FseEsNAipLwuQklFuRu8lXaMLDJKVqvpXNBtf0teb7Mx56aRrbZf2 WjcEt/3KKGwEGSTwuJCdBpFfadIlHDdQJFD3/IeMuozV5JOXDLskNfPpIHyK65v4G/+U i8Sc2uoKUKhcwpwe3ZT1y3r6j+B/q1swbT52BlKvw663F3a6bJYJdp+FIzyMRws64uTK hAuJw2ZF2GBP2D5FtfUSHJQn33a3nlwEe23nbIz5dY6EpgZuwLDv7f1jpxzjiBwuY2ad iVEcweRJdUh3816+lcq8gJlJ3yEbjyjZ39QG2WrhP1QpPDHs21vIMbq3WvmCGknGDJp2 VJvw== MIME-Version: 1.0 Received: by 10.50.195.195 with SMTP id ig3mr6485350igc.61.1343948617743; Thu, 02 Aug 2012 16:03:37 -0700 (PDT) Sender: php@golemon.com Received: by 10.64.47.8 with HTTP; Thu, 2 Aug 2012 16:03:37 -0700 (PDT) X-Originating-IP: [2620:0:1cfe:28:39d2:916c:a245:51b9] In-Reply-To: References: Date: Thu, 2 Aug 2012 16:03:37 -0700 X-Google-Sender-Auth: i8YXz9s5id1QY1VthPdj-vqLT-A Message-ID: To: dukeofgaming Cc: Kris Craig , Yahav Gindi Bar , PHP internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQml3MMLvsBbqtjZOOzBg+ccMgd4GIOGZKBBXsv/W2gW7lq2X1HwRdmuVFMQ2RoTs7ZNCG+X Subject: Re: [PHP-DEV] Add runkit to PHP Runtime From: pollita@php.net (Sara Golemon) "For all those things you.... probably shouldn't have been doing anyway...." That description is on the package because you... probably shouldn't be doing these things. Further, any discussion of runkit should focus on individual features of it. Custom Superglobals: I consider these fairly harmless so long as developers follow strict rules about naming them, but if you want superglobals, you probably need to rethink some part of your architecture. Monkeypatching: Several good use-cases for this (unit tests, among others), but like all powerful features, must be used with care. Sandboxing: Complicated by the fact that it only works in a threaded build, can't transfer all types (e.g. resource, complex objects), and can't run concurrently. Until/unless these problems can be meaningfully solved, I wouldn't consider it a functional implementation. For my vote: I think keeping this in pecl is fine, because they're all things which can be done from the extension space. Yes, I've abandoned the package, but nothing is stopping someone else from taking it over. -Sara On Thu, Aug 2, 2012 at 2:28 PM, dukeofgaming wrote: > > This is a great idea (the runkit, not the rootkit). > > On Thu, Aug 2, 2012 at 1:12 PM, Kris Craig wrote: > > > > > > > What do you think? > > > > > > > I think I need to get my lens prescription updated. I thought the subject > > line read, "Add *rootkit *to PHP Runtime" and was already sharpening my > > pitchfork before I realized my error. > > > > For the record, I am firmly opposed to adding a rootkit to the PHP runtime. > > A runkit sounds pretty cool, though. ;) > > > > --Kris > >