--TEST-- mysql_field_seek() --SKIPIF-- --FILE-- --EXPECTF-- Warning: mysql_field_seek(): Field -1 is invalid for MySQL result index %d in %s on line %d bool(false) object(stdClass)#%d (13) { ["name"]=> string(2) "id" ["table"]=> string(4) "test" ["def"]=> string(0) "" ["max_length"]=> int(1) ["not_null"]=> int(1) ["primary_key"]=> int(1) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(3) "int" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } bool(true) object(stdClass)#%d (13) { ["name"]=> string(2) "id" ["table"]=> string(4) "test" ["def"]=> string(0) "" ["max_length"]=> int(1) ["not_null"]=> int(1) ["primary_key"]=> int(1) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(3) "int" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } bool(true) object(stdClass)#%d (13) { ["name"]=> string(5) "label" ["table"]=> string(4) "test" ["def"]=> string(0) "" ["max_length"]=> int(1) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(0) ["blob"]=> int(0) ["type"]=> string(6) "string" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } Warning: mysql_field_seek(): Field %d is invalid for MySQL result index %d in %s on line %d bool(false) bool(false) Warning: mysql_field_seek(): %d is not a valid MySQL result resource in %s on line %d bool(false) done! --UEXPECTF-- Warning: mysql_field_seek(): Field -1 is invalid for MySQL result index %d in %s on line %d bool(false) object(stdClass)#%d (13) { [u"name"]=> unicode(2) "id" [u"table"]=> unicode(4) "test" [u"def"]=> unicode(0) "" [u"max_length"]=> int(1) [u"not_null"]=> int(1) [u"primary_key"]=> int(1) [u"multiple_key"]=> int(0) [u"unique_key"]=> int(0) [u"numeric"]=> int(1) [u"blob"]=> int(0) [u"type"]=> unicode(3) "int" [u"unsigned"]=> int(0) [u"zerofill"]=> int(0) } bool(true) object(stdClass)#%d (13) { [u"name"]=> unicode(2) "id" [u"table"]=> unicode(4) "test" [u"def"]=> unicode(0) "" [u"max_length"]=> int(1) [u"not_null"]=> int(1) [u"primary_key"]=> int(1) [u"multiple_key"]=> int(0) [u"unique_key"]=> int(0) [u"numeric"]=> int(1) [u"blob"]=> int(0) [u"type"]=> unicode(3) "int" [u"unsigned"]=> int(0) [u"zerofill"]=> int(0) } bool(true) object(stdClass)#%d (13) { [u"name"]=> unicode(5) "label" [u"table"]=> unicode(4) "test" [u"def"]=> unicode(0) "" [u"max_length"]=> int(1) [u"not_null"]=> int(0) [u"primary_key"]=> int(0) [u"multiple_key"]=> int(0) [u"unique_key"]=> int(0) [u"numeric"]=> int(0) [u"blob"]=> int(0) [u"type"]=> unicode(6) "string" [u"unsigned"]=> int(0) [u"zerofill"]=> int(0) } Warning: mysql_field_seek(): Field %d is invalid for MySQL result index %d in %s on line %d bool(false) bool(false) Warning: mysql_field_seek(): %d is not a valid MySQL result resource in %s on line %d bool(false) done!