Skip to content

Instantly share code, notes, and snippets.


Jeroen Deviaene jerodev

Block or report user

Report or block jerodev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View benchmark.php
$count = 25000;
$functions = [
'carbon' => function ($i) {
return now()->subDays($i)->format('Y-m-d');
'strtotime' => function ($i) {
return date('Y-m-d', strtotime("$i days ago"));
You can’t perform that action at this time.