Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99657 invoked from network); 17 Feb 2014 21:02:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2014 21:02:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=ralph@ralphschindler.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ralph@ralphschindler.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ralphschindler.com from 209.85.219.41 cause and error) X-PHP-List-Original-Sender: ralph@ralphschindler.com X-Host-Fingerprint: 209.85.219.41 mail-oa0-f41.google.com Received: from [209.85.219.41] ([209.85.219.41:34618] helo=mail-oa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/17-64799-1F872035 for ; Mon, 17 Feb 2014 16:02:42 -0500 Received: by mail-oa0-f41.google.com with SMTP id j17so18468197oag.28 for ; Mon, 17 Feb 2014 13:02:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=tNLm0pym58Q6okXciJjMyHopBfSaKEkZnZyrnmoNi4Y=; b=KVZYxst+e57ePvwZh0C0yBSLI3epbY62Hf+QtZWDiOklGWmA8BSt1D2zsfwEPAkUhq N323Q7W4Oe0n7Xi66zyIubDt5TnGBU309dA52nO4iXsXPiFS1v5JpGEq/7mZmyblOYTy LV377OYudjSjg8tzVqkZi7IaIFx/7p1Y6Wub6wyGBGKg6AtpO0EfyoFz4ld3v6eAriX9 EWYc4qB0+7wHngQF0jKEcR1WrtZv20tBe5DFNmE780uM29GPLkqRI/8mKjYdyRrdko8S 3txP+vl3MYdNBmYrKrv6AtypNkopxwy9zopZwGMoBS+w8/Lfh0XJ8EdBhpdD7ifo5hpl +gfw== X-Gm-Message-State: ALoCoQkaowDSECHQQ9IQ7uYX8oGN2Qbsv0otz8FiRcTYwuKr9CEtiCUjcGGj4a3kPRPuhAYn2cJo X-Received: by 10.182.81.197 with SMTP id c5mr8440774oby.40.1392670957950; Mon, 17 Feb 2014 13:02:37 -0800 (PST) Received: from [172.16.1.126] (ip174-73-14-247.no.no.cox.net. [174.73.14.247]) by mx.google.com with ESMTPSA id h4sm114362135oev.2.2014.02.17.13.02.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 13:02:37 -0800 (PST) Message-ID: <530278EE.3000008@ralphschindler.com> Date: Mon, 17 Feb 2014 15:02:38 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: internals@lists.php.net References: <1392661082.3990.265.camel@guybrush> In-Reply-To: <1392661082.3990.265.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] my take on PHP 6, part 2 From: ralph@ralphschindler.com (Ralph Schindler) >> - Native ctype support (no, not the current supported one. Look for its >> support in Python) > > Not an engine feature. feel free to provide an extension API, eventually > might be bundled. (and enabled by default / force) the ctype equivilent in php would be a more robust and accessible FFI http://pecl.php.net/package/ffi I think the goal here would be to expose lib's and be able to dynamically-ish (program via php) an interface to a library without having to write an extension. >> - With better opcache and ctype, also add better dl(), completely >> removing the need to have so many extensions in core > > Better dl is not trivial due to operating system restrictions. With > major refactoring we might improve this a bit, but things which come to > mind cause major breakage in APIs for quite little effect ... I thought > a while about this in regards to composer etc. I think the idea here is to be able to have per-project extension dependencies, as you said, with composer. This would be ideal in a way for the ecosystem to vet extensions before inclusion in core. But currently, unless you own the system, extensions are extremely inaccessible to gain any real momentum. -ralph