Замыкания (closures) в PHP - #ГлазамиФрилансера

Anonymous functions in PHP have unique properties. We use them very often, but often we do it mechanically, without delving deeply into what actually happens every time we call an anonymous function. But don't we want to become a PHP pro? In this video lesson, let's take a detailed look at how anonymous functions are arranged in PHP, how they are organized from the point of view of OOP (object-oriented programming), what meaning the term "closure" carries, and what interesting effects can be achieved using these elements of the language. The content of the video "Closures in PHP": 00:00 What is it about 01:12 Example without closures 03:15 Anonymous function 04:35 Closure Class 05:51 Closure Constructor 06:57 Context of $this and method ::call() 09:24 Why "closure"? 12:20 Importing a method from a class 14:20 Importing a private method 18:21 First class callable syntax 19:39 Conclusion You can receive announcements of new videos in the telegram channel https://t.me/freelancer_eyes

Генераторы (generators) в PHP | Глазами фрилансера
▶︎

Генераторы (generators) в PHP | Глазами фрилансера

PHP 8.1: enums. Что это такое и с чем их едят?
▶︎

PHP 8.1: enums. Что это такое и с чем их едят?

Rust live coding ➜ The building of AIProg for zcoder - Part 2 - Tool Calling to Porgram Running
▶︎

Rust live coding ➜ The building of AIProg for zcoder - Part 2 - Tool Calling to Porgram Running

Goodbye, Gitflow! Hello, Trunk-based development!
▶︎

Goodbye, Gitflow! Hello, Trunk-based development!

Объекты и структуры данных (DTO, Active Records, закон Деметры) - По книге Р. Мартина "Чистый код"
▶︎

Объекты и структуры данных (DTO, Active Records, закон Деметры) - По книге Р. Мартина "Чистый код"

Using Large Language Models | Build Your Own LLM Workshop #1
▶︎

Using Large Language Models | Build Your Own LLM Workshop #1

Ракетная опасность в Подмосковье. Скандал из-за мобилизации в Пензе. Соловьев готов пойти в снайперы
▶︎

Ракетная опасность в Подмосковье. Скандал из-за мобилизации в Пензе. Соловьев готов пойти в снайперы

Ecuador vs. Germany Highlights FIFA World Cup 2026 | Sportschau
▶︎

Ecuador vs. Germany Highlights FIFA World Cup 2026 | Sportschau

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones
▶︎

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

Across the World Without Internet
▶︎

Across the World Without Internet

Ecuador – Deutschland Highlights | Gruppe E, FIFA WM 2026 | sportstudio
▶︎

Ecuador – Deutschland Highlights | Gruppe E, FIFA WM 2026 | sportstudio

Узнай все, почему не растут твои мышцы, в одном видео. Тренировки, питание, генетика
▶︎

Узнай все, почему не растут твои мышцы, в одном видео. Тренировки, питание, генетика

Вебинар "Брокеры сообщений для аналитика"
▶︎

Вебинар "Брокеры сообщений для аналитика"

Laravel-data от Spatie: просто и со вкусом! Описание библиотеки.
▶︎

Laravel-data от Spatie: просто и со вкусом! Описание библиотеки.

Device Searches 2026: What the FSB Looks for at the Border and How to Hide Your Data
▶︎

Device Searches 2026: What the FSB Looks for at the Border and How to Hide Your Data

Clean Code. No. 2: Cleaning Functions. Theory and Practice. Based on the book by Robert Martin
▶︎

Clean Code. No. 2: Cleaning Functions. Theory and Practice. Based on the book by Robert Martin

How to Trick the Military Registration and Enlistment Office? 10 Ways to Leave Russia in 2026
▶︎

How to Trick the Military Registration and Enlistment Office? 10 Ways to Leave Russia in 2026

Flow State Music | No Lyrics Creative Flow Music - Ultimate Work Flow Music For Focus Mode
▶︎

Flow State Music | No Lyrics Creative Flow Music - Ultimate Work Flow Music For Focus Mode

All about SOLID principles
▶︎

All about SOLID principles