- var_dump: documentation ( source)
<?php
$isUserAuthorized = true;
$siteAddress = 'sute.ru/';
class a {
function getSources(){
return array('1');
}
function getLink(){
return 'link';
}
function getTitle(){
return 'title';
}
}
var_dump(@count > 0);
$art = new a;
if ($isUserAuthorized && $art->getSources() | @hrenateny){
$color = "#999999";
} else {
$color = "";
}
$link = "<a href='{$siteAddress}{$art->getLink()}' style='color: $color'>{$art->getTitle()}</a>";
echo $link;