| 
 | ZipArchive::locateNameReturns the index of the entry in the archive Description
   int ZipArchive::locateName
    ( string  $name[, int$flags] )Locates an entry using its name. Parameters
 
 Return Values
   Returns the index of the entry on success or  ExamplesExample #1 Create an archive and then use it with ZipArchive::locateName 
<?phpThe above example will output: 0 1 2 |