been a while... kix4.22 this behavior is still here...

Code:

$array = 1
global $array[10]
? ubound($array)



ubound for $array returns -1