Gain insights into functional programming in PHP. Learn about pure functions, immutable data, and monads. Explore error handling and apply principles through practical projects.
Join 2.6 million developers at
Table of Contents
Learner Reviews
Related Content
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
Functional programming is a paradigm that emphasizes expressing program logic as compositions of pure functions. PHP is a good f...Show More
WHAT YOU'LL LEARN
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
A basic understanding of the core concepts of the functional programming paradigm including function composition, immutability, and referential transparency
Show more
TAKEAWAY SKILLS
Functional Programming
Functors
Monads
Recursion
Mutability
Course Content
76 Lessons7 Quizzes18 Challenges
1.
Getting Started
1 Lessons
Get familiar with core functional programming concepts and advanced techniques in PHP.
Trusted by 2.6 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Carlos Matias La Borde
Software Developer
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
"I've tried probably 5-7 different sites and Educative is easily the best. It perfectly blends explanation with interactivity"
Eric Downs
Musician/Entrepeneur
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
Instant Code Feedback
Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.
AI-Powered Mock Interviews
Put your skills to the test in a simulated interview setting. Receive personalized feedback based on your performance. Available in Premium & Premium Plus plans.
Adaptive Learning
At various checkpoints throughout Educative courses, you will be prompted to take a quick assessment. Receive a condensed curriculum tailored to your strengths and skill gaps.
Explain with AI
Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.
AI Code Mentor
AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!