The Curious Case of intval: A Programmer’s Tale

Once upon a time in the magical kingdom of PHP, there lived a humble function named intval(). Not as flashy as array_map() or as mysterious as eval(), intval() was a quiet worker bee, transforming values into integers with the wave of its wand. But like all good fairy tales, there’s a twist: intval() had some …

Continue reading The Curious Case of intval: A Programmer’s Tale

“Use Default Value” for Multi Select Attributes Doesn’t Save for Store Scope View in Magento 2 Commerce (Enterprise) Edition

A few days ago I worked on a very interesting issue for a client in Magento 2 Commerce Edition. Basically, they have some multi-select product attributes and these attributes allow the admin user to add different values depending on the Store View because when these attributes were created, they were set to Store View in …

Continue reading “Use Default Value” for Multi Select Attributes Doesn’t Save for Store Scope View in Magento 2 Commerce (Enterprise) Edition

Finding the Villain Commit in the Magento 2 Codebase Using the GIT Bisect

A few days ago I was working as usual from my home office. I was entertained working on an investigation for a non-critical bug for one of our clients. Suddenly a Slack message popped up on my screen: "We have a critical bug happening on production for this given client that started happening after the …

Continue reading Finding the Villain Commit in the Magento 2 Codebase Using the GIT Bisect