Home
last modified time | relevance | path

Searched refs:this (Results 176 – 200 of 2304) sorted by relevance

12345678910>>...93

/php-src/Zend/tests/
H A Dbug34873.phpt9 $this->var = array();
16 foreach ($cont as $this->var['key'] => $this->var['value'])
17 var_dump($this->var['value']);
H A Dbug29689.phpt11 echo __CLASS__, ': ', $this->foo, " ", $this->foo2, "\n";
21 echo __CLASS__, ': ', $this->foo, " ", $this->foo2, "\n";
34 echo __CLASS__, ': ', $this->foo, " ", $this->foo2, "\n";
H A Dbug20240.phpt11 $this->member = 1;
12 register_shutdown_function(array($this, 'destructor'));
24 $this->member += 1;
25 print $this->member."\n";
H A Dbug32429.phpt8 var_dump(method_exists($this, 'test'));
10 if (method_exists($this, 'test')) {
11 $this->test();
16 throw new Exception('Call to undefined method'.get_class($this).'::'.$name.'()');
H A Dbug33710.phpt2 Bug #33710 (ArrayAccess objects doesn't initialize $this)
15 $this['blah'];
20 $this;
21 $this['blah'];
H A Dbug77877.phpt2 Bug #77877 call_user_func() passes $this to static methods
7 var_dump($this);
22 Using $this when not in object context
23 Using $this when not in object context
H A Dgc_028.phpt10 if ($this->bar !== null) {
11 unset($this->bar);
18 if ($this->foo !== null) {
19 unset($this->foo);
H A Dbug24436.phpt9 if (empty($this->test[0][0])) { print "test1\n";}
10 if (!isset($this->test[0][0])) { print "test2\n";}
11 if (empty($this->test)) { print "test1\n";}
12 if (!isset($this->test)) { print "test2\n";}
H A Dbug39346.phpt11 $this->_id = $id;
12 self::$instances[$this->_id] = $this;
16 unset(self::$instances[$this->_id]);
H A Dbug49269.phpt10 return ($this->n < 3);
12 function current(): mixed {return $this->n;}
13 function next(): void {$this->n++;}
15 function rewind(): void {$this->n = 0;}
/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dstream_test.inc14 $this->position = 0;
20 $ret = substr(self::$string, $this->position, $count);
21 $this->position += strlen($ret);
37 return $this->position;
42 return ($this->position >= self::$string_length);
/php-src/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt12 $this->obj = $obj;
16 $this->num = 0;
19 $more = $this->num < $this->obj->max;
25 return $this->num;
29 $this->num++;
33 switch($this->num) {
50 return new c_iter($this);
/php-src/ext/spl/tests/
H A Diterator_053.phpt12 $this->uk = $flags & self::USE_KEY;
13 $this->re = $re;
19 foreach($this as $k => $v)
28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
30 var_dump($sub == $this->current());
/php-src/ext/standard/tests/http/http_build_query/
H A Dbug26817.phpt12 $this->bar = 'meuh';
13 $this->foo = 'lala';
14 $this->test = 'test';
16 var_dump(http_build_query($this));
/php-src/ext/pcre/tests/
H A Dpreg_match_basic.phpt6 $string = 'Hello, world. [*], this is \ a string';
11 var_dump(preg_match('/\[\*\],\s(.*)/', $string, $match3)); //finds "[*], this is \ a string";
13 …{2}\s\\\(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //finds "this is \ a string" (wit…
30 string(23) "[*], this is \ a string"
32 string(18) "this is \ a string"
39 string(18) "this is \ a string"
/php-src/tests/classes/
H A Dinheritance_007.phpt7 $this->normalPrivate();
8 $this->finalPrivate();
11 $this->normalPrivate();
12 $this->finalPrivate();
23 $this->normalPrivate();
24 $this->finalPrivate();
/php-src/ext/phar/tests/
H A Dphar_buildfromiterator7.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 reset($this->a);
H A Dphar_buildfromiterator9.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return (bool) current($this->a);
35 reset($this->a);
H A Dphar_buildfromiterator5.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return is_object(current($this->a));
35 reset($this->a);
/php-src/ext/phar/tests/zip/
H A Dphar_buildfromiterator7.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 reset($this->a);
H A Dphar_buildfromiterator5.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return is_object(current($this->a));
35 reset($this->a);
/php-src/ext/phar/tests/tar/
H A Dphar_buildfromiterator7.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 reset($this->a);
H A Dphar_buildfromiterator5.phpt15 $this->a = $a;
19 next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return (bool) current($this->a);
35 reset($this->a);
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_class_008.phpt18 $this->num = $num;
19 echo "(#$this->num) constructor called\n";
22 echo "(#$this->num) destructor called\n";
26 echo "(#$this->num) finish called $id\n";
30 echo "(#$this->num) writing $id = $data\n";
35 echo "(#$this->num) closing $id\n";
/php-src/Zend/tests/generators/
H A Diterator_wrapper_leak.phpt10 $this->gen1 = (function () {
16 foreach ($this->gen1 as $x) {
21 $this->gen2 = $gen2();
22 foreach ($this->gen2 as $x) {

Completed in 38 milliseconds

12345678910>>...93