X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2F3LocalhostTest.php;h=118f10b722f71947ea5288376a593e69ba12b79c;hb=ac735cf96eb914759f7e7595630857254b599783;hp=0290dbf97eab1bbc4fe91bf27fbcf3d979df059e;hpb=509dee39962ec712884f1c6658f383c4db793785;p=plcapi.git diff --git a/tests/3LocalhostTest.php b/tests/3LocalhostTest.php index 0290dbf..118f10b 100644 --- a/tests/3LocalhostTest.php +++ b/tests/3LocalhostTest.php @@ -411,7 +411,7 @@ And turned it into nylon'; $got = ''; $expected = '37210'; $expect_array = array('ctLeftAngleBrackets', 'ctRightAngleBrackets', 'ctAmpersands', 'ctApostrophes', 'ctQuotes'); - while (list(, $val) = each($expect_array)) { + foreach($expect_array as $val) { $b = $v->structmem($val); $got .= $b->me['int']; }