<?php

if (isset($_GET['src'])) die(highlight_file(__FILE__));

class kaka {
    function a() {
        echo 'a';
        return $this;
    }
    function b() {
        echo 'b';
        return $this;
    }
}

$kaka = new kaka();
$kaka->a()
     ->b();

?>
1