--TEST-- mysql_fetch_assoc() --SKIPIF-- --FILE-- --EXPECTF-- [005] array(2) { [u"id"]=> unicode(1) "1" [u"label"]=> unicode(1) "a" } [006] bool(false) [008] array(5) { [u"a"]=> unicode(1) "2" [u"c"]=> unicode(1) "3" [u"C"]=> unicode(1) "4" [u"d"]=> NULL [u"e"]=> unicode(1) "1" } Warning: mysql_fetch_assoc(): %d is not a valid MySQL result resource in %s on line %d [010] array(5) { [u"id"]=> unicode(1) "1" [u"label"]=> unicode(1) "a" [u"_id"]=> unicode(1) "1" [u"_label"]=> unicode(2) "aa" [u"_foo"]=> NULL } done!