PHPnews.io

Overview for 'krakjoe'

Nailed Lids

Written by Krakjoe / Original link on Jul. 29, 2019

Fig 1. A Black BoxWhen we are developing, we go to great lengths to take measurements and gather insights with every kind of testing under the sun, coverage, reviews and so on. These measurements, insights, and processes give us the confidence to take what we made to production.Production ... a kin…


Trimming the Phat

Written by Krakjoe / Original link on Jul. 17, 2019

Fig 1. A very fancy TombWe all think we know how dead code elimination works, we can just reference code coverage, or run static analysis, or rely on our own internal model of the code, which is always absolutely perfect ...Dead can mean multiple things when we're talking about code, at least:Compi…


PHP GR8

Written by Krakjoe / Original link on Apr. 1, 2019

Fig 1. A chap performing the Detroit JITUnless you have been living under a rock, or are from the past (in which case, welcome), you will be aware that a JIT is coming to PHP 8: The vote ended, quietly, today, with a vast majority in favour of merging into PHP 8, so, it's official.Throw some crazy …


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 …