Hi,
2015-07-11 15:41 GMT-03:00 Sebastian Bergmann :
> Am 11.07.2015 um 19:53 schrieb S.A.N:
>> It will be useful for autocomplete in IDE
>
> That argument is bogus since proper IDEs (PhpStorm, fex.) leverage
> docblock annotations for that already.
>
> --
> PHP Internals - PHP Runtime Developmen
On Sun, Jul 12, 2015 at 2:52 AM Ralph Schindler
wrote:
> Hi all,
>
> I am conflicted as per if what I experience in this code should be
> throwing a notice in E_STRICT:
>
> http://3v4l.org/srm5f
>
>error_reporting(E_ALL);
>$foo = ['bar' => ['baz' => 5]];
>$bar = ['box' => 'baz'];
On 07/10/2015 11:57 PM, Kris Craig wrote:
On Fri, Jul 10, 2015 at 7:07 PM, Larry Garfield
wrote:
On 07/10/2015 07:37 PM, Kris Craig wrote:
On Fri, Jul 10, 2015 at 2:39 PM, Larry Garfield
wrote:
On 7/10/15 3:27 PM, Dean Eigenmann wrote:
Hello,
I have a proposal for PHP. The proposed i
On Sat, Jul 11, 2015 at 12:41 PM, Sebastian Bergmann
wrote:
> Am 11.07.2015 um 19:53 schrieb S.A.N:
> > It will be useful for autocomplete in IDE
>
> That argument is bogus since proper IDEs (PhpStorm, fex.) leverage
> docblock annotations for that already.
>
> Agreed. I don't know any IDE mean
Hi all,
I am conflicted as per if what I experience in this code should be
throwing a notice in E_STRICT:
http://3v4l.org/srm5f
['baz' => 5]];
$bar = ['box' => 'baz'];
// this will Notice: Undefined index: boom
var_dump(isset($foo['bar'][$bar['boom']]));
Essentially, my expectatio
Am 11.07.2015 um 19:53 schrieb S.A.N:
> It will be useful for autocomplete in IDE
That argument is bogus since proper IDEs (PhpStorm, fex.) leverage
docblock annotations for that already.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.ph
+1
It will be useful for autocomplete in IDE
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
With all the new typing and strict mode in PHP7, I'm wondering if there is
any planned support for typing of properties in a future version. IE
something like:
class Foo {}
class Bar {
public Foo $foo;
public function __construct(Foo $foo) {
$this->foo = $foo;
}
}
This seems real