Привет всем, кто может помочь мне с этим, спасибо
public function get_statement($t, &$contents)
{
// Locate the statement
$tag_length = strlen($t['b']);
$fpos = strpos($contents, $t['b']) + $tag_length;
$lpos = strpos($contents, $t['e']);
$length = $lpos - $fpos;
// Extract & return the statement
return substr($contents, $fpos, $length);
}
выдает ошибку: Устарело: strpos(): в будущем нестроковые иглы будут интерпретироваться как строки. Используйте явный вызов chr(), чтобы сохранить текущее поведение в
$t. - person user3783243   schedule 08.08.2020