i don't think i've ever seen this behavior before-- but who knows...
take a look at this code from the PHP Manual :
<?php
$d = dir("/etc/php5");
echo "Handle: " . $d->handle . "\n";
echo "Path: " . $d->path . "\n";
while (false !== ($entry = $d->read())) {
echo $entry."\n";
}
$d->close();
?>
which is outputting:
handle . "\n"; echo "Path: " . $d->path . "\n"; while (false !== ($entry = $d->read())) { echo $entry."\n"; } $d->close(); ?>
i've checked the apache2.2 monitor, and even restarted, and everything looks normal (i.e. it's showing Apache2.2.2 (Win32) PHP/4.4.2 )
anyone know what's going on here? i'm probably missing something really obvious. ideas?
thanks!
EDIT: i checked phpinfo() as well. the only thing that sorta jumps out at me is the following, which i don't recall ever seeing before:
_SERVER["HTTP_XXXXXXXXXXXXXXX"]
is this an apache2.2.2 thing?