خرید بک لینک

Vote count: 0

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

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 11 فروردين 1395 ساعت: 21:25

صفحه بندی