/php-src/Zend/tests/unset/ |
H A D | unset_cv04.phpt | 6 $x = "ok\n"; 7 echo $x; 9 echo $x; 16 Warning: Undefined variable $x in %s on line %d
|
H A D | unset_cv11.phpt | 5 $x = array("default"=>"ok"); 6 var_dump($x); 7 $cf = $x; 9 var_dump($x);
|
/php-src/ext/intl/tests/ |
H A D | spoofchecker_007.phpt | 16 $x = new Spoofchecker(); 17 $x->setRestrictionLevel(Spoofchecker::HIGHLY_RESTRICTIVE); 20 var_dump($x->isSuspicious($mixed)); 22 $x->setRestrictionLevel(Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE); 25 var_dump($x->isSuspicious($mixed));
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionMethod_getDocComment_property_list.phpt | 14 $x = "x", 21 $reflection = new ReflectionProperty('\X', 'x'); 22 echo 'X::x', PHP_EOL; 34 X::x
|
/php-src/Zend/tests/temporary_cleaning/ |
H A D | temporary_cleaning_001.phpt | 11 $x = 2; 13 while ($x-- && new stdClass) { 14 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_003.phpt | 27 $x = "a"; 30 var_dump($a[$x . $y]); 34 var_dump($a["2x"]); 35 $x = "2"; 36 $y = "x"; 37 var_dump($a[$x . $y]); 61 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 24 64 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 27
|
H A D | gh8461-005.inc | 3 $x = 0; 6 global $x; 7 $x += 1;
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug32776.phpt | 12 function test($x) { 14 $d = $x; 36 $x = new LocalSoapClient(__DIR__."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false)); 37 var_dump($x->test("Hello")); 39 var_dump($x->__getLastRequest()); 40 var_dump($x->__getLastResponse()); 47 ….xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:test><x xsi:type="xsd:string">Hello</x></SOA…
|
/php-src/ext/phar/tests/zip/ |
H A D | rename_dir.phpt | 18 $phar['a/x'] = 'a'; 23 echo file_get_contents($alias . '/a/x') . "\n"; 25 echo file_get_contents($alias . '/b/x') . "\n"; 26 echo file_get_contents($alias . '/a/x') . "\n"; 34 …ning: file_get_contents(phar://%srename_dir.phar.zip/a/x): Failed to open stream: phar error: "a/x…
|
/php-src/ext/phar/tests/ |
H A D | rename_dir.phpt | 18 $files['a/x'] = 'a'; 22 echo file_get_contents($pname . '/a/x') . "\n"; 24 echo file_get_contents($pname . '/b/x') . "\n"; 25 echo file_get_contents($pname . '/a/x') . "\n"; 33 …ning: file_get_contents(phar://%srename_dir.phar.php/a/x): Failed to open stream: phar error: "a/x…
|
/php-src/ext/spl/tests/ |
H A D | arrayObject_asort_basic2.phpt | 12 public $prop1 = 'x'; 15 public $prop4 = 'x'; 32 string(1) "x" 34 string(1) "x" 43 string(1) "x" 45 string(1) "x"
|
H A D | fixedarray_008.phpt | 15 foreach ($a as $x) { 16 if (is_object($x)) { 17 var_dump($x[0]); 19 var_dump($x);
|
/php-src/ext/random/tests/01_functions/ |
H A D | mt_rand_value.phpt | 13 $x = 0; 15 $x ^= mt_rand(); 17 echo $x.PHP_EOL; 27 $x = 0; 29 $x ^= mt_rand(); 31 echo $x.PHP_EOL;
|
/php-src/ext/opcache/tests/ |
H A D | gh10914.phpt | 16 $x = new ReflectionEnum(ExampleEnum::class); 17 var_dump($x->getCases()[0]->getValue()); 18 var_dump($x->getCases()[0]->getBackingValue()); 19 var_dump($x->getCase('FIRST')->getValue()); 20 var_dump($x->getCase('FIRST')->getBackingValue());
|
H A D | ssa_bug_003.phpt | 8 function test1($x) : callable { 9 if ($x == 1) { 11 } elseif ($x == 2) { 14 $c = [$x => &$x];
|
/php-src/ext/gd/libgd/ |
H A D | gd_gd2.c | 272 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2Ctx() local 345 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx() 359 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx() 363 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx() 438 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2PartCtx() local 580 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2PartCtx() 604 …if ((x >= srcx) && (x < (srcx + w)) && (x < fsx) && (x >= 0) && (y >= srcy) && (y < (srcy + h)) &&… in gdImageCreateFromGd2PartCtx() 761 for (x = xlo; x < xhi; x++) { in _gdImageGd2() 774 for (x = xlo; x < xhi; x++) { in _gdImageGd2() 811 for (x = 0; x < chunkNum; x++) { in _gdImageGd2() [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | sprintf_variation34.phpt | 37 "%x", "%xx", "%lx", " %x", "%x ", 38 "\t%x", "\n%x", "%4x", "%30x", 58 string(2) "0x" 70 string(2) "1x" 94 string(9) "80000000x" 106 string(9) "80000001x" 190 string(9) "80000000x" 226 string(3) "53x" 238 string(2) "1x" 250 string(9) "80000000x"
|
/php-src/Zend/tests/ |
H A D | bug80194.phpt | 6 function test($x) { 7 switch ($x->y) { 16 $x = (object)['y' => 'foobar']; 17 var_dump(test($x));
|
H A D | add_optional_by_ref_arg.phpt | 8 $this->method2($x); 9 var_dump($x); 14 public function method2(&$x = null) { 15 ++$x;
|
H A D | indirect_property_access.phpt | 7 public $x = 1; 14 $x = 'bar'; 19 var_dump((new $x)->y); // foo 20 var_dump((new $bar->y)->x); // 1
|
/php-src/ext/dom/tests/ |
H A D | dom007.phpt | 51 for($x=0; $x < $length; $x++) { 52 …echo "Index $x: ".$nots->item($x)->nodeName." (".$nots->item($x)->systemId.") (".$nots->item($x)->… 76 for($x=0; $x < $length; $x++) { 77 $xkeys[] = "Index: ".$ents->item($x)->nodeName."\n";
|
/php-src/ext/odbc/ |
H A D | php_odbc_includes.h | 270 #define IS_SQL_LONG(x) (x == SQL_LONGVARBINARY || x == SQL_LONGVARCHAR || x == SQL_WLONGVARCHAR) argument 277 #define IS_SQL_LONG(x) (x == SQL_LONGVARBINARY || x == SQL_LONGVARCHAR) argument 284 #define IS_SQL_BINARY(x) (x == SQL_BINARY || x == SQL_VARBINARY || x == SQL_LONGVARBINARY) argument
|
/php-src/ext/session/tests/user_session_module/ |
H A D | sessionhandler_open_001.phpt | 9 $x = new SessionHandler; 12 $x->open('',''); 18 $x->open('',''); 24 $x->open('',''); 30 $x->open('','');
|
/php-src/ext/dom/tests/modern/xml/ |
H A D | serialize_empty_xmlns.phpt | 9 $dom = Dom\XMLDocument::createFromString('<root><x xmlns=""/></root>'); 13 $dom = Dom\XMLDocument::createFromString('<root><x/></root>'); 14 $x = $dom->documentElement->firstChild; 15 $x->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:a', ''); 24 string(13) "<x xmlns=""/>"
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | type_checking_weak.phpt | 48 42, 42.0, INF, "42", "42.0", "42x", "x", "", 101 "42x" => true 102 "x" => true 117 "42x" => true 118 "x" => true 133 "42x" => "42x" 134 "x" => "x" 149 "42x" => "42x" 150 "x" => "x" 181 "42x" => "42x" [all …]
|