index([subject]) method, return value: Number (counting from 0) index() method returns the index position of the specified element relative to other specified elements. Note: index() will return -1 if the element is not found.
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