Mantis - Quercus
Viewing Issue Advanced Details
3128 minor always 12-05-08 23:39 12-10-08 09:15
koreth  
nam  
normal  
closed 3.2.1  
fixed  
none    
none 4.0.0  
0003128: $GLOBALS elements go missing when it is used as an argument
<?php
function check_it($arr) {
  return array_key_exists('foo', $arr);
}

$GLOBALS['foo'] = 0;
print check_it($GLOBALS) ? "exists" : "missing";


Regular PHP prints "exists". Quercus prints "missing".

Notes
(0003590)
nam   
12-10-08 09:15   
php/1743