Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73017 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75876 invoked from network); 8 Mar 2014 23:41:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2014 23:41:49 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.174 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.216.174 mail-qc0-f174.google.com Received: from [209.85.216.174] ([209.85.216.174:41813] helo=mail-qc0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/05-44862-CBAAB135 for ; Sat, 08 Mar 2014 18:41:49 -0500 Received: by mail-qc0-f174.google.com with SMTP id x13so6170107qcv.19 for ; Sat, 08 Mar 2014 15:41:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=+lGhjDvMfyTwQSH8bQIsaoFDeYgzMQazUjjiOsVyd/U=; b=tXUTNfNPdwl6mN2rD/Vak7ty90KldOKpJjL2eZPMDbqo5557UHYOM9jwjPGkwBQBiL 3XjdMRElvfr4FxTfNYUgTDy+1/71qmd9zd006GkKWWPICm2/s9FbQ6BIMxvFexvh6glM Ndga/RT2vS4IuFHFlVVQkLsQ5PQ5YeUduVv9vq9MCB/stK8KPq5tFCU0DEMja4HdIOwr z8ZQZyqqxurWIxarDMExUdnhnlgzTFeh2WVvbyEB3YrJIQpPA1vvznw1VnVZu7GOGFcm TtefgkoRMpwRv3lxiPkFWd/jCPdxj5YJUv3haArFrgZP70wZEj2C/AHqN3FeYzAMQEqh sFcA== X-Received: by 10.140.108.2 with SMTP id i2mr20729267qgf.80.1394322106088; Sat, 08 Mar 2014 15:41:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.85.18 with HTTP; Sat, 8 Mar 2014 15:41:25 -0800 (PST) In-Reply-To: References: <03CFE6C6-0742-4928-BD2B-E9C920E9246A@ajf.me> <29BDF40C-562D-4943-877B-70701335D3AA@ajf.me> Date: Sun, 9 Mar 2014 01:41:25 +0200 Message-ID: To: internals Content-Type: multipart/alternative; boundary=001a113ab74ad600be04f420e924 Subject: Re: [PHP-DEV] Idea: ifdef-like feature to ease userland BC From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a113ab74ad600be04f420e924 Content-Type: text/plain; charset=UTF-8 Hello Internals. This really sounds strange. Why? Because you already have all the tools in userland to do all that since like PHP 4. You have "function_exists" http://lv.php.net/manual/en/function.function-exists.php , you have "phpversion" http://lv.php.net/manual/en/function.phpversion.php, you have PHP_VERSION_ID constant (details about the constant are in http://lv.php.net/manual/en/function.phpversion.php too), you have version_compare http://lv.php.net/manual/en/function.version-compare.php Sometimes you just need to look up the actual manual... --001a113ab74ad600be04f420e924--