Regex to check if the string contains any letters of any alphabet
There is a trivial task to check if the string contains any letters: But what if the $str is a…
programming and psychology
There is a trivial task to check if the string contains any letters: But what if the $str is a…
Updated on 20.07.2016 with a small fix. Let’s talk about PHP again. Suppose you store the base directory path to…
Just watched the presentation about SQL Antipatterns and got one thought to share. The presentation is good in general and…
This article is also available in russian. On 5.5.2016 I passed the Zend Certified PHP Engineer exam on the PHP…
Small note about “reversed” condition checks like these: and why their benefit is so small compared to the side-effects. It’s…
If you work with PHP for a long time, you probably get used to the code like this: the magic…
I always insist people are using the same or maximally similar environment as the production server has, that is the…
When you create a post in WordPress a bunch of actions happen and a lot of them allow hooking into.…
Learning new frameworks is always a good idea even if you’re not going to use them in your job. For…