Home  >  Article  >  Backend Development  >  Call to undefined function getInstance()咋回事

Call to undefined function getInstance()咋回事

WBOY
WBOYOriginal
2016-06-13 10:33:431018browse

Call to undefined function getInstance()怎么回事
运行程序时出现了:

Fatal error: Call to undefined function getInstance()

这样的错误是怎么回事,getInstance不是php自带的函数吗?还是需要开启php的什么扩展,php.ini需要配置什么才行吗?

------解决方案--------------------
http://codeigniter.org.cn/user_guide/general/creating_libraries.html 看下这个吧,里面有对它的一些简单介绍

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn