echo "val = $val<P>";
list($mySection, $myDisplay) = explode('|', $val);
echo "mySection = $mySection and myDisplay = $myDisplay<P>";
[/PHP]
In using PHP 4.3.6 here are my results:
val = image|Image MaintenanceI narrowed down the problem to this:
mySection = image and myDisplay = image
[PHP]
$blahArray = explode('|', $val);
print_r($blahArray);
$blahArray = split('|', $val);
print_r($blahArray);
[/PHP]
Nothing prints out, the array $blahArray is never set, not even to an
empty array. No error messages nor warnings result in this.
Has anyone had any similar problems with PHP 4.3.6 or am I just the
"lucky one"? If so, is this an undocumented bug in 4.3.6 (all I could
find in www.php.net was that there was a negative limit to explode()
).
I am unable myself to bounce the webserver as I do not have [yet] the
privileges to do so to figure if that might be a requirement, so until
the system admins have the time to do so (takes a minute *sigh*) I am
trying to cover all possible angles to this rather wacky problem.
Phil