PHP bug-fixes help your code Ever wondered which PHP bug-fixes help your code? What is the actual impact of a PHP minor version on your code ? Every month, or more, PHP provides a new version, covering about thirty bugs and various upgrades. Sometimes, features request make it to a version. Still, who has time to review […]
When testing the exakat static analysis engine, we need to run it on real code : even better, use the largest PHP code base available. Open Source projects are a real blessing there, since they come in different shapes and stripes. Some projects dates back from PHP 3 and evolved until now, some are directly […]
PHP 7 Static analysis tools With PHP 7 officially live, it it time to review code and get it ready for migration. It is now time to think about migrating code to the new version, taking advantage of new features et reduced server load. This means reviewing all the code : it may be too much […]
Before coding, we all want to produce clean, smart and efficient code. During coding, we keep the eye on the target, and when we’re done, the result is usually not what we expected. There is always room for improvement. Improvement may come in various flavors: corner cutting, PHP specific gotcha, migration or even old habits that […]
Install Gremlin for Neo4j 2.2 At the heart of the Exakat engine, we use Gremlin and Neo4j. Neo4j is the graph database, and Gremlin is the graph traversal language. Until today (2015, August 20th), Neo4j 2.2 had no working plug-in for Gremlin, which made us use the latest neo4j 2.1.8, but miss all the effort […]
Update (July 2015) This was related to the dot-deb, that kept using an old PCRE library. This has been fixed directly in the package by Guillaume Plessis, and is working fine now. I’ll keep this post in case this helps anyone in similar situations, but this shouldn’t be useful anymore. WordPress not sending mail while […]
Unit test is a part of daily coding, and once you have reached the critical mass, it is just not possible to go on without them. They spot bugs efficiently and systematically, and it is reassuring to have more and more of them. This is also why I started using a random suite for unit tests. […]
When programming, I devote a part of my time to review the code. Of course, there is the necessary review when a bug arise, but I’m talking here about self-review. It feels always good to re-read fresh code, make sure I didn’t forget anything, may it be security, performance, recent PHP or framework recommendations. […]