Lines Matching refs:function

8 		function __toString() { return "a"; }
9 function __destruct() { throw new Exception; }
15 function __destruct() { throw new Exception; }
22 function __destruct() { throw new Exception; }
29 function __destruct() { throw new Exception; }
35 function __get($x) { return [0]; }
36 function __set($x, $y) {}
39 function __destruct() { throw new Exception; }
46 function &__get($x) { return $this->bar; }
49 function __destruct() { throw new Exception; }
55 function offsetGet($x) { return [0]; }
56 function offsetSet($x, $y) {}
57 function offsetExists($x) { return true; }
58 function offsetUnset($x) {}
61 function __destruct() { throw new Exception; }
68 function &offsetGet($x) { return $this->foo; }
69 function offsetSet($x, $y) {}
70 function offsetExists($x) { return true; }
71 function offsetUnset($x) {}
74 function __destruct() { throw new Exception; }
79 var_dump((function() { return new class {
80 function __construct() { $this->foo = new stdClass; }
81 function __destruct() { throw new Exception; }
86 var_dump((function() { return new class {
87 function __get($x) { return new stdClass; }
88 function __set($x, $y) {}
89 function __destruct() { throw new Exception; }
94 var_dump((function() { return new class {
95 function __construct() { $this->bar = new stdClass; }
96 function &__get($x) { return $this->bar; }
97 function __destruct() { throw new Exception; }
102 var_dump(++(function() { return new class {
103 function __construct() { $this->foo = new stdClass; }
104 function __destruct() { throw new Exception; }
109 var_dump(++(function() { return new class {
110 function __get($x) { return new stdClass; }
111 function __set($x, $y) {}
112 function __destruct() { throw new Exception; }
117 var_dump(++(function() { return new class {
118 function __construct() { $this->bar = new stdClass; }
119 function &__get($x) { return $this->bar; }
120 function __destruct() { throw new Exception; }
125 var_dump((function() { return new class implements ArrayAccess {
126 function offsetGet($x) { return [new stdClass]; }
127 function offsetSet($x, $y) {}
128 function offsetExists($x) { return true; }
129 function offsetUnset($x) {}
130 function __destruct() { throw new Exception; }
135 var_dump(++(function() { return new class implements ArrayAccess {
136 function offsetGet($x) { return [new stdClass]; }
137 function offsetSet($x, $y) {}
138 function offsetExists($x) { return true; }
139 function offsetUnset($x) {}
140 function __destruct() { throw new Exception; }
146 function __construct() { $this->foo = new stdClass; }
147 function __destruct() { throw new Exception; }
153 function __get($x) { return new stdClass; }
154 function __set($x, $y) {}
155 function __destruct() { throw new Exception; }
161 function offsetGet($x) { return [new stdClass]; }
162 function offsetSet($x, $y) {}
163 function offsetExists($x) { return true; }
164 function offsetUnset($x) {}
165 function __destruct() { throw new Exception; }
171 function __construct() { $this->foo = new stdClass; }
172 function __destruct() { throw new Exception; }
178 function __get($x) { return new stdClass; }
179 function __set($x, $y) {}
180 function __destruct() { throw new Exception; }
186 function offsetGet($x) { return [new stdClass]; }
187 function offsetSet($x, $y) {}
188 function offsetExists($x) { return true; }
189 function offsetUnset($x) {}
190 function __destruct() { throw new Exception; }
196 function __destruct() { throw new Exception; }
203 function __destruct() { throw new Exception; }
210 function __destruct() { throw new Exception; }
217 function __get($x) {}
218 function __set($x, $y) { throw new Exception; }
225 function offsetGet($x) {}
226 function offsetSet($x, $y) { throw new Exception; }
227 function offsetExists($x) { return true; }
228 function offsetUnset($x) {}
235 function __destruct() { throw new Exception; }
242 $f = function() {
244 function __toString() { return "a"; }
245 function __destruct() { throw new Exception; }
252 $f = function() {
254 function __toString() { return "a"; }
255 function __destruct() { throw new Exception; }
263 function __toString() { $x = "Z"; return ++$x; }
264 function __destruct() { throw new Exception; }
270 function __clone() { throw new Exception; }