--TEST-- Test compact() function: ensure compact() doesn't pick up variables declared outside of current scope. --FILE-- --EXPECTF-- *** Testing compact() : usage variations - variables outside of current scope *** Notice: compact(): Undefined variable: a in %s on line %d array(2) { ["b"]=> string(3) "f.b" ["c"]=> string(3) "f.c" } Notice: compact(): Undefined variable: a in %s on line %d array(2) { ["b"]=> string(3) "f.b" ["c"]=> string(3) "f.c" }