Skip to content

Instantly share code, notes, and snippets.

View janrsilva's full-sized avatar
🏠
Working from home

Janderson Silva janrsilva

🏠
Working from home
View GitHub Profile
@janrsilva
janrsilva / test.php
Last active February 12, 2019 03:02
Using PHP internals (no frameworks). Please create a new array with only the entries from July.
<?php
$data = [
(object) [
'name' => 'Ring [A0123]',
'price' => 25,
'created_at' => '2016-07-20',
],
(object) [
'name' => 'Pendant [A0124]',