Learn Functional Programming in PHP
INTERACTIVE COURSE

Learn Functional Programming in PHP

Intermediate

76 Lessons

25h

Certificate of Completion

AI Explanations
AI Explanations
Learn Functional Programming in PHP
106 Playgrounds
18 Challenges
7 Quizzes
34 Illustrations

Takeaway Skills

A basic understanding of the core concepts of the functional programming paradigm including function composition, immutability, and referential transparency

A working knowledge of functors and monads—handling I/O and neatly processing errors without exceptions

An ability to parallelize tasks in PHP using RabbitMQ and PCNTL

Hands-on experience in writing applications

Course Overview

Functional programming is a paradigm that emphasizes expressing program logic as compositions of pure functions. PHP is a good fit for functional programming as functions are first-class citizens in its userland. This course introduces you to the core concepts of functional programming, like pure functions, immutable data structures, and referential transparency. From there, you'll explore ways to handle errors with default values and callbacks while also exploring sum types such as Either or Maybe. Next,...Show More

Course Content

1

Getting Started

2

An Introduction to Functional Programming in PHP

3

Core Concepts: Functional Programming in PHP

4

Composition and Helper Functions

5

Error Handling in Functional Programming

6

Functors in PHP

9 Lessons

7

Parallelization of Tasks in PHP

8 Lessons

8

Recursion, Pattern Matching, and Property Testing

7 Lessons

9

Phonebook Application — A Simple Project

5 Lessons

10

Conclusion

1 Lesson

11

Appendix

3 Lessons

How You'll Learn

Hands-on Coding Environments

You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.

2x Faster Learning — With No Setup

Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.

AI-Powered Learning

Learn faster and smarter with adaptive AI tools embedded in every Educative course.

Progress You Can Show

Built-in assessments let you test your skills. Completion certificates let you show them off.

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath