How to debug inside PHPStorm if:• you have a shared development server,• pages are served…
First actionable step to clean up a Blob is to remove deprecated properties. Consider object like this:
$godObject = new stdClass();…$godObject->db = new db_connection()…
I’ve shipped a bug to the code base which heavily relies on include_once statements. I thought I’ve tested it, but it ended up to be a case like this:
include_once
I see this error while jumping into code base which use Zend Framework 1 and running composer install (php 5.6, composer 1.2.2):
composer install
[ErrorException]…
MySQL `on duplicate key update` with unique index and PDO support
I’ve implemented saving user data from OAuth2 provider and want to update name and image from source every time user logs in. I was surprised to see that on duplicate key update clause works well if we have both…