[PHP-DEV] PHP 5.4.36 Released

2014-12-19 Thread Stanislav Malyshev
Hello!

The PHP development team announces the immediate availability of PHP
5.4.36. Two security-related bugs were fixed in this release, including
the fix for CVE-2014-8142. All PHP 5.4 users are encouraged to upgrade
to this version.

For source downloads of PHP 5.4.36 please visit our
downloads page: http://www.php.net/downloads.php

Windows binaries can be found on http://windows.php.net/download/

The list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-5.php#5.4.36

Stanislav Malyshev
PHP 5.4 RM

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Abstract final / Static classes

2014-12-19 Thread guilhermebla...@gmail.com
Hi Pascal,

I said this earlier, but considering purely namespaced functions and
autoloading is not the same as static classes. Namespaced functions doesn't
have support for variables and that's a huge strike against it and in favor
of static classes.

Cheers,

On Thu, Dec 18, 2014 at 6:54 PM, Pascal Martin, AFUP 
mail...@pascal-martin.fr wrote:

 On 12/12/2014 17:12, guilhermebla...@gmail.com wrote:

 Patches are now complete and voting phase starts now and will be active
 until 12/19/2014.

 https://wiki.php.net/rfc/abstract_final_class


 Hi,

 After speaking about this RFC with other members of AFUP, we would be on
 the -1 side for this.

 Summarizing our thoughts :
  *  static classes should not be encouraged
  *  if the goal is to have a set of utility functions, they can be set up
 in a namespace -- being able to autoload functions could prove useful,
 though.

 --
 Pascal MARTIN, AFUP - French UG
 http://php-internals.afup.org/


 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
Guilherme Blanco
MSN: guilhermebla...@hotmail.com
GTalk: guilhermeblanco
Toronto - ON/Canada


[PHP-DEV] PHP 5.5.20 is available

2014-12-19 Thread Julien Pauli
Hello!

The PHP development team announces the immediate availability of PHP 5.5.20.
This release fixes several bugs and one CVE in the unserialisation
algorithm.

All PHP 5.5 users are encouraged to upgrade to this version.

For source downloads of PHP 5.5.20 please visit our
downloads page: http://www.php.net/downloads.php

Windows binaries can be found on http://windows.php.net/download/

The full list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-5.php#5.5.20

Julien Pauli  David Soria Parra


[PHP-DEV] PHP 5.6.4 is available

2014-12-19 Thread Ferenc Kovacs
Hello!

The PHP development team announces the immediate availability of PHP 5.6.4.
This release fixes several bugs and one CVE related to unserialization.

All PHP 5.6 users are encouraged to upgrade to this version.

For source downloads of PHP 5.6.4 please visit our
downloads page: http://www.php.net/downloads.php

Windows binaries can be found on http://windows.php.net/download/

The full list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-5.php#5.6.4

Ferenc Kovacs  Julien Pauli


[PHP-DEV] Re: [ANNOUNCE] PHP 5.4.36 Released

2014-12-19 Thread adjptwm

  Von: Stanislav Malyshev smalys...@gmail.com
 An: php-annou...@lists.php.net; PHP Internals internals@lists.php.net; 
php-gene...@lists.php.net 
 Gesendet: 10:44 Freitag, 19.Dezember 2014
 Betreff: [ANNOUNCE] PHP 5.4.36 Released
   
Hello!

The PHP development team announces the immediate availability of PHP
5.4.36. Two security-related bugs were fixed in this release, including
the fix for CVE-2014-8142. All PHP 5.4 users are encouraged to upgrade
to this version.

For source downloads of PHP 5.4.36 please visit our
downloads page: http://www.php.net/downloads.php

Windows binaries can be found on http://windows.php.net/download/

The list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-5.php#5.4.36

Stanislav Malyshev
PHP 5.4 RM

-- 
PHP Announcements Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



   

Re: [PHP-DEV] [RFC] Nullsafe calls

2014-12-19 Thread Josh Watzman
On Dec 12, 2014, at 11:09 AM, Josh Watzman jwatz...@fb.com wrote:

 On Dec 10, 2014, at 11:24 PM, Stanislav Malyshev smalys...@gmail.com wrote:
 
 the real-world code I've seen, it is the least confusing. (I'll see
 
 Which real-world code you are talking about? Examples please.
 
 I'm having trouble digging any up -- FB's codebase has 10k occurrences of 
 this feature and I have yet to find a single one where the short circuit 
 matters or not -- so maybe my recollection and intuition here are just wrong. 
 I'll keep digging and thinking about this. Not convinced yet, but starting to 
 feel less strongly about it.

I've moved the RFC back to draft while I think about this more. I've very 
quickly summarized what turns out to be at least *three* possibilities for this 
behavior in the open issues section of the RFC. I need to think through those 
ideas more, as well as investigate implementation feasibility, to see what 
makes sense, and will resubmit for further discussion once I've done that. (No 
sense in deciding one particular behavior is right and it turns out to be 
basically impossible to implement!)

Thanks for the comments everyone!
Josh Watzman


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Abstract final / Static classes

2014-12-19 Thread Tjerk Meesters

 On 13 Dec 2014, at 00:35, guilhermebla...@gmail.com wrote:
 
 RFC is updated exposing both possible usages with both explanations.
 Hope it doesn't confuse even more.

Hi, in your As static class” example, it doesn’t really demonstrate that you 
can omit the “static” modifier from the function declarations.

Also, it’s not clear if the same applies to “As abstract final”.

 
 On Fri, Dec 12, 2014 at 11:30 AM, Florian Margaine flor...@margaine.com
 wrote:
 
 Hi,
 
 Le 12 déc. 2014 17:28, guilhermebla...@gmail.com 
 guilhermebla...@gmail.com a écrit :
 
 It's part of the history of that RFC, accessible here:
 https://wiki.php.net/rfc/abstract_final_class?rev=1417060830
 
 
 But then it isn't clear as of right now. What is proposed? The example?
 The votes? What does `final` has to do with `static`?
 
 I'm confused.
 
 On Fri, Dec 12, 2014 at 11:18 AM, Florian Margaine flor...@margaine.com
 wrote:
 
 Hi,
 
 
 
 On Fri, Dec 12, 2014 at 5:12 PM, guilhermebla...@gmail.com 
 guilhermebla...@gmail.com wrote:
 
 Hi internals,
 
 After a good round of discussion, I updated the original abstract
 final
 class proposal into a static class proposal.
 However, I kept both patches online so it's up to voters decide which
 one
 it could be implemented.
 Patches are now complete and voting phase starts now and will be active
 until 12/19/2014.
 
 As this is a language update, it requires 2/3 pro or against the
 feature.
 
 https://wiki.php.net/rfc/abstract_final_class
 
 
 Why does the example use `final`?
 
 final static class Environment
 {
private static $rootDirectory = '/var/www/project';
public static function getRootDirectory()
{
return self::$rootDirectory;
}
 }
 
 Also, the vote presents 2 options. The RFC is in a weird state where it
 mentions abstract final but doesn't explain anything about them. The
 votes don't seem to be what the example is...
 
 Could you edit your RFC?
 
 
 
 
 Happy voting!
 
 Regards,
 
 --
 Guilherme Blanco
 MSN: guilhermebla...@hotmail.com
 GTalk: guilhermeblanco
 Toronto - ON/Canada
 
 
 Cheers,
 --
 Florian Margaine
 
 
 
 --
 Guilherme Blanco
 MSN: guilhermebla...@hotmail.com
 GTalk: guilhermeblanco
 Toronto - ON/Canada
 
 Cheers,
 Florian
 
 
 
 -- 
 Guilherme Blanco
 MSN: guilhermebla...@hotmail.com
 GTalk: guilhermeblanco
 Toronto - ON/Canada


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php