PHP Classes
PHP Classes
elePHPant
Icontem

PHP Using Too Much Memory - Lately in PHP podcast episode 73

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog PHP Using Too Much Me...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2016-12-23

Posted on:

Categories: Lately in PHP Podcast, News

PHP memory usage can be limited in its configuration, but there are some cases that may cause PHP to request a very large amount of memory, in some cases due to bugs.

That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in the episode 73 of the Lately in PHP podcast hangout.

They also talked about the latest proposals for PHP next versions like throwing exceptions when a function call misses a required argument, getting name of a type of variable consistent with type hinting naming, making PHP extension throw exception on errors, and the end of life of PHP 5.5 and PHP 7.1.0 feature freeze and the latest alpha releases.

This article includes a transcript of the podcast summary.

Listen to the podcast, or watch the hangout video, or read the summary transcript to learn more about these interesting PHP topics.




Contents

Introduction (0:20)

Summary (2:31)

PHP 5.5.37, 5.6.23, 7.0.8 released (6:22)

PHP 5.5 EOL (7:39)

PHP 7.1.0 Alpha and Feature Freeze (8:48)

RFC: Replace "Missing argument" warning with "Too few arguments" exception (10:58)

Proposal: Typeof and var_type and var_info (13:14)

RFC: Throw errors in extensions (17:26)

The misterious cases of PHP using too much memory (19:09)

PHP Classes Completed 17 Years: A New Type of Classes (26:28)

The Initiative to Help Developers to Evolve in their Careers Selling Software Products that they will develop (38:37)

JavaScript Innovation Award Winners of February 2016 (51:26)

JavaScript Innovation Award Rankings of 2016 (1:00:09)

PHP Innovation Award Winners of February 2016 (1:02:31)

PHP Innovation Award Rankings of 2016 (1:09:13)

Conclusion (1:11:59)


Contents

Listen or download the podcast, RSS feed and subscribe in iTunes

Watch the podcast video, subscribe to the podcast YouTube channel

Transcript of the summary


Click on the Play button to listen now.


Download Size: 62MB Listeners: 903

Introduction music Harbour used with explicit permission from the author Danilo Ercole, from Curitiba, Brazil

View Podcast in iTunes

In iTunes, use the Subscribe to Podcast... item of the Advanced menu, and then enter the URL above to subscribe to this podcast.

Watch the podcast video

Note that the timestamps below in the transcript may not match the same positions in the video because they were based on the audio timestamps and the audio was compacted to truncate silence periods.

See the Lately in PHP podcast play list on YouTube and Subscribe to this channel there.

Show notes

Summary Transcript

First we cover about the latest versions of PHP 5.5.37, 5.6.23, 7.0.8. Then we comment about the fact that PHP 5.5 end of life is coming this month, so they are figuring if they will do one more release or not. Then we talk about PHP 7.1.0 that will come to a feature freeze as I mentioned before, which means nobody can submit proposals after this.

Then we talk about several RFC, starting with one of throwing exceptions when a function is called with some missing arguments.

Then we talk about a discussion that went through several proposals to have first it was called typeof, a sort of an operator to get the names of types of certain variables and expressions, but the author proposal evolved into a RFC about var_type and then finally he called it var_info, which is something that he came up, after some discussions in the PHP internals mailing list.

Then we will be talking about a proposal to throw errors, I am not sure it it would be errors or throw exceptions in extensions because most things now in PHP can throw exceptions but some functions of extensions do not yet throw exceptions, so the idea would be to make it consistent, so everything that goes wrong can throw exceptions.

Then there was an interesting discussion about misterious reasons why PHP also starts allocating too much memory. And there was several people talking about several possibilities, so we will talk about it then.

Then finally there is an article 17 birthday of PHP Classes which basically covers the latest features that were implemented in the site and some related with something more recent which is the support for the Zephir packages. Zephir is a language derived from PHP but it is more strict and as well PHP 7, I mean there is now a category of packages that are PHP 7 specific.

Here we also comment about the initiative to help developers to evolve in their careers selling software products that they will develop.




You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog PHP Using Too Much Me...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)