Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84982 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76440 invoked from network); 16 Mar 2015 05:29:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 05:29:29 -0000 Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.217.171 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.217.171 mail-lb0-f171.google.com Received: from [209.85.217.171] ([209.85.217.171:33442] helo=mail-lb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/D2-06614-33A66055 for ; Mon, 16 Mar 2015 00:29:23 -0500 Received: by lbbzq9 with SMTP id zq9so24074665lbb.0 for ; Sun, 15 Mar 2015 22:29:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=bBUszUuNB3r16q3Ot3aKtr+PV6zZ/oVPY2l9FajiwA0=; b=JXYRP5KAifmCnnHBD9ed8Bkxad277vfN6mxwSY3DIkSW52iU8t1MukM8kHuWwBrhum 6sb8/z3UDmMGvyvWaQ/Qk5bqEE8B/PokFKMOspgFrpQ2hyzMpcSIVD/gCdZPT4Um2418 0MqEhZYHHAjbL36XsBhbNIH1eCd+i10d0IoIv8mezDr5bM5WgZSepUK5BuqbBJvqhRSe 9ow1xVXGYHQPsjZvY/aQ72OYlcRhEw1V2ZeBpXGprDRS5hx99OHebf01IR4oGkjLZrGb 7G85CIxvC/cJ421i7+0d6TyXsaXYblTQcLeMhUzg0DSsNPCCn9r/AwvL5YuhSGmG2AE9 kDzQ== X-Gm-Message-State: ALoCoQmqSYH7TPu5YBAzYWdj15j+46xoAK8ko50NeJtnVRSw8HChoc5rrxDb9ZsQCtAiF86qJAT0PoQLhx+CMX4OQwH7gKbeyY8FtqrTQlpXZpK9hNRTgNR8vLNuQes/gUweSRwS3JhNeDtE1mPqtcqCdsNKXdGCdw== X-Received: by 10.112.149.10 with SMTP id tw10mr12845265lbb.78.1426483760298; Sun, 15 Mar 2015 22:29:20 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPSA id q10sm1959377laa.22.2015.03.15.22.29.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Mar 2015 22:29:19 -0700 (PDT) Received: by lbcgn8 with SMTP id gn8so13199090lbc.2 for ; Sun, 15 Mar 2015 22:29:18 -0700 (PDT) X-Received: by 10.112.188.227 with SMTP id gd3mr34338064lbc.0.1426483758397; Sun, 15 Mar 2015 22:29:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.82.99 with HTTP; Sun, 15 Mar 2015 22:28:58 -0700 (PDT) Date: Mon, 16 Mar 2015 13:28:58 +0800 Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: About declare(strict_types = 1) From: laruence@php.net (Xinchen Hui) Hey: The most unaccept feature in current STH thing(v.5.0) is this. acutaly, I believe in most applications, they will still keep this off.. so why we introduce such thing? beside this, I have a question, which is not explained in the RFC: lib.php assuming lib.php is a thrid part library which I want to use it in my project. but I use whole weak types in my project.. thus I simply call add by: that means, I need to add a lots of (int) while I try to call a function in a library which is not written by myself. is that right? thanks -- Xinchen Hui @Laruence http://www.laruence.com/