/php-src/ext/openssl/tests/ |
H A D | openssl_spki_new_basic.phpt | 36 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh10271.phpt | 32 $x = $sol['X']['k']*$tang['KSI'] + $sol['X']['e']*$tang['ETA'] + $sol['X'][1]; 34 printf("In;%.12f;%.12f;%.12f;%.12f;",$x,$y,$sol['xc'],$sol['yc']); 35 $x = $sol['xc']*($x+1); 37 printf("Out;%.12f;%.12f\n",$x,$y); 38 if( $x<100 ) 40 return ['x'=>$x,'y'=>$y];
|
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/gd/tests/ |
H A D | bug79615.phpt | 8 for ($x = 0; $x < 3; $x++) { 10 imagesetpixel($im, $x, $y, imagecolorallocate($im, $x, $y, 0));
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_103.phpt | 9 $x = new C; 10 $x->a = 1; 11 unset($x->a); 12 $x->a += 2; 13 var_dump($x);
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | prop_ref_assign.phpt | 7 public int|string $x; 13 $test->x =& $r; 32 unset($r, $test->x, $test->y); 34 $test->x = 42; 36 $test->y =& $test->x; 41 unset($test->x, $test->y); 45 $test->x =& $test->y; 52 Cannot assign int to reference held by property Test::$x of type string|int and property Test::$y o… 55 Cannot assign float to reference held by property Test::$x of type string|int and property Test::$y… 58 Reference with value of type int held by property Test::$x of type string|int is not compatible wit… [all …]
|
/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/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/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");
|
/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/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/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"));
|