It is a collection of 3 PHP benchmarks It is tested under PHP 7.4 + 64bits + Windows 64 bits but you could download it and test it by yourself (it is the idea) Is it fast to use a reference argument or return a value? For this case, it’s almost the double of fast to use a reference rather than to return the value.
It benchmark to serialize and de-serialize variables array object StdClass object (defined by a class)