Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- class foo
- {
- /* note: $this->____baz is defined as var */
- private $____baz = NULL;
- public function __set($index, $value)
- {
- var_dump(debug_backtrace(0,1));
- $foo = $this->filterApply('arx', __METHOD__, array('i' => $index, 'v' => $value));
- $index = $foo['i'];
- $this->____baz = $index;
- }
- }
- ?>
- result:
- array(1) {
- [0]=>
- array(6) {
- ["file"]=>
- string(48) "/var/www/web/dev/index.php"
- ["line"]=>
- int(32)
- ["function"]=>
- string(5) "__set"
- ["class"]=>
- string(18) "ILLI\System\Object"
- ["type"]=>
- string(2) "->"
- ["args"]=>
- array(2) {
- [0]=>
- &string(3) "baz"
- [1]=>
- &string(3) "bar"
- }
- }
- }
- object(ILLI\System\UUID)#16 (12) {
- ["__value":"ILLI\System\UUID":private]=>
- string(36) "45552e55-2e68-424c-a355-47644b613766"
- ["____baz":"ILLI\System\Object":private]=>
- string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAZ***"
- ["__splHashRegisterAddress":"ILLI\System\Object":private]=>
- NULL
- ["__adapterTracesEnabled":"ILLI\System\Object":private]=>
- bool(false)
- ["__adapterTraces":"ILLI\System\Object":private]=>
- array(0) {
- }
- ["__adapters":protected]=>
- array(0) {
- }
- ["__observerTracesEnabled":"ILLI\System\Object":private]=>
- bool(false)
- ["__observerTraces":"ILLI\System\Object":private]=>
- array(0) {
- }
- ["__observers":protected]=>
- array(0) {
- }
- ["__filterTracesEnabled":"ILLI\System\Object":private]=>
- bool(false)
- ["__filterTraces":"ILLI\System\Object":private]=>
- array(1) {
- ["ILLI\System\Object::__set"]=>
- array(2) {
- ["ILLI\System\Foo::findex"]=>
- array(1) {
- [0]=>
- array(2) {
- ["i"]=>
- string(34) "***ILLI\System\Foo::findex->baz***"
- ["v"]=>
- string(34) "***ILLI\System\Foo::findex->bar***"
- }
- }
- ["ILLI\System\Foo::toUpper"]=>
- array(1) {
- [0]=>
- array(2) {
- ["i"]=>
- string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAZ***"
- ["v"]=>
- string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAR***"
- }
- }
- }
- }
- ["__filters":protected]=>
- array(1) {
- ["ILLI\System\Object::__set"]=>
- array(2) {
- [0]=>
- object(ILLI\System\FilterAlias)#17 (3) {
- ["__event":"ILLI\System\FilterAlias":private]=>
- string(3) "arx"
- ["__TRIGGER":"ILLI\System\FilterAlias":private]=>
- object(ILLI\System\Method)#19 (3) {
- ["__class":protected]=>
- string(18) "ILLI\System\Object"
- ["__function":protected]=>
- string(5) "__set"
- ["__method":protected]=>
- string(25) "ILLI\System\Object::__set"
- }
- ["__FILTER":"ILLI\System\FilterAlias":private]=>
- object(ILLI\System\InvokeMethod)#23 (1) {
- ["__callable":protected]=>
- object(ILLI\System\Method)#25 (3) {
- ["__class":protected]=>
- string(15) "ILLI\System\Foo"
- ["__function":protected]=>
- string(6) "findex"
- ["__method":protected]=>
- string(23) "ILLI\System\Foo::findex"
- }
- }
- }
- [1]=>
- object(ILLI\System\FilterAlias)#26 (3) {
- ["__event":"ILLI\System\FilterAlias":private]=>
- string(3) "arx"
- ["__TRIGGER":"ILLI\System\FilterAlias":private]=>
- object(ILLI\System\Method)#27 (3) {
- ["__class":protected]=>
- string(18) "ILLI\System\Object"
- ["__function":protected]=>
- string(5) "__set"
- ["__method":protected]=>
- string(25) "ILLI\System\Object::__set"
- }
- ["__FILTER":"ILLI\System\FilterAlias":private]=>
- object(ILLI\System\InvokeMethod)#28 (1) {
- ["__callable":protected]=>
- object(ILLI\System\Method)#29 (3) {
- ["__class":protected]=>
- string(15) "ILLI\System\Foo"
- ["__function":protected]=>
- string(7) "toUpper"
- ["__method":protected]=>
- string(24) "ILLI\System\Foo::toUpper"
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement