PHP Classes

PHP 7.2 Release Date and Managers Being Chosen - 7 Minutes Lately in PHP podcast episode 82

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog PHP 7.2 Release Date ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 659

Last month viewers: 1

Categories: Lately in PHP Podcast, PHP opinions

PHP 7.2 development is reaching to the alpha stage in June, hopefully to have a final version released later this year. So for now the release managers are being chosen, so they can start preparing to work on each alpha, beta and release candidate version.

This was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 82 of the Lately in PHP podcast.

In this episode they also talked about other proposals for PHP cache keys for stream wrappers, serialized object validation with is_string, type variants, let range() return a generator, named parameters again, and removing the need for ; on the end of the line .

They also commented on an article about promoting Open Source projects using data mining and business intelligence to boost SEO factors, and using OpenID Connect protocol to implement single sign-on social login systems.

This article also contains a podcast summary as a text transcript and a 5 minute video of the summary.

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




Loaded Article

Contents

Introduction (0:17)

Transcript Summary (1:43)

PHP 7.0.18, 7.1.4 released

Discussion: Scalar Type Casting

PHP 7.2 Timetable

RFC: PDO Float Type

A replacement for the Serializable interface

Improve the filter extension

dynClass as a better PHP stdClass

How to Install Laravel 5 Framework on Ubuntu

Chrome ERR_BLOCKED_BY_XSS_AUDITOR PHP Solution to Avoid Bogus Cross-Site Scripting Detection

JavaScript Innovation Award Winners of January 2017 (56:16)

JavaScript Innovation Award Rankings of 2017 (1:05:52)

PHP Innovation Award Winners of January 2017 (1:07:41)

PHP Innovation Award Rankings of 2017 (1:15:29)

Conclusion (1:18:13)


Contents

Transcript of the summary

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

Watch the podcast video, subscribe to the podcast YouTube channel

Transcript Summary

So we are going to start precisely with the latest PHP versions starting precisely by PHP 7.0.17 which has bunch of bugs being fixed, nothing really unusual except maybe for this one, this bug here that mentions incomplete post does not timeout but is passed to PHP.

This means that before this bug was fixed PHP was not handling for instance when maybe a request was aborted but the server did not realize that probably the user canceled the request or there was a disconnection in the user network, probably during an upload because this is for a post request and even after an eventual timeout period PHP was getting the request as if the request actually completed.

So this is maybe an interesting thing that handled, yes there is nothing for you to to change in your code. Now you need to anticipate incomplete post requests, kind of know, file not uploaded fully maybe, I really don't know how they are handling it internally. I think this means that if the post failed it will not be passed to PHP after a timeout. That's what I assume.

Well, anyway this is just one thing and another thing is more or less the same bugs were fixed in PHP 7.1.

The next thing that we are going to comment is proposing a new cache key for for streams operations. This means that PHP will be able to handle code that is probably being loaded from PHAR archive and if the code is being loaded multiple times the caching mechanism for the opcode cache will already be able to figure that it is the same PHAR archive that is being loaded.

Next we are going to talk about is_string which is a proposal for having a sort of validation for converting and serialized objects into new objects, so is_string would be a function that would allow to validate if a string really has a valid object of a certain class.

Next we have a discussion about type variants like for instance a class that receives a parameter of type rectangle it would also be able to accept square as a variant of rectangle because it would have a function named __match that you just confirm that it would be really a square but it would still be a rectangle.

Next we have a proposal here to have a variant of the range function that will act like a generator. Generators are those things that are a bit abstract to explain but basically they return sequences of values that would allow you to treat those sequences and if you they were arrays being iterated.

OK we'll get back to this to explain it better during this podcast but next we are going to talk of the proposal of named parameters that somehow got on hold a few years ago, having named parameters for functions somehow similar to the Python language.

Next we are going to talk about a a proposal, actually a discussion because probably this is not going through but it is to not needing to have a semicolon to end commands more or less like JavaScript, it would treat end of lines of a eventual end of command separator.

Next we are going to talk about the plans for releasing PHP 7.2 because the PHP 7.2 also is scheduled to happen around June, so they are already preparing to elect people that will take care of this release because we are getting closer, we are already only two months away from that date.

Next we are talking about a discussion about directory separators in paths of files and directories on windows because windows also accepts the forward slash like in Linux. There is a discussion about this topic to handle it better.

Finally we will just comment on a couple of articles posted on PHP Classes site blog, one about using data mining and business intelligence methods to improve the visibility of PHP packages, PHP articles, projects in general that using basically search engine optimization techniques based on data mining and the business intelligence to improve the visibility of these pages on Google for instance.

Finally we just talk briefly about an article that will explain about OpenID Connect and the way to implement it with OAuth 2 client but it would also help to implement those so called social login functionality that is seen in many sites that allow you to login in a site without having to actually create an account for going through the whole process to register just benefiting from accounts that you have for instance in Facebook or Google something else.

Click on the Play button to listen now.


Download Size: 70MB Listeners: 2163

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.

7 Minute Summary Video

Complete Video

Subscribe PHP Classes channel on Livecoding.tv to watch next recording live.

Show notes




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

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog PHP 7.2 Release Date ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)