/PHP-5.5/ext/spl/examples/ |
H A D | directorytreeiterator.inc | 39 for ($l=0; $l < $this->getDepth(); $l++) { 40 $tree .= $this->getSubIterator($l)->hasNext() ? '| ' : ' '; 42 return $tree . ($this->getSubIterator($l)->hasNext() ? '|-' : '\-') 43 . $this->getSubIterator($l)->__toString(); 50 return call_user_func_array(array($this->getSubIterator(), $func), $params);
|
/PHP-5.5/Zend/tests/ |
H A D | bug20240.phpt | 13 $this->member = 1; 14 register_shutdown_function(array($this, 'destructor')); 26 $this->member += 1; 27 print $this->member."\n";
|
H A D | bug24436.phpt | 11 if (empty($this->test[0][0])) { print "test1\n";} 12 if (!isset($this->test[0][0])) { print "test2\n";} 13 if (empty($this->test)) { print "test1\n";} 14 if (!isset($this->test)) { print "test2\n";}
|
H A D | bug34893.phpt | 8 return $this->$name; 11 $this->$name = $value; 17 return $this->$name; 20 $this->$name = $value;
|
H A D | 030.phpt | 2 Overriding $this in catch and checking the object properties later. 14 } catch (Exception $this) { 15 var_dump($this); 18 $this->baz(); 22 foreach ($this as $k => $v) {
|
H A D | objects_026.phpt | 2 Using $this when out of context 7 $this->a = 1; 13 Fatal error: Using $this when not in object context in %s on line %d
|
/PHP-5.5/ext/session/tests/ |
H A D | session_set_save_handler_class_008.phpt | 24 $this->num = $num; 25 echo "(#$this->num) constructor called\n"; 28 echo "(#$this->num) destructor called\n"; 32 echo "(#$this->num) finish called $id\n"; 36 echo "(#$this->num) writing $id = $data\n"; 41 echo "(#$this->num) closing $id\n";
|
H A D | session_set_save_handler_class_010.phpt | 24 $this->num = $num; 25 echo "(#$this->num) constructor called\n"; 28 echo "(#$this->num) destructor called\n"; 32 echo "(#$this->num) finish called $id\n"; 36 echo "(#$this->num) writing $id = $data\n"; 41 echo "(#$this->num) closing $id\n";
|
/PHP-5.5/ext/pcre/tests/ |
H A D | preg_match_basic_edit.phpt | 12 $string = 'Hello, world. [*], this is \ a string'; 20 var_dump(preg_match('/\[\*\],\s(.*)/', $string, $match3)); //finds "[*], this is \ a string"; 23 …{2}\s\\\(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //finds "this is \ a string" (wit… 43 string(23) "[*], this is \ a string" 45 string(18) "this is \ a string" 52 string(18) "this is \ a string"
|
H A D | preg_quote_basic.phpt | 9 $string_before = '/this *-has \ metacharacters^ in $'; 13 $string1 = 'testing - /this *-has \ metacharacters^ in $ should work'; 19 $string_before looks like: /this *-has \ metacharacters^ in $ 20 $string_after looks like: \/this \*\-has \\ metacharacters\^ in \$, with metacharacters and / (set … 24 string(58) "testing - /this *-has \ metacharacters^ in $ should work"
|
/PHP-5.5/ext/soap/tests/interop/Round4/GroupH/ |
H A D | r4_groupH_complex_doclit_003w.phpt | 12 $this->varString = $s; 13 $this->varInt = $i; 14 $this->varFloat = $f; 19 $this->structMessage = $f; 20 $this->shortMessage = $s; 25 $this->BaseStruct($f,$s); 26 $this->stringMessage = $x1; 27 $this->intMessage = $x2; 28 $this->anotherIntMessage = $x3;
|
H A D | r4_groupH_complex_doclit_007w.phpt | 11 $this->varString = $s; 12 $this->varInt = $i; 13 $this->varFloat = $f; 18 $this->structMessage = $f; 19 $this->shortMessage = $s; 24 $this->BaseStruct($f,$s); 25 $this->stringMessage = $x1; 26 $this->intMessage = $x2; 27 $this->anotherIntMessage = $x3; 32 $this->ExtendedStruct($f, $s, $x1, $x2, $x3); [all …]
|
H A D | r4_groupH_complex_doclit_009w.phpt | 11 $this->varString = $s; 12 $this->varInt = $i; 13 $this->varFloat = $f; 18 $this->structMessage = $f; 19 $this->shortMessage = $s; 24 $this->BaseStruct($f,$s); 25 $this->stringMessage = $x1; 26 $this->intMessage = $x2; 27 $this->anotherIntMessage = $x3; 32 $this->ExtendedStruct($f, $s, $x1, $x2, $x3); [all …]
|
H A D | r4_groupH_complex_doclit_010w.phpt | 11 $this->varString = $s; 12 $this->varInt = $i; 13 $this->varFloat = $f; 18 $this->structMessage = $f; 19 $this->shortMessage = $s; 24 $this->BaseStruct($f,$s); 25 $this->stringMessage = $x1; 26 $this->intMessage = $x2; 27 $this->anotherIntMessage = $x3; 32 $this->ExtendedStruct($f, $s, $x1, $x2, $x3); [all …]
|
H A D | r4_groupH_complex_doclit_008w.phpt | 11 $this->varString = $s; 12 $this->varInt = $i; 13 $this->varFloat = $f; 18 $this->structMessage = $f; 19 $this->shortMessage = $s; 24 $this->BaseStruct($f,$s); 25 $this->stringMessage = $x1; 26 $this->intMessage = $x2; 27 $this->anotherIntMessage = $x3; 32 $this->ExtendedStruct($f, $s, $x1, $x2, $x3); [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | iterator_001.phpt | 14 $this->a = $a; 20 $this->i = 0; 25 $ret = $this->i < count($this->a); 33 return $this->i; 39 return $this->a[$this->i]; 45 $this->i++; 50 echo get_class($this) . '::' . __FUNCTION__ . '(' . $comp . ")\n"; 51 return $this->current() > $comp; 59 if ($index < count($this->a)) { 60 $this->i = $index;
|
/PHP-5.5/ext/date/tests/ |
H A D | bug62500.phpt | 10 var_dump($this->foo); 11 $this->foo = 3; 12 var_dump($this->foo); 13 var_dump($this->{2});
|
H A D | bug33415-2.phpt | 15 print "TZ=Asia/Thimbu - Is it OK for this to be 0:30 AM? yes\n"; 41 print "TZ=Asia/Kashgar - Is it OK for this to be 3 AM? yes\n"; 218 TZ=Asia/Thimbu - Is it OK for this to be 0:30 AM? yes 235 TZ=Asia/Kashgar - Is it OK for this to be 3 AM? yes 268 TZ=America/Guyana - Is it OK for this to be 0:45 AM? yes 273 TZ=Asia/Tehran - Is it OK for this to be 0:30 AM? yes 289 TZ=Asia/Katmandu - Is it OK for this to 0:15 AM?. yes 294 TZ=Pacific/Nauru - Is it OK for this to be 0:30? yes 299 TZ=Pacific/Niue - Is it OK for this to be 0:30 AM? yes 310 TZ=America/Miquelon - Is it OK for this to be 1 AM ? yes [all …]
|
/PHP-5.5/tests/lang/ |
H A D | 030.phpt | 2 $this in constructor test 7 $GLOBALS['List']= &$this; 8 $this->Name = $name; 13 $GLOBALS['names'][]=$this->Name;
|
H A D | this_assignment.phpt | 2 Test to catch early assignment of $this 11 $this->me(); 15 $this->me(); 25 $this->me();
|
/PHP-5.5/tests/classes/ |
H A D | iterators_004.phpt | 27 return $this->num; 31 $this->num++; 35 return $this->num < $this->max; 39 switch($this->num) {
|
H A D | array_access_003.phpt | 13 return array_key_exists($index, $this->a); 25 return $this->a[$index]; 30 $this->cnt = $newval; 32 return $this->a[$index] = $newval; 36 unset($this->a[$index]);
|
H A D | array_access_004.phpt | 11 return array_key_exists($index, $this->a); 23 return $this->a[$index]; 28 $this->cnt = $newval; 30 return $this->a[$index] = $newval; 34 unset($this->a[$index]);
|
H A D | unset_properties.phpt | 22 $this->$name = $value; 29 return isset($this->$name); 34 return $this->publicProperty; 39 $this->publicProperty = $publicProperty; 44 unset($this->protectedProperty); 49 return $this->protectedProperty; 54 $this->protectedProperty = $protectedProperty; 59 unset($this->privateProperty); 64 return $this->privateProperty; 69 $this->privateProperty = $privateProperty;
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | serialization_objects_011.phpt | 22 return isset($this->APriv, $this->AProt, $this->APub); 32 return parent::audit() && isset($this->AProt, $this->APub, 33 $this->BPriv, $this->BProt, $this->BPub); 47 return parent::audit() && isset($this->APriv, $this->AProt, $this->APub, 48 $this->BProt, $this->BPub, 49 $this->CPriv, $this->CProt, $this->CPub);
|