$ok = &drupal_static('o','k');
$qq = drupal_static_reset('o');
在drupal_static_reset的函数中,有个return $data[$name];但为什么打印不出$qq呢?
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4) require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145) Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099) Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
$ok = &drupal_static('o','k');
$qq = drupal_static_reset('o');
在drupal_static_reset的函数中,有个return $data[$name];但为什么打印不出$qq呢?