<?php gc_collect_cycles(): int
<?php { return collect(Arr::wrap($benchmarkables))->map(function ($callback) use ($iterations) { return collect(range(1, $iterations))->map(function () use ($callback) { gc_collect_cycles(); $start = hrtime(true);
<?php public static function value(callable $callback): array { gc_collect_cycles(); $start = hrtime(true);
<?php $first = $instance->rand(); unset($instance); gc_collect_cycles(); $instance = new MyClass(); $second = $instance->rand();