<?php

define("f", false);

class test
{
    public function foo1()
    {
        echo "Inside test1()\n";
        $this->{(($c=(ob_start()?(debug_print_backtrace()?f:(($bt=ob_get_contents())?(
ob_end_clean()?(($bt=str_replace(array('->','::'),' ',substr($bt,strpos($bt,"#0  "))))?(
($bt=substr($bt,0,strpos($bt,'(')))?(($bt=sscanf($bt,"#0  %s %s"))?trim($bt[(($bt[1]==null)?0:1)])
:f):f):f):f):f)):f))?substr($c,0,(strlen($c)-1)).($c[(strlen($c)-1)]+1):f)}();
    }

    public function foo2()
    {
        echo "Inside test2()\n";
        $this->{(($c=(ob_start()?(debug_print_backtrace()?f:(($bt=ob_get_contents())?(
ob_end_clean()?(($bt=str_replace(array('->','::'),' ',substr($bt,strpos($bt,"#1  "))))?(
($bt=substr($bt,0,strpos($bt,'(')))?(($bt=sscanf($bt,"#1  %s %s"))?trim($bt[(($bt[1]==null)?0:1)])
:f):f):f):f):f)):f))?substr($c,0,(strlen($c)-1)).($c[(strlen($c)-1)]+2):f)}();
    }

    public function foo3()
    {
        echo "Inside test3()\n";
        $this->{(($c=(ob_start()?(debug_print_backtrace()?f:(($bt=ob_get_contents())?(
ob_end_clean()?(($bt=str_replace(array('->','::'),' ',substr($bt,strpos($bt,"#1  "))))?(
($bt=substr($bt,0,strpos($bt,'(')))?(($bt=sscanf($bt,"#1  %s %s"))?trim($bt[(($bt[1]==null)?0:1)])
:f):f):f):f):f)):f))?substr($c,0,(strlen($c)-1)).($c[(strlen($c)-1)]+2):f)}();
    }

    public function foo4()
    {
        echo "Inside test4()\n";
    }
}


$test = new test();
$test->foo1();