Matok's PHP Blog

List of articles with PHP tag

How to bind array into quey?

How to write Comparison

3 August 2017
Boolean expressions can be very tricky. Why? How I do it…
Well, I mean this for real - do you know how to write IF statement? Clean code must be easy to read and in case of wrongly written IF statement your code cannot be clean and it’s hard to understand.
How computer store real number and what is mean by floating point precision?

PHP Gotcha I

26 June 2017
I have collected some really tricky pieces of PHP code.

Fun with PHP DateTime

16 June 2017
Even some developer that work in PHP for several years don't the basis. Do you know how to work with DateTime object?