Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78246 invoked from network); 23 May 2016 13:47:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 13:47:15 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.219 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.219 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.219] ([81.169.146.219:51716] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/78-14293-1E903475 for ; Mon, 23 May 2016 09:47:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1464011230; l=3314; s=domk; d=kelunik.com; h=Content-Type:To:Subject:Date:From:In-Reply-To:References: MIME-Version; bh=815CC72Oi2xp8HU0OhfqoUEO+n3SV2BiHWZ8fAfx/6w=; b=pYj4Dc/QE/4/IY1USE6DDuadxUzHgZt+zu8ZFomuMnqu7OLnN5jRoDl5dHHBNikLquw BT3D6ri7Z6FVIfGf5596nj590oBTHLpOisUpGM1SffNOaQOjcWtWQg/VRadQZo8vw0iIl BGFhm2b6eP4ccwKJex4g2Lyn7NQC9uLQvJ4= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtOnA6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f53.google.com ([74.125.82.53]) by smtp.strato.de (RZmta 37.27 AUTH) with ESMTPSA id z0708ds4NDl9XH7 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Mon, 23 May 2016 15:47:09 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id a136so23525180wme.0 for ; Mon, 23 May 2016 06:47:09 -0700 (PDT) X-Gm-Message-State: AOPr4FUtPaF+gatDgFpH3Vci0tQnH4/ckIpJBvdTdw9Lh1NGygiiFl4DGE8i8Qa3gjkHw+JcbsUpH3aT+MEOYw== X-Received: by 10.194.11.97 with SMTP id p1mr16394798wjb.159.1464011229483; Mon, 23 May 2016 06:47:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 23 May 2016 13:46:59 +0000 X-Gmail-Original-Message-ID: Message-ID: To: Dmitry Stogov , Joe Watkins , PHP internals , Phil Sturgeon Content-Type: multipart/alternative; boundary=047d7b4508e447fa7d053382ada0 Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: me@kelunik.com (Niklas Keller) --047d7b4508e447fa7d053382ada0 Content-Type: text/plain; charset=UTF-8 Dmitry Stogov schrieb am Mo., 23. Mai 2016 14:48: > Should this work? > > class C { > public double $x; > } > $o = new C; > $o->x = 5; > ?> > > Currently this leads to PHP Fatal error: Uncaught TypeError: Typed > property C::$x must be an instance of double, integer used in > /home/dmitry/php/php-master/CGI-DEBUG/prop.php:6 > Do you mean "float"? > > ________________________________________ > From: Joe Watkins > Sent: Friday, May 20, 2016 9:05:34 AM > To: PHP internals; Phil Sturgeon > Subject: [PHP-DEV] [RFC][Vote] Typed Properties > > Morning internals, > > Since we have our answer on nullable types, typed properties can now go > to vote. > > https://wiki.php.net/rfc/typed-properties#vote > > Note that, support for nullability as RFC'd will be merged when the > implementation for nullable_types is merged into master. > > Please participate. > > Cheers > Joe > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --047d7b4508e447fa7d053382ada0--