Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions php_mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -1756,6 +1756,10 @@ PHP_FUNCTION(mysql_list_fields)
php_mysql_conn *mysql;
MYSQL_RES *mysql_result;

#if PHP_VERSION_ID > 70000
php_error_docref(NULL, E_ERROR, "mysql_list_fields() was removed from mysqlnd and can no longer be used!");
#endif

if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|r", &db, &db_len, &table, &table_len, &mysql_link) == FAILURE) {
return;
}
Expand Down