Uploaded January 2021 | Updated November 2026, 3 hours ago
In this PHP tutorial, you will learn the differences between variable functions, anonymous functions, callbacks & closures, and arrow functions. You will also learn another type in PHP called callable type.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!
LESSON 1.24
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
CHAPTERS
00:00 - Intro
00:20 - Variable functions
01:49 - Anonymous functions
02:38 - Closures & accessing variables from the parent scope
03:53 - Callable data type & callback functions
05:41 - Closure vs callable
06:05 - Arrow functions
In this PHP tutorial, you will learn the differences between variable functions, anonymous functions, callbacks & closures, and arrow functions. You will also learn another type in PHP called callable type.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!
LESSON 1.24
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
CHAPTERS
00:00 - Intro
00:20 - Variable functions
01:49 - Anonymous functions
02:38 - Closures & accessing variables from the parent scope
03:53 - Callable data type & callback functions
05:41 - Closure vs callable
06:05 - Arrow functions










