I'm trying to replicate this condition:
$sth = $this->getResult();
if($sth !== true){
retu $sth;
}
with teary operator I tried with;
($sth !== true) ? retu $sth : ($sth == true) ? null;
But I got:
Expected colon
I'm trying to replicate this condition:
$sth = $this->getResult();
if($sth !== true){
retu $sth;
}
with teary operator I tried with;
($sth !== true) ? retu $sth : ($sth == true) ? null;
But I got:
Expected colon
برچسب:
نویسنده: استخدام کار