<?php
class Main_API{
static public function getAnswer():bool{
if( ($_GET['pass'] == "str1") and ($_GET['login'] == "str2") ){
return true;
}else{
return false;
}
}
}
echo Main_API::getAnswer() . "<br />";
?>