Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18260 invoked from network); 20 Dec 2013 22:24:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2013 22:24:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.213.179 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.213.179 mail-ig0-f179.google.com Received: from [209.85.213.179] ([209.85.213.179:54876] helo=mail-ig0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/E1-05676-0B3C4B25 for ; Fri, 20 Dec 2013 17:24:49 -0500 Received: by mail-ig0-f179.google.com with SMTP id hk11so8312103igb.0 for ; Fri, 20 Dec 2013 14:24:46 -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 :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=v6z9UImC5+dFxxbTEjcUWxVJ4fNhpAOVJB2bpKKqIRc=; b=RL9FbafYHGGRFwiWi6euhhRquSqTrvJWDkEZ1N3oALmQlDAMn+a5NSTgPorSL8fZ9D 4KE/ZE4WjMjjbp1GE5XMDlAlymdpvm2BT2wYHKk2bqI3OvMUX6q+DptZaLuNeFO+7XqD EkslRomQZwCtmE/R40pmgvYlQaYPFen8ZBsEQ0HHifKotpfXE8hUalist/y7NXuIoq0C eBYLjhJYVh+FPlSa9BuGUIKSrIJ8XbQFgJQ7CRbP18q6IGf30DzoBFpZkH7npLWHKiNA d4AtcBi0FAluzY8SgIb1cysEmjiJ21YzCNfBZgChge5QUa103VqKRzXNxHo+51wlhdmu i4eQ== X-Gm-Message-State: ALoCoQmHXPnG/Jkx4CCTL5gDqHFHexIjoD3ZjbipdI67I5P+F1tLN+yoEfS/O8FyumivmK9woDa/ X-Received: by 10.42.177.10 with SMTP id bg10mr7510310icb.18.1387578285959; Fri, 20 Dec 2013 14:24:45 -0800 (PST) Received: from [192.168.2.103] (CPE00131063dcac-CM0011aec551ea.cpe.net.cable.rogers.com. [173.33.237.216]) by mx.google.com with ESMTPSA id kt2sm14165540igb.1.2013.12.20.14.24.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Dec 2013 14:24:45 -0800 (PST) Message-ID: <52B4C3AB.9010909@lerdorf.com> Date: Fri, 20 Dec 2013 17:24:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Tjerk Meesters CC: "internals@lists.php.net" References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: power operator (again) From: rasmus@lerdorf.com (Rasmus Lerdorf) Tjerk, I hadn't noticed this part of your patch before. https://github.com/datibbaw/php-src/commit/f60b98cf7a8371233d800a6faa286ddba4432d02 I don't think this is necessary and it looks odd having pow as a language construct. There is nothing wrong with having pow() as a regular legacy function here. Without this piece I think adding ** is a good idea. -Rasmus