3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tz = new DateTimeZone('America/New_York'); $date_ranges = array( '7 Days Ago' => array( 'from' => new DateTime('7 days ago 00:00:00', $tz), 'to' => new DateTime('yesterday 23:59:59', $tz) ), 'Yesterday' => array( 'from' => new DateTime('yesterday 00:00:00', $tz), 'to' => new DateTime('yesterday 23:59:59', $tz) ), '30 Days Ago' => array( 'from' => new DateTime('30 days ago 00:00:00', $tz), 'to' => new DateTime('yesterday 23:59:59', $tz) ) ); usort($myArray, function($a, $b) { return $a['from']->getTimestamp() - $b['from']->getTimestamp(); }); print_r($date_ranges);
based on b0QUc
Output for 5.4.30 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2015-10-13 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2015-10-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2015-10-19 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2015-10-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2015-09-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2015-10-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.6
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-25 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-01 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-05-01 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-01 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-02 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-01 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.5
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-26 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-01 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-01 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-01 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-03 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-01 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.4
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-02 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-08 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-08 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-08 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-08 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-08 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.3
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-10 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-16 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-16 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-16 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-16 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-16 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.2
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-14 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.1
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-16 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-22 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-22 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-22 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-22 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-22 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 7.0.0
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-19 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-25 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-25 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-25 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-25 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-25 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.21
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-24 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-30 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-30 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-30 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-01 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-30 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.20
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-02 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-08 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-08 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-08 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-10 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-08 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.19
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-28 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-05 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-05 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-05 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-05 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-05 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.18
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-07 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-13 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-13 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-13 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-13 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-13 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.17
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-11 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-17 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-17 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-17 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-17 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-17 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.16
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-26 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-26 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-26 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-26 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-26 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.15
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-21 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-27 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-27 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-27 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-27 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-27 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.14
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-25 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-31 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-31 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-31 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-02 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-31 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.13
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-07 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-13 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-13 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-13 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-15 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-13 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.12
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-12 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-18 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-18 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-18 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-18 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.11
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-15 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-21 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-21 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-21 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-23 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-21 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.10
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-17 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-23 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-23 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-23 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-25 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-23 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.9
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-19 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-25 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-25 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-25 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-27 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-25 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.8
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-22 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-28 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-28 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-28 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-30 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-28 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.6.7
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-05-17 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-23 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-05-23 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-23 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-24 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-23 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.35
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-05-14 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-05-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-21 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-05-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.34
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-03 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-09 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-09 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-09 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-11 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-09 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.33
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-01 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-07 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-07 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-07 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-07 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-07 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.32
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-08 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-14 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-14 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-14 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-14 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-14 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.31
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-13 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-19 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-02-19 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.30
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-24 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-30 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-03-30 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-30 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-01 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-03-30 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.29
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-09 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-15 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-15 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-15 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-17 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-15 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.28
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-13 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-19 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-21 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-19 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.27
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-14 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-22 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-20 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.26
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-18 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-24 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-24 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-24 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-26 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-24 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.25
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-20 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-26 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-26 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-26 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-28 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-26 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.5.24
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-04-23 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-29 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2016-04-29 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-29 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2016-03-31 00:00:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2016-04-29 23:59:59.000000 [timezone_type] => 3 [timezone] => America/New_York ) ) )
Output for 5.3.19 - 5.4.29
Warning: usort() expects parameter 1 to be array, null given in /in/CrUN7 on line 19 Array ( [7 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2015-10-13 00:00:00 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2015-10-19 23:59:59 [timezone_type] => 3 [timezone] => America/New_York ) ) [Yesterday] => Array ( [from] => DateTime Object ( [date] => 2015-10-19 00:00:00 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2015-10-19 23:59:59 [timezone_type] => 3 [timezone] => America/New_York ) ) [30 Days Ago] => Array ( [from] => DateTime Object ( [date] => 2015-09-20 00:00:00 [timezone_type] => 3 [timezone] => America/New_York ) [to] => DateTime Object ( [date] => 2015-10-19 23:59:59 [timezone_type] => 3 [timezone] => America/New_York ) ) )