2 ms·
OK, the PHP test was written wrong, with count() being called in every iteration. So this person didn't know the internals of the functions they were testing.
by EGreg 13y ago
OK, the PHP test was written wrong, with count() being called in every iteration. So this person didn't know the internals of the functions they were testing.
Nevertheless, PHP is about 3x slower than v8 for the optimized tests