mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
* Include all of the standard modules in internal_functions.c.in. Stig - is that
the way you intended it to be? How does the basic_functions module get in there? * Fix to get MySQL objects working, even though I'll probably make a dedicated MySQL object in the future.
This commit is contained in:
parent
67296f0704
commit
1fb61df8a5
14 changed files with 51 additions and 1 deletions
|
@ -1481,6 +1481,8 @@ void php3_mysql_fetch_object(INTERNAL_FUNCTION_PARAMETERS)
|
|||
php3_mysql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
|
||||
if (return_value->type==IS_ARRAY) {
|
||||
return_value->type=IS_OBJECT;
|
||||
return_value->value.obj.properties = return_value->value.ht;
|
||||
return_value->value.obj.ce = &standard_class;
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue