Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94974 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14575 invoked from network); 9 Aug 2016 18:06:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2016 18:06:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.223.182 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.223.182 mail-io0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:36636] helo=mail-io0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/E5-03404-0CB1AA75 for ; Tue, 09 Aug 2016 14:06:57 -0400 Received: by mail-io0-f182.google.com with SMTP id b62so19083397iod.3 for ; Tue, 09 Aug 2016 11:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ZtBIKPyJjXZW9qG/zNB/Te9075FFiPZ+b1kly+0tU5U=; b=r1YrUaTd5cHsdA+Uzx83zy4VccKZ7Z2e8umwvNqHg/IaKd9qfVuEoCKCLqllwBYOdC MZVBo3uchuq0X0WoYK5xJUgHkbTv/Xc73F7jzEgqDABSellIVLgMSOKdMpdIDc2TUEbp YsH4IHR+uD9b9B0xeSqAlzOVrx4V0NDbojY37kX1M5dF7b/JPfJDxD7smeiYsOusds8s I3w6xYrqyz58n0Bqmz5nx+7HO2EAQE16QnvhtCThnuEOOWVDyA87hTMazyoJmx7M+iXS tj2k90r9EOBRalsmQjB1fvzITIxU46GRJITAO19RiY6CQvbCKZxcYdq9XEdRa8ebZDf8 WdNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ZtBIKPyJjXZW9qG/zNB/Te9075FFiPZ+b1kly+0tU5U=; b=Cy6HYdYRY/tkQJlHW5bIuiJVH31phkQbFPPb3uFt34tN7o8sBGyV3Lrib4cVpXCw7y PmIkbXVfjN147FCPXkO1HkeSTbiDqxFmDSnCZ+w40FZVTDbU+awO6IbjweYPP10ZT9Am 8pC2QKYbpj1IrosTSMTGT1EqNC4gZXIQFatTel6ZILbT1HmdcO0JcvxTXmu9/f/J5OPU z/Y1av8eyWX54nzSxSoIkjLCG3d7DBRynueexdmMMswrAD30jr+OjlBBO0k7IDeJ29G0 yrjLQtiTpJiQ2L148eMaCVhZj3D4wU3feHotHelGP6BkUax/3+WPw1poL1kMd2w0OLG9 KEIw== X-Gm-Message-State: AEkoout8Ghyywz8bQLuJAtL23R8J5h7ILzPXimckPpG4pxsV2DIL7QItS+q4u6i6CmkHDz8ijmfFcKlKvV/HGA== X-Received: by 10.107.15.75 with SMTP id x72mr422749ioi.143.1470766013312; Tue, 09 Aug 2016 11:06:53 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.36.117.201 with HTTP; Tue, 9 Aug 2016 11:06:52 -0700 (PDT) X-Originating-IP: [107.198.91.68] In-Reply-To: References: Date: Tue, 9 Aug 2016 11:06:52 -0700 X-Google-Sender-Auth: BIvLsG8BLL-bVCR99kKna169tbo Message-ID: To: David Rodrigues Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Method compare() From: pollita@php.net (Sara Golemon) On Tue, Aug 9, 2016 at 10:33 AM, David Rodrigues wrote: > Currently PHP has a method called "version_compare()". Should be great > if we have the same function but to general usage. There are some > implementations on web for that, but I guess that it could be done > natively. > Anything written in PHP could be written in C, the question you need to answer isn't "How?", it's "Why?". -Sara