Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Janderson Silva janrsilva

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