PHPnews.io

Overview for 'krakjoe'

Parallel PHP: The Next Chapter

Written by Krakjoe / Original link on Feb. 14, 2019

Some years ago, to prove some people on the internet wrong, and because I had a break from normal work - the first such break in years - I decided to write pthreads. My memory fails me a little, but from what I can recall, nobody actually saw that first version, I developed the idea over the follow…


Running for Coverage

Written by Krakjoe / Original link on Jan. 28, 2019

Today we're going to look at the history and the future of coverage collection in PHP.History is the easy bit: For most of the history of PHP, Xdebug has provided the only implementation to php-code-coverage. Simple.Then in 2015, just after phpdbg was merged into PHP, some clever sausages extended…


Faking It

Written by Krakjoe / Original link on Jan. 27, 2019

Fig 1. A MockingbirdAs well as mentoring and code review one of my main tasks at work is to improve the test suites and improve the testing and development methodologies we use. This is no small task and has resulted in the publication of a few extensions, one of them is uopz.Before we continue; I…


Boxes of Sand

Written by Krakjoe / Original link on Jan. 27, 2019

Fig 1. A SandboxSandboxing is a technique used in testing and security to execute unsafe, or untrusted code in a safe environment. There are different levels of sandboxing: In security a sandboxed environment may refer to a (virtual) machine dedicated to the execution of unsafe code. In testing, a…


Preface to idbg

Written by Krakjoe / Original link on Jun. 3, 2018

Fig 1. A tweet from earlier this monthWe already have several options for debugging code within the PHP ecosystem. XDebug is extremely mature software, and phpdbg has been slowly gaining traction also, if for no other reason than it's very fast to collect code coverage compared to XDebug.Although…


PHP allows for the design of X

Written by Krakjoe / Original link on May. 22, 2018

Fig 1. A thing I saidStarting complicated twitter conversations should be avoided, I know this, and yet blurted this out on twitter recently ...This was met with a flurry of responses and I couldn't reasonably reply in tweet form. I'm going to respond to some of those tweets (indirectly) and furthe…