function test_class2($ref){ if ($ref){ $kiwi = new Kiwi(); return $kiwi->Api1BienTarif($ref); } }