function dummy in Coder 8.3
Same name and namespace in other branches
File
- tests/
Drupal/ Semantics/ RemoteAddressUnitTest.inc, line 14 - Drupal.Semantics.RemoteAddress sniff tests.
Code
function dummy() {
// Pass - Drupal.Semantics.RemoteAddress.RemoteAddress.
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
// Error - Drupal.Semantics.RemoteAddress.RemoteAddress.
$remote_address = $_SERVER['REMOTE_ADDR'];
}