Audience
PHP is a melting pot of cultures. Web designers appreciate its accessibility and convenience, while programmers appreciate its flexibility, power, diversity, and speed. Both cultures need a clear and accurate reference to the language. If you are a (web) programmer, then this book is for you. We show the big picture of the PHP language, and then discuss the details without wasting your time. The many examples clarify the textual explanations; the practical programming advice and many style tips will help you become not just a PHP programmer, but a good PHP programmer.
If you’re a web designer, you will appreciate the clear and useful guides to specific technologies, such as JSON, XML, sessions, PDF generation, and graphics. And you’ll be able to quickly get the information you need from the language chapters, which explain basic programming concepts in simple terms.
This edition has been fully revised to cover the latest features of PHP version 7.4.
Assumptions This Book Makes
This book assumes you have a working knowledge of HTML. If you don’t know HTML, you should gain some experience with simple web pages before you try to tackle PHP. For more information on HTML, we recommend HTML & XHTML: The Definitive Guide by Chuck Musciano and Bill Kennedy (O’Reilly).
A E
Be aware that there are no page numbers for this version of the book, this can make it difficult for school assignments that may refer by page number specifically.
Amazon Customer
I mainly got this book as a resource for a recent job offering with absolutely no experience writing within the language, and believed that this would be a good resource to be able to utilize for this job. However there are some caveats to this book, that I feel are mainly due to the structure of my work that ends up having me not really utilizing it as much when going into the later chapters, as most of the solution are handled much more by framework basis.
This book, is a solid book in my opinion of being able to get someone who is brand new to programming up and running, with a wide variety of topics to explore, and in that retrospect, in my opinion if you need a book that is a solid foundation to learn a variety of topics, then this is a good start for you to explore, as it will help you to learn terminology that you will need to know later when exploring frameworks.
However, in the sense of the work that I mainly due being through frameworks, what I was mainly hoping from this book is to describe best practices of the many different flavors of php, which it does do in some retrospect, but for most of the topics in this book I hardly ever touch, as they are rarely ever needed. I do still feel this is a solid resource to understand the language as a whole of what it can do, but if you are looking for a book that can describe at a better level best practices, you may need to look elsewhere to cover it.
TC
If you're looking for a book to get a better understanding of PHP and dynamic web sites, this book is pretty good. It doesn't go into deep detail, so that is a bit frustrating because there are some parts that are glossed over, rather than the deep in-depth details that a newbee to dynamic web site development needs.
Dusk
Read more
@GroupOfFour
Read more
MartinH
Read more
Gabriela Leal
Some chapters were difficult to understand. This is not a book for beginners. This is so much advanced for me.
Amazon Customer
Read more
Amazon Customer
There's lots of good information in this book, but as it claims to cover PHP 7.4 many of the language improvements appear to be missing. For instance:
There's no mention that you can create arrays with the square bracket syntax: $nums = [1, 2, 3, 4] or $person = ['name' => 'martin']
There's no mention of variadic function parameters: public function sum(…$args){}
So I wonder what else is missing?
Also missing are things most PHP developers take for granted nowadays:
Composer – PHPs defacto package manager.
Autoloading
The various frameworks that exist (Symfony, Laravel etc.)
This feels like a very lazy update to the previous editions.
Amazon Customer
I liked it, it’s a good book for someone who wants to learn PHP. However, they don’t talk about any low level details, explain how some functions work under the hood, what’s the complexity or give tips on how to optimize code (and I kinda expected that). Not really a problem, but some other people might need to know that
Amazon Customer
Read more
Amazon Customer
Amazon Customer
Amazon Customer
There's lots of good information in this book, but as it claims to cover PHP 7.4 many of the language improvements appear to be missing. For instance:
There's no mention that you can create arrays with the square bracket syntax: $nums = [1, 2, 3, 4] or $person = ['name' => 'martin']
There's no mention of variadic function parameters: public function sum(…$args){}
So I wonder what else is missing?
Also missing are things most PHP developers take for granted nowadays:
Composer – PHPs defacto package manager.
Autoloading
The various frameworks that exist (Symfony, Laravel etc.)
This feels like a very lazy update to the previous editions.
MartinH
Read more
Gabriela Leal
I liked it, it’s a good book for someone who wants to learn PHP. However, they don’t talk about any low level details, explain how some functions work under the hood, what’s the complexity or give tips on how to optimize code (and I kinda expected that). Not really a problem, but some other people might need to know that
Dusk
Read more
A E
I mainly got this book as a resource for a recent job offering with absolutely no experience writing within the language, and believed that this would be a good resource to be able to utilize for this job. However there are some caveats to this book, that I feel are mainly due to the structure of my work that ends up having me not really utilizing it as much when going into the later chapters, as most of the solution are handled much more by framework basis.
This book, is a solid book in my opinion of being able to get someone who is brand new to programming up and running, with a wide variety of topics to explore, and in that retrospect, in my opinion if you need a book that is a solid foundation to learn a variety of topics, then this is a good start for you to explore, as it will help you to learn terminology that you will need to know later when exploring frameworks.
However, in the sense of the work that I mainly due being through frameworks, what I was mainly hoping from this book is to describe best practices of the many different flavors of php, which it does do in some retrospect, but for most of the topics in this book I hardly ever touch, as they are rarely ever needed. I do still feel this is a solid resource to understand the language as a whole of what it can do, but if you are looking for a book that can describe at a better level best practices, you may need to look elsewhere to cover it.
Amazon Customer
Be aware that there are no page numbers for this version of the book, this can make it difficult for school assignments that may refer by page number specifically.
Amazon Customer
If you're looking for a book to get a better understanding of PHP and dynamic web sites, this book is pretty good. It doesn't go into deep detail, so that is a bit frustrating because there are some parts that are glossed over, rather than the deep in-depth details that a newbee to dynamic web site development needs.