SHOW:
|
|
- or go back to the newest paste.
| 1 | <? | |
| 2 | class foo | |
| 3 | {
| |
| 4 | - | /* note: $this->____baz is not defined as var */ |
| 4 | + | /* note: $this->____baz is defined as var */ |
| 5 | private $____baz = NULL; | |
| 6 | public function __set($index, $value) | |
| 7 | {
| |
| 8 | var_dump(debug_backtrace(0,1)); | |
| 9 | $foo = $this->filterApply('arx', __METHOD__, array('i' => $index, 'v' => $value));
| |
| 10 | $index = $foo['i']; | |
| 11 | $this->____baz = $index; | |
| 12 | } | |
| 13 | } | |
| 14 | ?> | |
| 15 | ||
| 16 | result: | |
| 17 | array(1) {
| |
| 18 | [0]=> | |
| 19 | array(6) {
| |
| 20 | ["file"]=> | |
| 21 | string(48) "/var/www/web/dev/index.php" | |
| 22 | ["line"]=> | |
| 23 | int(32) | |
| 24 | ["function"]=> | |
| 25 | string(5) "__set" | |
| 26 | ["class"]=> | |
| 27 | string(18) "ILLI\System\Object" | |
| 28 | ["type"]=> | |
| 29 | string(2) "->" | |
| 30 | ["args"]=> | |
| 31 | array(2) {
| |
| 32 | [0]=> | |
| 33 | &string(3) "baz" | |
| 34 | [1]=> | |
| 35 | &string(3) "bar" | |
| 36 | } | |
| 37 | } | |
| 38 | } | |
| 39 | object(ILLI\System\UUID)#16 (12) {
| |
| 40 | ["__value":"ILLI\System\UUID":private]=> | |
| 41 | string(36) "45552e55-2e68-424c-a355-47644b613766" | |
| 42 | - | string(79) "/var/www/web/dev/ILLI/3.0.2/VENDOR/ILLI/System/Object.php" |
| 42 | + | ["____baz":"ILLI\System\Object":private]=> |
| 43 | string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAZ***" | |
| 44 | - | int(84) |
| 44 | + | |
| 45 | NULL | |
| 46 | ["__adapterTracesEnabled":"ILLI\System\Object":private]=> | |
| 47 | bool(false) | |
| 48 | ["__adapterTraces":"ILLI\System\Object":private]=> | |
| 49 | array(0) {
| |
| 50 | } | |
| 51 | ["__adapters":protected]=> | |
| 52 | array(0) {
| |
| 53 | } | |
| 54 | - | &string(7) "____baz" <----------- WTF! |
| 54 | + | |
| 55 | bool(false) | |
| 56 | - | &string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAZ***" |
| 56 | + | |
| 57 | array(0) {
| |
| 58 | } | |
| 59 | ["__observers":protected]=> | |
| 60 | array(0) {
| |
| 61 | } | |
| 62 | ["__filterTracesEnabled":"ILLI\System\Object":private]=> | |
| 63 | bool(false) | |
| 64 | - | string(36) "38355331-5271-445a-a962-74372e334979" |
| 64 | + | |
| 65 | array(1) {
| |
| 66 | ["ILLI\System\Object::__set"]=> | |
| 67 | array(2) {
| |
| 68 | ["ILLI\System\Foo::findex"]=> | |
| 69 | array(1) {
| |
| 70 | [0]=> | |
| 71 | array(2) {
| |
| 72 | ["i"]=> | |
| 73 | string(34) "***ILLI\System\Foo::findex->baz***" | |
| 74 | ["v"]=> | |
| 75 | string(34) "***ILLI\System\Foo::findex->bar***" | |
| 76 | } | |
| 77 | } | |
| 78 | ["ILLI\System\Foo::toUpper"]=> | |
| 79 | array(1) {
| |
| 80 | [0]=> | |
| 81 | array(2) {
| |
| 82 | ["i"]=> | |
| 83 | string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAZ***" | |
| 84 | ["v"]=> | |
| 85 | string(34) "***ILLI\SYSTEM\FOO::FINDEX->BAR***" | |
| 86 | } | |
| 87 | } | |
| 88 | } | |
| 89 | } | |
| 90 | - | array(2) {
|
| 90 | + | |
| 91 | array(1) {
| |
| 92 | ["ILLI\System\Object::__set"]=> | |
| 93 | array(2) {
| |
| 94 | [0]=> | |
| 95 | object(ILLI\System\FilterAlias)#17 (3) {
| |
| 96 | ["__event":"ILLI\System\FilterAlias":private]=> | |
| 97 | string(3) "arx" | |
| 98 | - | [1]=> |
| 98 | + | |
| 99 | object(ILLI\System\Method)#19 (3) {
| |
| 100 | ["__class":protected]=> | |
| 101 | - | string(38) "***ILLI\System\Foo::findex->____baz***" |
| 101 | + | |
| 102 | ["__function":protected]=> | |
| 103 | - | string(65) "***ILLI\System\Foo::findex->***ILLI\SYSTEM\FOO::FINDEX->BAZ******" |
| 103 | + | |
| 104 | ["__method":protected]=> | |
| 105 | string(25) "ILLI\System\Object::__set" | |
| 106 | } | |
| 107 | - | array(2) {
|
| 107 | + | |
| 108 | object(ILLI\System\InvokeMethod)#23 (1) {
| |
| 109 | ["__callable":protected]=> | |
| 110 | object(ILLI\System\Method)#25 (3) {
| |
| 111 | ["__class":protected]=> | |
| 112 | string(15) "ILLI\System\Foo" | |
| 113 | ["__function":protected]=> | |
| 114 | string(6) "findex" | |
| 115 | - | [1]=> |
| 115 | + | |
| 116 | string(23) "ILLI\System\Foo::findex" | |
| 117 | } | |
| 118 | - | string(38) "***ILLI\SYSTEM\FOO::FINDEX->____BAZ***" |
| 118 | + | |
| 119 | } | |
| 120 | - | string(65) "***ILLI\SYSTEM\FOO::FINDEX->***ILLI\SYSTEM\FOO::FINDEX->BAZ******" |
| 120 | + | |
| 121 | object(ILLI\System\FilterAlias)#26 (3) {
| |
| 122 | ["__event":"ILLI\System\FilterAlias":private]=> | |
| 123 | string(3) "arx" | |
| 124 | ["__TRIGGER":"ILLI\System\FilterAlias":private]=> | |
| 125 | object(ILLI\System\Method)#27 (3) {
| |
| 126 | ["__class":protected]=> | |
| 127 | string(18) "ILLI\System\Object" | |
| 128 | ["__function":protected]=> | |
| 129 | string(5) "__set" | |
| 130 | ["__method":protected]=> | |
| 131 | string(25) "ILLI\System\Object::__set" | |
| 132 | } | |
| 133 | ["__FILTER":"ILLI\System\FilterAlias":private]=> | |
| 134 | object(ILLI\System\InvokeMethod)#28 (1) {
| |
| 135 | ["__callable":protected]=> | |
| 136 | object(ILLI\System\Method)#29 (3) {
| |
| 137 | ["__class":protected]=> | |
| 138 | string(15) "ILLI\System\Foo" | |
| 139 | ["__function":protected]=> | |
| 140 | string(7) "toUpper" | |
| 141 | ["__method":protected]=> | |
| 142 | string(24) "ILLI\System\Foo::toUpper" | |
| 143 | } | |
| 144 | } | |
| 145 | } | |
| 146 | } | |
| 147 | } | |
| 148 | } |