<?php class Foo { protected $bar = 23; public function getBar() { return $this->bar; } } $foo = new Foo(); echo sprintf('Testing %s', 'ID#'.$foo->getBar());
You have javascript disabled. You will not be able to edit any code.