PHPNews

Using the Right Debugging Tools

Using the Right Debugging Tools London, UK Tuesday, October 9th 2018, 10:26 BST A while ago, we updated the MongoDB PHP driver's embedded C library to a new version. The C library handles most of the connection management and other low level tasks that the PHP driver needs …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday October 9, 2018


Analemmas

Analemmas London, UK Tuesday, March 6th 2018, 09:39 GMT Last week I listened to an episode of The Sceptics' Guide to the Universe where the word of the week was " analemma ". An analemma is a diagram showing the position of the Sun in the sky over the course of …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday March 6, 2018


Pretty Printing BSON

Pretty Printing BSON London, UK Tuesday, February 13th 2018, 09:47 GMT In Wireshark and MongoDB 3.6 , I explained that Wireshark is amazing for debugging actual network communications. But sometimes it is necessary to debug things before they get sent out onto the wire. …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday February 13, 2018


Wireshark and SSL

Wireshark and SSL London, UK Tuesday, February 6th 2018, 09:54 GMT This is a follow up post to Wireshark and MongoDB 3.6 , in which I explained how I added support for MongoDB's OP_MSG and OP_COMPRESSED message formats to Wireshark . In the conclusion of that …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday February 6, 2018


Xdebug 2.6

Xdebug 2.6 London, UK Tuesday, January 30th 2018, 09:11 GMT I have just released Xdebug 2.6. Xdebug 2.6 adds supports for PHP 7.2 (and drops support for PHP 5), and adds a whole bunch of new features. This article describes these new features. Garbage …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday January 30, 2018


Wireshark and MongoDB 3.6

Wireshark and MongoDB 3.6 London, UK Tuesday, January 23rd 2018, 09:36 GMT While working on the MongoDB Driver for PHP, we sometimes run into problems where we send the wrong data to the server, tripping it up, and not getting the results we want. Drivers talk to …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday January 23, 2018


PHP 7.2's "switch" optimisations

PHP 7.2's "switch" optimisations London, UK Wednesday, November 1st 2017, 10:33 GMT PHP 7.2 is around the corner soon, and comes with many optimisations. Many new optimisations are implemented in opcache , but some others are implemented in PHP itself. One optimisation …

Continue reading »

Written by Derick Rethans - - Aggregated on Wednesday November 1, 2017


HHVM and MongoDB

HHVM and MongoDB London, UK Thursday, May 25th 2017, 11:19 EDT At the start of 2015 we began work on an HHVM driver for MongoDB, as part of our project to renew our PHP driver. Back then, HHVM was in its ascendancy and outperforming PHP 5.6 two to one. With such a huge …

Continue reading »

Written by Derick Rethans - - Aggregated on Thursday May 25, 2017


15 years of Xdebug

15 years of Xdebug London, UK Tuesday, May 9th 2017, 14:00 BST This article was going to be about some upcoming features in the 2.6 release. Or rather, I was hoping to announce at least a beta release of Xdebug 2.6. Unfortunately, I couldn't find enough time to work on all …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday May 9, 2017


Good Bye PHP 5

Good Bye PHP 5 London, UK Wednesday, January 11th 2017, 09:44 GMT A few days ago I merged a patch into Xdebug that removes support for PHP 5 in Xdebug's master branch on GitHub . Maintaining PHP 5 and PHP 7 support in one code base is not particularly easy, and even more …

Continue reading »

Written by Derick Rethans - - Aggregated on Wednesday January 11, 2017


Not Finding the Symbols

Not Finding the Symbols Wednesday, November 30th 2016, 14:55 GMT Yesterday we released the new version of the MongoDB Driver for PHP , to coincide with the release of MongoDB 3.4 . Not long after that, we received an issue through GitHub titled " Undefined Symbol php_json_serial…

Continue reading »

Written by Derick Rethans - - Aggregated on Wednesday November 30, 2016


A Year of Running

A Year of Running London, UK Thursday, December 31st 2015, 12:15 GMT Today is the last day of the year. Champagne has been acquired, and I am gearing up to see The Force Awakens tonight. These are the times that we look back on the past year. From a technical point of view, …

Continue reading »

Written by Derick Rethans - - Aggregated on Thursday December 31, 2015


Twenty Years of PHP

Twenty Years of PHP London, UK Monday, June 8th 2015, 00:04 BST I know I am a day late, but PHP turned 20 yesterday! Congratulations! Ben Ramsey wrote about his 20 years of PHP yesterday, and invited others to do the same. So here I go. Back in 1999 during …

Continue reading »

Written by Derick Rethans - - Aggregated on Sunday June 7, 2015