Searched refs:this (Results 101 – 125 of 2290) sorted by relevance
12345678910>>...92
2 Closure 005: Lambda inside class, lifetime of $this10 $this->x = $x;19 $this->x += $val;25 echo $this->x."\n";31 echo $this->x."\n";36 echo $this->x."\n";74 Fatal error: Using $this when not in object context in %sclosure_005.php on line 28
14 $this->data['foo'] = new B($this);15 $this->data['bar'] = new B($this);17 return $this->data['foo'];25 $this->A = $A;
11 $this->container = array(18 $this->container[$offset] = $value;21 return isset($this->container[$offset]);24 unset($this->container[$offset]);27 return isset($this->container[$offset]) ? $this->container[$offset] : null;
8 function __construct() { $this->page = new PageClass(); }17 $this->Comment = $comment;20 out($this->Comment); // this line doesn't crash PHP 21 out("\n<!-- End Section: " . $this->Comment . "-->"); // this line
13 return $this->a1;17 return $this->a2;21 $this->a3 = array();22 return $this->a3;26 return $this->o1;30 $this->o2 = new stdClass;31 return $this->o2;35 return $this->a1;
9 $this->container[] = $value;11 $this->container[$offset] = $value;15 return isset($this->container[$offset]);18 unset($this->container[$offset]);22 if (isset($this->container[$offset])) {23 $result = &$this->container[$offset];
10 $this->data = '<' . "?php \n\"\";ll l\n ?" . '>';11 $this->position = 0;15 $ret = substr($this->data, $this->position, $count);16 $this->position += strlen($ret);20 return $this->position >= strlen($this->data);
13 $this->array = $a;19 return current($this->array);25 return key($this->array);31 $this->valid = (false !== next($this->array));37 return $this->valid;43 $this->valid = (false !== reset($this->array));
36 $this->max_depth = $max_depth;43 $this->skip = false;50 if ($this->skip)52 $this->skip = false;53 $this->next();78 $this->skip = false;80 $res = $this->getDepth() < $this->max_depth && $has;84 $this->over++;85 if ($this->over == 2) {86 $this->skip = true;[all …]
45 $this->name = '$' . $name;55 return $this->name;66 $this->observers = new MyObjectStorage;67 $this->name = '$' . $name;73 $this->observers->attach($observer);79 $this->observers->detach($observer);84 return $this->observers->count();90 foreach($this->observers as $key => $observer)92 $observer->update($this);98 return $this->name;[all …]
29 <?php echo "this string is within php tag"; ?> {;}<{> this35 this is the line with \n character. 97 string(10) " {;} this151 string(10) " {;} this205 string(10) " {;} this259 string(10) " {;} this313 string(10) " {;} this367 string(10) " {;} this421 string(10) " {;} this475 string(10) " {;} this[all …]
29 <?php echo "this string is within php tag"; ?> {;}<{> this35 this is the line with \n character. 93 string(10) " {;} this147 string(10) " {;} this201 string(10) " {;} this255 string(10) " {;} this309 string(10) " {;} this363 string(10) " {;} this417 string(10) " {;} this471 string(10) " {;} this[all …]
45 $this->flags = $flags;51 return $this->flags;57 $this->flags = $flags;75 foreach($this->iterators as $iter)89 $this->iterators->detach($iter);103 return $this->iterators->count();109 foreach($this->iterators as $iter)124 if (!sizeof($this->iterators)) {130 foreach($this->iterators as $iter)159 if (!sizeof($this->iterators))[all …]
25 * this does not transport any state or control information of your accept()26 * implementation to the new instance. To overcome this problem you might 27 * need to overwrite getChildren(), call this implementation and pass the43 return $this->getInnerIterator()->hasChildren();48 * @note the returned iterator will be of the same class as $this52 if (empty($this->ref))54 $this->ref = new ReflectionClass($this);56 return $this->ref->newInstance($this->getInnerIterator()->getChildren());
12 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";13 return $this->pos<3;18 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";19 return $this->myContent[$this->pos++];24 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";25 $this->pos=0;30 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";31 return $this->myContent[$this->pos];36 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";37 return "meal " . $this->pos;
11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";12 return $this->pos<3;17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";18 return $this->myContent[$this->pos++];23 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";24 $this->pos=0;29 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";30 return $this->myContent[$this->pos];35 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";36 return "meal " . $this->pos;
12 $this->i = $i;21 $this->A[1] = new TestX(1);22 $this->A[2] = & new TestX(2);23 $this->A[3] = & $this->A[2];24 $this->B = $this->A[1];
14 $this->a[] = new B(1);15 $this->a[] = new B(2);25 $this->b = new C($c);30 return serialize(clone $this->b);35 $this->b = unserialize($data);45 $this->c = $c;
12 $this->test = '123';13 $this->me = $this;20 $this->test = '123';24 'test' => $this->test,25 'me' => $this
14 echo "this is a protected method.\n";17 echo "this is a private method.\n";21 $this->isProtected();22 $this->isPrivate();33 this is a protected method.34 this is a private method.
13 if (isset($this->x[$name])) {14 return $this->x[$name];24 $this->x[$name] = $val;34 if (!isset($this->x[$name])) {35 $this->x[$name] = new Test();37 return $this->x[$name];42 $this->x[$name] = $val;
13 echo "a = ".$this->a."\n";14 echo "b = ".$this->b."\n";17 return $this->a*$this->b;25 echo "a = ".$this->a."\n";26 echo "b = ".$this->b."\n";27 echo "c = ".$this->c."\n";
18 $this->name = 'base';19 print_r($this);24 print_r($this);32 $this->name = 'init';33 $this->other = 'other';34 print_r($this);37 $this->name = 'derived';38 print_r($this);44 print_r($this);
16 $this->object = $object;17 $this->element = &$element;21 echo __METHOD__ . "($this->element, $index)\n";22 return array_key_exists($index, $this->element);27 return isset($this->element[$index]) ? $this->element[$index] : NULL;32 $this->element[$index] = $value;37 unset($this->element[$index]);47 $this->person = array(array('name'=>'Foo'));57 return new ArrayReferenceProxy($this, $this->person[$index]);62 $this->person[$index] = $value;[all …]
4 $this->errno = $_errno;5 $this->errmsg = $_errmsg;9 return $this->errno;13 return $this->errmsg;
Completed in 44 milliseconds