Всем привет. В универе задали разобрать код и объяснить как это всё работает. Код: PHP: <? $__=$_[$_[]++].=$_;$_[!_]+=++$_[!_];@$$_=($_[$$_][$_]&$_[$$_][$_[!_]]).$_[$$_][$_]; $_[]=&$$_;@$$_.=$_[!!_][$__]^$__[$_[!_]]|$__[!_];$___=$__[!_]|_&~$__[!!_]; @$$_.=++$___.($__[$_]^_^$__[$_[!_]]).($_[!!_][!$_]^$_[_==_][$_[!_]>>!!_]^_); $___&=$__[$_[!_]];$___.=${$_}[!_]^${$_}[$_[!_]]|$__[!_].($$$_=$__[!_]^_^$__[!!_]). $$$_.($_[_]=$__[$_[!_]]^_^${$_}[$_[!_]>>!!_]);$$_($___. (~${$_}[~-$_[!_]]&$___[$_[!_]]).($_[_]&~$___[!!_])); Источник Получилось только разобраться что $_, $__, $__ — это отдельные переменные в PHP. @—вывод без ошибок. Может кто помочь с этим?
Любят же такие бесполезные задания давать. Да, если разное количество чёрточек, то разные переменные. А дальше - ну на знание. Я смотрю, тут переменные переменных и т.п. имеются
Любят синтаксис ломать PHP: <br /> <b>Notice</b>: Undefined variable: _ in <b>[...][...]</b> on line <b>2</b><br /> <br /> <b>Notice</b>: Undefined index: in <b>[...][...]</b> on line <b>2</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>2</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>2</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>2</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>3</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>3</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>3</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>3</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>3</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>3</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>5</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>6</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>7</b><br /> <br /> <b>Notice</b>: Array to string conversion in <b>[...][...]</b> on line <b>7</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>7</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>7</b><br /> <br /> <b>Warning</b>: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in <b>[...][...]</b> on line <b>7</b><br /> <br /> <b>Notice</b>: String offset cast occurred in <b>[...][...]</b> on line <b>7</b><br /> Hello! Hello! --- Добавлено --- ГореПреподы...