@ "use" is not yet supported; instead use include_once() or require_once()

@  for the time being (Andi, Zend library)
This commit is contained in:
Andi Gutmans 2000-04-15 13:56:09 +00:00
parent f2ff9eeef5
commit 938598b8d2

View File

@ -539,6 +539,10 @@ int require_filename(char *filename, zend_bool unique CLS_DC)
int use_filename(char *filename, uint filename_length CLS_DC)
{
zend_error(E_COMPILE_ERROR,"use: Not yet supported. Please use include_once() or require_once()");
return FAILURE;
#if 0
zend_file_handle file_handle;
file_handle.filename = (char *) emalloc(filename_length + zend_uv.import_use_extension_length);
@ -554,6 +558,7 @@ int use_filename(char *filename, uint filename_length CLS_DC)
return FAILURE; /* will never get here */
}
return SUCCESS;
#endif
}