/php-src/ext/dom/tests/modern/spec/ |
H A D | Element_setAttributeNS.phpt | 32 $container->setAttributeNS("urn:a", "x:foo", "1"); 42 $container->setAttributeNS("urn:a", "x:foo", "1"); 43 $container->setAttributeNS("urn:b", "x:foo", "2"); 64 <container x:foo="1" x:foo="2"></container> 65 Attr: x:foo 66 string(1) "x" 67 string(5) "x:foo" 69 Attr: x:foo 70 string(1) "x" 71 string(5) "x:foo"
|
/php-src/ext/spl/tests/ |
H A D | gh8044.phpt | 6 $x = new SplFixedArray(1); 7 $x[0] = $x; 8 var_export($x); echo "\n"; 9 debug_zval_dump($x); echo "\n";
|
H A D | serialize_property_tables.phpt | 22 $x = new MyArrayObject([]); 23 var_dump($x->__serialize()); 25 $x = new MySplDoublyLinkedList(); 26 var_dump($x->__serialize()); 28 $x = new MySplObjectStorage(); 29 var_dump($x->__serialize());
|
H A D | fixedarray_022.phpt | 6 $x = new SplFixedArray(1); 7 $x[0] = $x; 8 var_export($x); echo "\n"; 9 debug_zval_dump($x); echo "\n";
|
H A D | arrayObject_setFlags_basic2.phpt | 6 private $x = 'secret'; 9 var_dump($c->x); 13 $c = new C(array('x'=>'public')); 17 var_dump($c->x); 22 var_dump($c->x); 29 Fatal error: Uncaught Error: Cannot access private property C::$x in %s:19
|
/php-src/ext/standard/tests/serialize/ |
H A D | unserialize_classes.phpt | 6 public $x = "bar"; 22 ["x"]=> 35 ["x"]=> 46 ["x"]=> 59 ["x"]=> 70 ["x"]=> 81 ["x"]=>
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh12262.phpt | 27 $x = new C1(1); 28 var_dump($x->equal($x)); 29 var_dump($x->equal($x)); 30 var_dump($x->equal($x));
|
H A D | gh12482.phpt | 12 $cloned->x = 42; 21 public $x = 4; 25 public $x = 5; 41 ["x"]=> 51 ["x"]=> 55 ["x"]=>
|
/php-src/ext/dba/ |
H A D | install_cdb.sh | 35 ar x ../cdb.a 36 ar x ../byte.a 37 ar x ../unix.a 38 ar x ../byte.a 39 ar x ../buffer.a
|
/php-src/Zend/tests/ |
H A D | oss_fuzz_54325.phpt | 7 global $x; 8 $x = new stdClass; 12 $x = strrev('foo'); 13 $$x++; 14 var_dump($x);
|
H A D | bug71539_1.phpt | 5 $x = (object)['a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5,'f'=>6,'g'=>7]; 6 $x->h =& $x->i; 7 $x->h = 42; 8 var_dump($x);
|
H A D | indirect_reference_this.phpt | 6 function f($x){var_dump($$x);} 8 $x = new X; 9 $x->f("this");
|
H A D | bug75420.15.phpt | 6 public function offsetExists($x): bool { } 7 public function offsetGet($x): mixed { } 8 public function offsetSet($x, $y): void { $GLOBALS["name"] = 24; var_dump($x); } 9 public function offsetUnset($x): void { }
|
H A D | bug34310.phpt | 2 Bug #34310 (foreach($arr as $c->d => $x) crashes) 16 foreach($arr as $x => $c->d) 18 echo "{$x} => {$c->d}\n"; 22 foreach($arr as $c->d => $x) 24 echo "{$c->d} => {$x}\n";
|
/php-src/win32/ |
H A D | param.h | 18 #define howmany(x,y) (((x)+((y)-1))/(y)) argument 19 #define roundup(x,y) ((((x)+((y)-1))/(y))*(y)) argument
|
/php-src/tests/classes/ |
H A D | iterators_007.phpt | 8 public $x = 0; 10 …public function rewind(): void { if ($this->x == 0) throw new Exception(__METHOD__); reset($thi… 11 …public function current(): mixed { if ($this->x == 1) throw new Exception(__METHOD__); return cu… 12 …public function key(): mixed { if ($this->x == 2) throw new Exception(__METHOD__); return ke… 13 …public function next(): void { if ($this->x == 3) throw new Exception(__METHOD__); next($this… 14 …public function valid(): bool { if ($this->x == 4) throw new Exception(__METHOD__); return (ke… 19 while($t->x < 5) 32 $t->x++;
|
H A D | destructor_and_references.phpt | 6 class test1 {public $x;}; 7 class test2 {public $x;}; 8 class test3 {public $x;}; 9 class test4 {public $x;}; 16 $o3->x = &$o4;
|
/php-src/ext/standard/ |
H A D | sha1.c | 114 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 115 #define G(x, y, z) ((x) ^ (y) ^ (z)) argument 116 #define H(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) argument 117 #define I(x, y, z) ((x) ^ (y) ^ (z)) argument 121 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument 125 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \ 126 (x[i&15]=ROTATE_LEFT(tmp, 1)) ) 256 SHA1Decode(x, block, 64); in SHA1Transform() 259 FF(a, b, c, d, e, x[0]); /* 1 */ in SHA1Transform() 260 FF(e, a, b, c, d, x[1]); /* 2 */ in SHA1Transform() [all …]
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_ns_imported_06.phpt | 26 <x> 28 <test xmlns="x:y"/> 34 <child xmlns="some:ns2"/></x> 38 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p>foo<x xmlns="some:ns"> 40 <test xmlns="x:y"/> 46 <child xmlns="some:ns2"/></x></p></body></html> 47 <html><head></head><body><p>foo<x> 49 <test xmlns="x:y"></test> 55 <child></child></x></p></body></html>
|
/php-src/ext/standard/tests/strings/ |
H A D | str_replace_array_refs2.phpt | 17 $obj->prop = ['x' => 'property']; 18 $obj->prop = $closure($obj->prop, ['x'], 'a'); 19 var_dump(str_replace(array_keys($obj->prop), $obj->prop, "x property")); 21 $array = ['x' => 'property']; 22 $array = $closure($array, ['x'], 'a'); 23 var_dump(str_replace(array_keys($array), $array, "x property"));
|
/php-src/Zend/tests/match/ |
H A D | 044.phpt | 5 $x = 2; 6 var_dump(match ($x) { 7 2,2 => 'x', 12 string(1) "x"
|
/php-src/Zend/ |
H A D | zend_build.h | 22 #define ZEND_TOSTR_(x) #x argument 23 #define ZEND_TOSTR(x) ZEND_TOSTR_(x) argument
|
/php-src/ext/xmlwriter/tests/ |
H A D | bug41287.phpt | 11 xmlwriter_start_element_ns($xw, 'test', 'test', 'urn:x-test:'); 13 xmlwriter_write_element_ns($xw, null, 'bar', 'urn:x-test:', ''); 24 $xw->startElementNS('test', 'test', 'urn:x-test:'); 26 $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); 34 <test:test xmlns:test="urn:x-test:"> 36 <bar xmlns="urn:x-test:"></bar> 41 <test:test xmlns:test="urn:x-test:"> 43 <bar xmlns="urn:x-test:"></bar>
|
H A D | bug41326.phpt | 26 $xw->startElementNS('test', 'test', 'urn:x-test:'); 28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); 29 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL); 30 $xw->writeElementNS(null, 'bar', 'urn:x-test:'); 46 <test:test xmlns:test="urn:x-test:"> 48 <bar xmlns="urn:x-test:"></bar> 49 <bar xmlns="urn:x-test:"/> 50 <bar xmlns="urn:x-test:"/>
|
/php-src/ext/gd/tests/ |
H A D | bug49600.phpt | 18 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c); 20 if ( abs($x[0] - $y[0]) > 1 21 || abs($x[2] - $y[2]) > 1 22 || abs($x[4] - $y[4]) > 1 23 || abs($x[6] - $y[6]) > 1 ) { 25 var_dump($x);
|