Posts Tagged with "good practices"
If you develop a PHP web application which may be used on a web server with older PHP version, you can run into a situation when some of the PHP functions in your application won't work at all, or won't work as expected.
In fact, you can handle those situations if you want to. However, it can make you application code not as nice as you want and a little heavier.Continue reading
Recently, I have written about comparisons of numbers with floating point. Here is another important lesson that explains why loose comparison may break the business logic in your PHP application.
Look at the following PHP code. It seems pretty clear and straightforward.Continue reading
Wow! Such an interesting thing I just found.