PHP version: 5.3
In Wordpress, I have an array of all the posts in a category having this format.
array
0 =>
public 'ID' => int 360
public 'post_title' => string 'Batman v Superman: Dawn of Justice'
1 =>
public 'ID' => int 371
public 'post_title' => string 'Star Wars: Episode VII - The Force Awakens'
... =>
Knowing the 'post_title' of the current post, what is the most efficient way using "post_title" as a needle to search the array and find it's index?