mirror of
https://github.com/php/web-bugs.git
synced 2026-03-24 07:42:08 +01:00
17 lines
435 B
PHP
17 lines
435 B
PHP
<?php
|
|
echo "<bug>\n";
|
|
foreach ($bug as $key => $value) {
|
|
if (is_int($key)) continue;
|
|
echo " <$key>", clean($value), "</$key>\n";
|
|
}
|
|
foreach ($comments as $comment) {
|
|
if (empty($comment['registered'])) continue;
|
|
echo " <comment>\n";
|
|
foreach ($comment as $key => $value) {
|
|
if (is_int($key)) continue;
|
|
echo " <$key>", clean($value), "</$key>\n";
|
|
}
|
|
echo " </comment>\n";
|
|
}
|
|
echo "</bug>\n";
|