Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66949 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56866 invoked from network); 4 Apr 2013 15:51:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2013 15:51:31 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.171 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.128.171 mail-ve0-f171.google.com Received: from [209.85.128.171] ([209.85.128.171:44711] helo=mail-ve0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/64-35962-081AD515 for ; Thu, 04 Apr 2013 10:51:30 -0500 Received: by mail-ve0-f171.google.com with SMTP id b10so2735675vea.16 for ; Thu, 04 Apr 2013 08:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3h/rFxlsYYi89Y1+HQLuJA135ciJ7h6uX0uNdjouhZ8=; b=FO3iBIEli/wQToHKqmr+MiBt3MSBLcHl+2tVr1w0ysRJiPnO849wecR7TK8qqW+ck5 lUC+YgegkcKWYLlYTSMKKo53WRAVfycgGNJp3nPDJip5O88ug4oTwzPb56epCuhCagjy qmc4lx6DPHD05c5OiLZdLGryu0BKCUKiTjolSJEXi9eGY/j09n1YXl62w+8h3Q/9CMc+ TohdzfcKomA+RegCOvR/tIgK+yn99nkedVdJcX5NDv6LKqXPxw0mQYGhsx494KnPq6ju A8qwBOk65DKMIo6ddpMo8mrZMArJ5G14MwS2b21ctRoYl21gu49P9XlaOlsKtidqm+e2 6Z0w== MIME-Version: 1.0 X-Received: by 10.220.109.145 with SMTP id j17mr5158100vcp.34.1365090685396; Thu, 04 Apr 2013 08:51:25 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.58.76.225 with HTTP; Thu, 4 Apr 2013 08:51:25 -0700 (PDT) In-Reply-To: References: Date: Thu, 4 Apr 2013 17:51:25 +0200 X-Google-Sender-Auth: bTF5qCZgQb3MRjIF7DbClQf3xNc Message-ID: To: Julien Pauli Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Adding a way to retreive compile options at runtime From: kalle@php.net (Kalle Sommer Nielsen) Hi 2013/4/4 Julien Pauli : > As you can see, it is rather simple but would need some work as it is > better for the "Configure Command" to return an array with the options > instead of a big string ; easier to parse. > > Thoughts ? As Johannes already said, we got Reflection, and we should stick to that, having the configure command is nice yeah, but its a mere of edge cases that needs to parse this to correctly function because they are doing something thats unusual in a general purpose environment you have no control over. Moreover, this will not work for shared extensions, imagine PECL extensions for Windows for example. -- regards, Kalle Sommer Nielsen kalle@php.net