Room to unfoldA broad violet ribbon folds through open space, with an ink edge built from a regular field of pixels.Original Kodivo vector artwork prepared with AI assistance. Tonal marks use an 8 by 8 Bayer threshold matrix on a 3-unit grid. No random noise, continuous gradients, fonts, filters, or external assets.
Sample PHP lesson
Kodi
Meet Kodi
Your learning companion.
Lesson preview
Your first output
Write your first message
This PHP program writes a message. echo sends the text between the quotes to the output; the syntax itself is not printed.
PHP
<?php
echo 'Hello, PHP!';
Output
Hello, PHP!
Read the syntax
Start with <?php followed by a line break. Then read the echo statement as three parts:
PHP
<?php
echo 'Hello, PHP!';
echo is the instruction that writes the text.
Single quotes enclose a string: a piece of text.
The semicolon finishes this statement.
Change the message
Change the text inside the quotes to choose a different message. Keep the surrounding syntax. echo does not add a line break of its own.
Adapted explanations based on the cited PHP manual sections. Lesson wording, examples, and illustration were prepared for this project with AI assistance. This is not an official PHP course.
The first signalA folded violet ribbon opens into widening elliptical waves around a small amber point. Regular Bayer-dithered pixels give the abstract signal depth as it emerges into open space.Original Kodivo artwork prepared with AI assistance. Ordered dithering uses a repeating 8 by 8 Bayer threshold matrix on a 3-unit grid. Static vector paths; no random noise, fonts, scripts, animation, filters, or external assets.
Learn card by card
Documentation, made approachable.
Read a short explanation, see the code and its output, then swipe or click to the next card. Follow the source links for more detail.
Explore PHP through code and output, or practice giving an AI agent a clear task and checking its work.
Follow a value through code.
PHP
A place for an ideaTwo open, dithered forms are joined by a small amber stream, suggesting a value finding a place.Original Kodivo vector artwork prepared with AI assistance. Tonal marks use an 8 by 8 Bayer threshold matrix on a 3-unit grid. No random noise, continuous gradients, fonts, filters, or external assets.
Store a name in a variable, use it in a greeting and predict what PHP prints. Compare your answer with the code's output.
Give an agent a clear task.
Coding with AI
A shared directionThree broad dithered ribbons converge into a defined amber direction, suggesting a focused instruction.Original Kodivo vector artwork prepared with AI assistance. Tonal marks use an 8 by 8 Bayer threshold matrix on a 3-unit grid. No random noise, continuous gradients, fonts, filters, or external assets.
Turn âfix my appâ into a focused request. Describe what should change and what must stay the same.
Check what actually works.
Coding with AI
Where results alignTwo offset violet and ink orbits align around an amber point, suggesting a result compared with its expectation.Original Kodivo vector artwork prepared with AI assistance. Tonal marks use an 8 by 8 Bayer threshold matrix on a 3-unit grid. No random noise, continuous gradients, fonts, filters, or external assets.
Read an agent's report and look for evidence. For a Save button, check whether the note is still there after reopening it.
Know when AI is adding too much.
Learning the basics helps you explain what you want and check the code you get back. You can spot unnecessary boilerplate and ask for a simpler solution.
A clear path through complexityA broad violet ribbon folds into an interwoven knot around a straight ink path, with a small amber hinge at its open end.Original Kodivo vector artwork prepared with AI assistance. A projected ribbon surface with depth-tested overlap and regular 8 by 8 Bayer thresholds on a 3-unit grid. No random noise, continuous gradients, filters, fonts, or external assets.
Every lesson is free.
All published chapters and technologies, with your progress saved. No subscription or payment card.
Learn for free
$0
Every published chapter and lesson
All available technologies
Your learning progress saved
Code examples and practice exercises
An open horizonA sequence of open, dithered forms widens from an amber origin into violet space.Original Kodivo artwork prepared with AI assistance. An 8 by 8 Bayer matrix selects marks on a regular 4-unit grid; no noise, gradients, filters, or external assets.
Help keep Kodivo free
Voluntary contributions and sponsorships help fund hosting, new lessons and the development of Kodivo.
Support is optional. Everyone gets the same access to learning.
Sponsor Kodivo
Help more people learn to code.
Support the development of more programming lessons. PHP and AI Coding are available now. Laravel and Livewire are planned.
For voluntary support or sponsorship, get in touch.
A shared liftTwo sculptural ribbons curve upward and cross beneath a floating amber seed. Together, the violet and ink forms make room for something new to grow.Original Kodivo vector artwork prepared with AI assistance. Tonal marks use an 8 by 8 Bayer threshold matrix on a 3-unit grid. No random noise, continuous gradients, fonts, filters, or external assets.
A place for your brand.
As a sponsor, your company can be featured in a dedicated sponsors section on our homepage, with your logo and a link to your website. Sponsorship never changes access to lessons.
Your first lesson
Start with your first lesson.
Pick AI Coding or PHP. Each lesson is a few short cards with an example, followed by one question.
A beginning opens upFive ordered, dithered paths unfold from an amber origin into a broad violet fan.Original Kodivo vector artwork prepared with AI assistance. Repeating 8 by 8 Bayer thresholds; no noise, gradients, filters, or external assets.
Learn PHP or direct coding agents. Laravel and Livewire will follow.
Cookie preferences are unavailable. They require JavaScript and a supported browser. Cookie policy
Your privacy matters
We use necessary cookies to run Kodivo. With your permission, we also use analytics cookies to see how the site is used.