Skip to content

Commit f84b056

Browse files
committed
Make the major number optional and care about 8
1 parent 0ab9b8d commit f84b056

File tree

1 file changed

+1
-1
lines changed
  • lib/php/libsdk/SDK/Build/PGO/Tool

1 file changed

+1
-1
lines changed

lib/php/libsdk/SDK/Build/PGO/Tool/PGO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function getWorkItems() : array
4141
$dll = array_merge($dll, glob($this->php->getExtRootDir() . DIRECTORY_SEPARATOR . "php*.dll"));
4242

4343
/* find out next index */
44-
$tpl = glob($this->php->getRootDir() . DIRECTORY_SEPARATOR . "php7{ts,}.dll", GLOB_BRACE)[0];
44+
$tpl = glob($this->php->getRootDir() . DIRECTORY_SEPARATOR . "php{7,8,}{ts,}.dll", GLOB_BRACE)[0];
4545
if (!$tpl) {
4646
throw new Exception("Couldn't find php7[ts].dll in the PHP root dir.");
4747
}

0 commit comments

Comments
 (0)