r/PHPhelp • u/SteamDeck288338 • Oct 16 '25
Book in 2025
PHP & MySQL Server-side Web Development By Jon Duckett Says its published 2022
Is this still relevant? Or is there a newer book that is better?
I want to learn new things from 8.5
12
Upvotes
10
u/MateusAzevedo Oct 16 '25
It's still one of the best books to learn PHP from scratch, as a beginner.
If you already know PHP and just want to learn what the new features are, there are plenty of websites listing them: stitcher.io, php.watch and even the official PHP site and documentation.
2
u/UniForceMusic Oct 16 '25
Since 2022 not much has changed in regards to PHP & MySQL. Besides a couple of small things that a beginner wouldn't use anyway, the book is likely still up-to-date
2
u/equilni Oct 16 '25
8.5 will be released next month. I doubt you will find a book for this. You could find something like Larry Garfield's PHP 8 ebook if you just want a book to know about PHP 8, then read up on each update release from the main PHP website or other sites as previous commenters noted.
Depends on how much you know of PHP and what you are looking for exactly from the book - it is heavily recommended.
Take my opinion with a grain of salt based on the above. Judging from it's downloadable code, it does teach slightly older PHP functionality and architecture. So if you are looking for something with updated PHP functionality, this book needs a slight update to meet that. Some of these are easy fixes.
Example: this is Ch 17 method in the CMS class (all the methods here are relatively the same):
Object return types would change the
getArticle()signature togetArticle(): ?Articlehttps://www.php.net/manual/en/language.types.declarations.php - Example 6 & 7
PHP 8 Constructor Promotion (Stitcher article) changes the Member class slightly:
To:
https://www.php.net/manual/en/language.oop5.decon.php#language.oop5.decon.constructor.promotion
1
u/colshrapnel Oct 16 '25 edited Oct 16 '25
PHP is on the decline, and publishers aren't too eager for issuing new titles, so this one is all you've got anyway. And it's still relevant. The thing is:
You don't need a book for that. Minor PHP releases are not that substantial. These features are rather scarce and easily picked up from one of numerous pre-release posts.
What you actually need is to learn the approach, the way one uses PHP operators in order to create sensible and secure code. And this book is still good at that.
0
u/AmiAmigo Oct 16 '25
That’s still a great book.
Another one that came out this year is PHP MySQL by Richard Blum