<?php
$text = explode("\n", '<p class="ConsPlusDocList" style="text-align:center">ПРАВИТЕЛЬСТВО ЧУКОТСКОГО АВТОНОМНОГО ОКРУГА</p>
<p class="ConsPlusDocList" style="text-align:center">ПОСТАНОВЛЕНИЕ</p>
<p class="ConsPlusDocList" style="text-align:center">от 29 апреля 2014 г. N 187</p>
<p class="ConsPlusDocList" style="text-align:center">О ВНЕСЕНИИ ИЗМЕНЕНИЯ В ПОСТАНОВЛЕНИЕ ПРАВИТЕЛЬСТВА</p>
<p class="ConsPlusDocList" style="text-align:center">ЧУКОТСКОГО АВТОНОМНОГО ОКРУГА ОТ 20 ФЕВРАЛЯ 2012 ГОДА N 52</p>
<p class="ConsPlusDocList">В связи с изменением структуры Департамента сельскохозяйственной политики и природопользования Чукотского автономного округа Правительство Чукотского автономного округа постановляет:</p>
<p class="ConsPlusDocList">1. Внести в Постановление Правительства Чукотского автономного округа от 20 февраля 2012 года N 52 "Об утверждении Административного регламента Департамента сельскохозяйственной политики и природопользования Чукотского автономного округа по исполнению государственной функции "Рассмотрение обращений граждан" следующее изменение:</p>
<p class="ConsPlusDocList">приложение 1 к Административному регламенту Департамента сельскохозяйственной политики и природопользования Чукотского автономного округа по исполнению государственной функции "Рассмотрение обращений граждан" изложить в следующей редакции:</p>
<p class="ConsPlusDocList" style="text-align:right">"Приложение 1</p>
<p class="ConsPlusDocList" style="text-align:right">к Административному регламенту</p>
<p class="ConsPlusDocList" style="text-align:right">Департамента сельскохозяйственной политики и</p>');
$title = 'О внесении изменения в Постановление Правительства Чукотского автономного округа от 20 февраля 2012 года N 52';
foreach($text as &$t)
{
if (
($title = preg_replace('/^'.strip_tags($t).'/ui', '', trim($title), 1, $count) || true) && $count
) {
echo $t.PHP_EOL;
}
}
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 18
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Warning: Wrong parameter count for preg_replace() in /in/dpnT1 on line 17
Notice: Undefined variable: count in /in/dpnT1 on line 17
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /in/dpnT1 on line 14
Process exited with code 255.