PHP manual

PHP slon

PHP is a scripting language for fast and elegant web application development. This website is a collection of time-tested experience and well-intentioned advice.

Are you starting with PHP?

New articles

Data type Enum object in PHP 29. 05. 2022
As of PHP 8.1, the Enum data type can be used to define exact enumeration values for a list. This is useful for cases where we know that…
Who is Jan Barášek? 08. 05. 2022
Jan Barášek is a young independent entrepreneur in the field of development and management of online services. Since 2009, he has been…
Changing commit ownership in Git 08. 03. 2022
When migrating repositories between organizations, it often happens that we need to overwrite commit owners. The reason for this can be to…
SOLID principles 17. 01. 2022
Solid principles are a way, a set of recommendations and principles, to build robust software. SOLID principles work for object-oriented…
How a programmer lives in an internal development team 10. 01. 2022
There is a heavy price to pay for honesty. This site has always been a description of the reality that people in IT experience, so I'd like…
Special control characters in PHP 24. 11. 2021
PHP strings may contain special control characters that have different meanings in a particular context and do not necessarily behave like…
Pure functions in PHP 27. 10. 2021
In functional programming, there is a concept of a pure function, which refers to a function that always returns the same output to the…
Differences between CLI and CGI 15. 10. 2021
PHP can run in different environments. The most common environment is CGI, which runs when PHP processes an HTTP request. However, it is…
Doctrine Series - Introduction 27. 08. 2021
Doctrine is an advanced PHP library for object-oriented database work. The main purpose and goal of Doctrine is to describe the database…
Complexity of algorithms 03. 08. 2021
Each algorithm has its own complexity, which can be expressed in mathematical notation. This overview shows the typical complexity of…

Author's story and mission

I really like PHP because it allows you to reach your goal very quickly and keep the code elegant. I programmed my first PHP application more than 10 years ago, and since then PHP has become my favorite language.

PHP has come a long way in those many years, so you'll find lots of insights and tricks on this site, to solve problems elegantly. You can also read a series of articles, experiences and well-meaning advice, that will help you fundamentally improve your web applications.

For the last 3 years of my career, I ve been mostly involved in software design, architecture, and developer training, consulting and training to improve application design patterns and to uncover bottlenecks in a particular project.

Jan Barášek     More about the author

The author works as a senior developer and software architect in Prague (Czech republic, Europe). He designs and manages large web applications that you know and use. Since 2009 he has gained a wealth of experience which he passes on through this website.

I'd be happy to help:

Contact