/php-src/Zend/tests/ |
H A D | bug34873.phpt | 9 $this->var = array(); 16 foreach ($cont as $this->var['key'] => $this->var['value']) 17 var_dump($this->var['value']);
|
H A D | bug29689.phpt | 11 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 D | bug20240.phpt | 11 $this->member = 1; 12 register_shutdown_function(array($this, 'destructor')); 24 $this->member += 1; 25 print $this->member."\n";
|
H A D | bug32429.phpt | 8 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 D | bug33710.phpt | 2 Bug #33710 (ArrayAccess objects doesn't initialize $this) 15 $this['blah']; 20 $this; 21 $this['blah'];
|
H A D | bug77877.phpt | 2 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 D | gc_028.phpt | 10 if ($this->bar !== null) { 11 unset($this->bar); 18 if ($this->foo !== null) { 19 unset($this->foo);
|
H A D | bug24436.phpt | 9 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 D | bug39346.phpt | 11 $this->_id = $id; 12 self::$instances[$this->_id] = $this; 16 unset(self::$instances[$this->_id]);
|
H A D | bug49269.phpt | 10 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 D | stream_test.inc | 14 $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 D | foreachLoopIteratorAggregate.004.phpt | 12 $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 D | iterator_053.phpt | 12 $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 D | bug26817.phpt | 12 $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 D | preg_match_basic.phpt | 6 $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 D | inheritance_007.phpt | 7 $this->normalPrivate(); 8 $this->finalPrivate(); 11 $this->normalPrivate(); 12 $this->finalPrivate(); 23 $this->normalPrivate(); 24 $this->finalPrivate();
|
/php-src/ext/phar/tests/ |
H A D | phar_buildfromiterator7.phpt | 15 $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 D | phar_buildfromiterator9.phpt | 15 $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 D | phar_buildfromiterator5.phpt | 15 $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 D | phar_buildfromiterator7.phpt | 15 $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 D | phar_buildfromiterator5.phpt | 15 $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 D | phar_buildfromiterator7.phpt | 15 $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 D | phar_buildfromiterator5.phpt | 15 $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 D | session_set_save_handler_class_008.phpt | 18 $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 D | iterator_wrapper_leak.phpt | 10 $this->gen1 = (function () { 16 foreach ($this->gen1 as $x) { 21 $this->gen2 = $gen2(); 22 foreach ($this->gen2 as $x) {
|