Book HomePHP CookbookSearch this book

4.13. Finding the Position of an Element in an Array

4.13.4. See Also

Recipe 4.12 for checking whether an element is in an array; documentation on array_search( ) at http://www.php.net/array-search; for more sophisticated searching of arrays using regular expression, see preg_replace( ) at http://www.php.net/preg-replace and Chapter 13.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.