<?php
class Testando
{
public function teste()
{
echo "teste!\n";
}
}
$testando = new Testando;
echo $testando-> teste();
$var = $testando-> teste();
PD9waHAKCmNsYXNzIFRlc3RhbmRvCnsKCXB1YmxpYyBmdW5jdGlvbiB0ZXN0ZSgpCgl7CgkJZWNobyAidGVzdGUhXG4iOwoJfQp9CgokdGVzdGFuZG8gPSBuZXcgVGVzdGFuZG87CgoKZWNobyAkdGVzdGFuZG8tPiB0ZXN0ZSgpOwoKJHZhciA9ICR0ZXN0YW5kby0+IHRlc3RlKCk7CnZhcl9kdW1wKCAkdmFyICk7Cg==