Import source
This commit is contained in:
parent
50b489784d
commit
32b8c4cb56
34 changed files with 890 additions and 0 deletions
14
modules/PHP.php
Normal file
14
modules/PHP.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class PHP extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('PHP Group', 'PHP', 'https://www.php.net/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.php.net/downloads.php'))
|
||||
return $this->parse('_Current Stable</span>[\s]*PHP ([\d\.]+)_');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue