<?php
'teste' => '1',
'teste2' => '2'
);
while (list($key, $value) = each($array)) { echo $key . "\n";
}
echo "------------\n";
'teste' => '1',
'teste2' => '2'
);
}
PD9waHAKCiRhcnJheSA9IGFycmF5KAoJJ3Rlc3RlJyA9PiAnMScsCgkndGVzdGUyJyA9PiAnMicKKTsKd2hpbGUgKGxpc3QoJGtleSwgJHZhbHVlKSA9IGVhY2goJGFycmF5KSkgewoJZWNobyAka2V5IC4gIlxuIjsKfQplY2hvICItLS0tLS0tLS0tLS1cbiI7CgokYXJyYXkgPSBhcnJheSgKCSd0ZXN0ZScgPT4gJzEnLAoJJ3Rlc3RlMicgPT4gJzInCik7CndoaWxlICgkdmFsdWUgPSBjdXJyZW50KCRhcnJheSkpIHsKCWVjaG8ga2V5KCRhcnJheSkgLiAiXG4iOwoJbmV4dCgkYXJyYXkpOwp9