Re: [PHP-DEV] Core functions throwing exceptions in PHP7

2015-07-14 Thread Scott Arciszewski
On Tue, Jul 14, 2015 at 5:10 PM, Dean Eigenmann wrote: > Would a PHP Error not work in this case? Or would the error then be > interpreted as the result? > > >> On 14 Jul 2015, at 23:04, Sammy Kaye Powers wrote: >> >> Hello lovely PHP nerds, >> >> There are two open PR's for PHP7 to modify the b

Re: [PHP-DEV] Core functions throwing exceptions in PHP7

2015-07-14 Thread Dean Eigenmann
Would a PHP Error not work in this case? Or would the error then be interpreted as the result? > On 14 Jul 2015, at 23:04, Sammy Kaye Powers wrote: > > Hello lovely PHP nerds, > > There are two open PR's for PHP7 to modify the behavior of the CSPRNG's: > > https://github.com/php/php-src/pull

[PHP-DEV] Core functions throwing exceptions in PHP7

2015-07-14 Thread Sammy Kaye Powers
Hello lovely PHP nerds, There are two open PR's for PHP7 to modify the behavior of the CSPRNG's: https://github.com/php/php-src/pull/1397 (main discussion) https://github.com/php/php-src/pull/1398 Currently the random_*() functions will issue a warning and return false if a good source of random

[PHP-DEV] VCS Account Request: edgarsandi

2015-07-14 Thread Edgar R. Sandi
Hi @Internals! Submitting my CVS Account Request again! > Developing the PHP runtime > > Maintaining an official, bundled PHP extension > > Maintaining the documentation > > Translating the documentation > > Maintaining php.net > > For reference (and as a gentle reminder): > < > https://github.c

Re: [PHP-DEV] PHP7 and types

2015-07-14 Thread Levi Morrison
On Tue, Jul 14, 2015 at 3:51 AM, Sebastian B.-Hagensen wrote: > 2015-07-14 11:05 GMT+02:00 S.A.N : >> Maybe implement getter/setter as ECMAScript 6? >> >> class Person >> { >> get name ():string { return $this._name } >> set name (string $value) { $this._name = $value } >> } > >

[PHP-DEV] Quick introduction for apply as a new PHP wiki user

2015-07-14 Thread Dmytro Zarezenko
Hello. I am an experienced web-developer with 10+ years of custom PHP development experience. I am also a contributor of PHPClasses http://www.phpclasses.org/browse/author/253509.html and author of Asymptix PHP Framework on GitHub https://github.com/dzarezenko/Asymptix-PHP-Framework .. Lives in

Re: [PHP-DEV] Introducing ChangeLog-7.php to the website

2015-07-14 Thread Ivan Enderlin
+1 for this proposal (`ChangeLog-7.0`). On 14/07/15 14:02, Johannes Schlüter wrote: On Tue, 2015-07-14 at 02:27 +0300, Lior Kaplan wrote: Hi, With the release of 7.0.0 beta 1 I think it's time we introduce ChangeLog-7.php to the website. Both ChangeLog-4.php and ChangeLog-5.php have started w

Re: [PHP-DEV] Introducing ChangeLog-7.php to the website

2015-07-14 Thread Johannes Schlüter
On Tue, 2015-07-14 at 02:27 +0300, Lior Kaplan wrote: > Hi, > > With the release of 7.0.0 beta 1 I think it's time we > introduce ChangeLog-7.php to the website. > > Both ChangeLog-4.php and ChangeLog-5.php have started with the first Beta > of the major releases. Maybe ChangeLog-7.0 so we have

Re: [PHP-DEV] PHP7 and types

2015-07-14 Thread S.A.N
Yes, I think the compiler could compile the expression class Bar { public Foo $foo; // That is shorthand getter/setter... } to class Bar { get foo():Foo {return $this->_foo}; set foo(Foo $obj) {$this->_foo = $obj}; } -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

Re: [PHP-DEV] PHP7 and types

2015-07-14 Thread Sebastian B.-Hagensen
2015-07-14 11:05 GMT+02:00 S.A.N : > Maybe implement getter/setter as ECMAScript 6? > > class Person > { > get name ():string { return $this._name } > set name (string $value) { $this._name = $value } > } Which was rejected some time ago. (34 vs 22 in favor): https://wiki.php.net

Re: [PHP-DEV] PHP7 and types

2015-07-14 Thread S.A.N
Maybe implement getter/setter as ECMAScript 6? class Person { get name ():string { return $this._name } set name (string $value) { $this._name = $value } } -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php