Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94978 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28825 invoked from network); 9 Aug 2016 21:13:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2016 21:13:44 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.217.175 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.217.175 mail-ua0-f175.google.com Received: from [209.85.217.175] ([209.85.217.175:34925] helo=mail-ua0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/48-03404-7874AA75 for ; Tue, 09 Aug 2016 17:13:44 -0400 Received: by mail-ua0-f175.google.com with SMTP id n59so39114640uan.2 for ; Tue, 09 Aug 2016 14:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gtzqUvyPqMq9+OKYYDCW3241Kohr9IFr5wfwim/NQ9o=; b=vhHN8MThF9jebZVKxGrSM8JXKXcSk3/P/FAZynP6+RupXLC8Y2IfXzSxJ4aIjhJ7Rw 2T7bk5iS6+usL75BcnJPix+FJMNzZsk48cpzNthDZYosDTlNvQKH7q0YuRvLE3FHjyJ5 xnogsbPsa7/pN3t9ItT2REHcr/BLx+y5WHv4ywe2DTJW03EuQ4ZKMyYuSKFzLpHrZjXV 0ThmzgAAuqZTrd2oxxs3hNgzkwLJqxnJSoeqdJ5LmJlNf3EBMbybq7w8LiVS/WRevxGO fOAjlmLPE1BMBwX6iKeyQcQRnfuAH48mUmZorhAqJ/trkkP3J+jBlF/QZboRbtBRWHCw wNnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gtzqUvyPqMq9+OKYYDCW3241Kohr9IFr5wfwim/NQ9o=; b=J5c3MfPKI9+1XixXfrhv/C1+BJ5/xoK2+03o+U8u0ybJ+n6+eMwg8l1BLGS/nGe1O2 PbIfx/Ba+qKritOyUxA+huWSmicZBU9G0inZjfSUyyLqL8lVqD4VuaoaHMKwP4lcMC/d vO/m0cVlVWDJH5Bh5sn09W/r+qDIc62gLTd6xr9jpjysMUF8IivcbQmn1s9MBvSOVt4g tRGIkn4xVPFtr2wStDRVlE4mEjkyW7UwPKMY+4x1G88VHaFdnWqxVBv6CkysAiFU10pR j0z9GscpgVyhJFFJcoY0h171j4NvVJNu+JBaZt5d/cysoJUKlrGKHE3x71/7SIU4mqm/ rzrA== X-Gm-Message-State: AEkoousnQOewTxwsZ9VU1SXTSafI3Gy2farpjVeMJC3BsJKW75FS3vFuHS7gvnCCNIq4VrGRmb5nRagkSx116A== X-Received: by 10.31.77.129 with SMTP id a123mr190987vkb.35.1470777220630; Tue, 09 Aug 2016 14:13:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.66.163 with HTTP; Tue, 9 Aug 2016 14:13:40 -0700 (PDT) X-Originating-IP: [78.149.2.212] In-Reply-To: References: Date: Tue, 9 Aug 2016 22:13:40 +0100 Message-ID: To: David Rodrigues Cc: Sara Golemon , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Method compare() From: danack@basereality.com (Dan Ackroyd) On 9 August 2016 at 19:38, David Rodrigues wrote: > Sara Golemon wrote: >> Anything written in PHP could be written in C, the question you need >> to answer isn't "How?", it's "Why?". > > Sure. > > In general, I just thinking about how it can be useful to ... There are endless number of things that could be useful if included in core PHP. But almost all of them can also be done in userland PHP. Code that is included in core needs to be maintained by a small number of people who have the C skills and will-power to do the maintenance. Code that is written in PHP is both easier to maintain (as PHP is a more powerful language than C in most regards), and has a far larger number of people who can do the maintenance. So the question is "Why write it in C, when you can write it in PHP?" cheers Dan