Code Context // 时间是否按照正序排列
$reverse = false;
if ($value['years'][0] > $value['years'][1]) {
$value = array(
'years' => array(
(int) 0 => (int) 2017
),
'title' => '',
'key' => '111_3_2',
'datas' => array(
'男性人口_太谷县' => array(
(int) 0 => (int) 113886
),
'女性人口_太谷县' => array(
(int) 0 => (int) 111201
)
),
'unit' => '人'
)
$key = (int) 3
$reverse = false
TagDataSources::{closure}() - APP/Model/TagDataSources.php, line 149
array_walk - [internal], line ??
TagDataSources::get_data_jsons() - APP/Model/TagDataSources.php, line 160
FrontPagesController::data_source_detail() - APP/Controller/FrontPagesController.php, line 485
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111