Fatal error: Call to undefined function close()