PHP Classes

Improving PHP Possibilities Overriding Built-in PHP Functions - 3 Minutes Lately in PHP podcast episode 87

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


Viewers: 426

Last month viewers: 2

Categories: Lately in PHP Podcast

PHP provides many built-in functions that are widely used. One way to improve the possibilities of PHP could be to override the built-in functions with user defined code.

The discussion for the support for this possibility was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 87 of the Lately in PHP podcast.

In this episode they also talked about the the latest PHP 7.2.0 release candidate versions, using double as indexes of arrays, allowing default values in the list() command, the story of the PHP unserialize function, the world elephant day, creating a CAPTCHA solver with a PHP OCR class and fixing the year 2038 problem with a better time handling class.

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

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

Loaded Article


Introduction (0:17)

Podcast Summary (1:10)

PHP 7.0.23, 7.1.8, 7.2.0 Beta 2, 7.2.0 RC 1 released (3:44)

Double Value As Array Key Improvement (4:37)

RFC: Allow default value in list() syntax (7:23)

Proposal: Easy method of overriding built-in php functions (8:48)

Understanding PHP Unserialize (11:24)

World Elephant Day (14:27)

How to Create a PHP CAPTCHA Solver with a PHP OCR Class (15:37)

How to Implement a Year 2038 Problem Fix in PHP Applications that Are Using Unix Timestamps (17:49)

JavaScript Innovation Award Winners of June 2017 (20:58)

JavaScript Innovation Award Rankings of 2017 (21:41)

PHP Innovation Award Winners of June 2017 (23:24)

PHP Innovation Award Rankings of 2017 (35:32)

Conclusion (37:49)


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

Watch the podcast video, subscribe to the podcast YouTube channel

Now first we are going to comment briefly about the topics that we are going to talk in this month podcast.

First as usual we comment about the latest PHP versions, latest releases. The PHP 7.2.0 release candidate is already out but it is still has a few release candidates to go.

Next we talk about a proposal, a discussion about what happens when we use double values as indexes of arrays.

Next we talk about a proposal to have a sort of default values of list assignment when you have an array that you want to assign to different variables you can specify some defaults when the array positions do not have elements.

Next we are going to talk about an easy method of overriding built-in PHP functions. This is a good proposal if it would pass of course.

Next we are going to talk about this article that talks about the history of unserialize and serialize that is used on PHP.

Next we talk about the world elephant day. It is not specific to PHP but since the elephant is the mascott of PHP, this just would be nice to remember.

Next we are going to talk about a couple of articles, one about how to create a PHP CAPTCHA solver, using a class that is named PHP OCR that will recognize characters in an image and it will hopefully correct identify them. Not very fancy, it is not even a complete CAPTCHA solution but it would do something interesting.

Next we have another article, this time is about implementing a fix for the year 2038 problem that as you know it will affect computers that still rely on 32 bit numbers for referencing dates releated to 1970 January first.

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

Click on the Play button to listen now.

Download Size: 34MB Listeners: 5572

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.

3 Minutes Summary Video

Complete Video

Subscribe PHP Classes channel on 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:


No comments were submitted yet.

  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Improving PHP Possibi...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)