Home
last modified time | relevance | path

Searched refs:x (Results 301 – 325 of 1828) sorted by relevance

1...<<11121314151617181920>>...74

/php-src/ext/random/tests/01_functions/
H A Dmt_rand_value.phpt13 $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/standard/tests/strings/
H A Dsprintf_variation34.phpt37 "%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"
H A Dvprintf_basic9.phpt9 $format1 = "%x";
10 $format2 = "%x %x";
11 $format3 = "%x %x %x";
/php-src/ext/opcache/tests/
H A Dgh10914.phpt16 $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 Dssa_bug_003.phpt8 function test1($x) : callable {
9 if ($x == 1) {
11 } elseif ($x == 2) {
14 $c = [$x => &$x];
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_weak.phpt48 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 …]
/php-src/Zend/tests/
H A Dbug80194.phpt6 function test($x) {
7 switch ($x->y) {
16 $x = (object)['y' => 'foobar'];
17 var_dump(test($x));
H A Dadd_optional_by_ref_arg.phpt8 $this->method2($x);
9 var_dump($x);
14 public function method2(&$x = null) {
15 ++$x;
H A Dns_035.phpt8 function f1($x = ArrayObject::STD_PROP_LIST) {
9 var_dump($x);
11 function f2($x = \ArrayObject::STD_PROP_LIST) {
12 var_dump($x);
H A Dindirect_property_access.phpt7 public $x = 1;
14 $x = 'bar';
19 var_dump((new $x)->y); // foo
20 var_dump((new $bar->y)->x); // 1
H A Dabstract_inheritance_003.phpt6 abstract class A { abstract function bar($x, $y = 0); }
7 abstract class B extends A { abstract function bar($x); }
12 Fatal error: Declaration of B::bar($x) must be compatible with A::bar($x, $y = 0) in %s
H A Dbug50174.phpt11 function x() {}
14 $rm = new ReflectionMethod('TestClass', 'x');
22 public $x;
25 $rp = new ReflectionProperty('TestClass2', 'x');
/php-src/ext/dom/tests/
H A Ddom007.phpt51 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 Dphp_odbc_includes.h270 #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/dom/tests/bug79701/
H A Dset_attribute_ns_html.phpt10 <em id="x">1</em>
15 $test1 = $dom->getElementById('x');
21 var_dump($dom->getElementById('x')?->nodeName);
26 $test2->setAttributeNS($namespace, "id", 'x');
27 var_dump($dom->getElementById('x')?->nodeName);
33 var_dump($dom->getElementById('x')?->nodeName);
39 var_dump($dom->getElementById('x')?->nodeName);
49 echo "\n=== Test \"urn:x\" namespace ===\n\n";
50 test("urn:x");
70 === Test "urn:x" namespace ===
/php-src/ext/session/tests/user_session_module/
H A Dsessionhandler_open_001.phpt9 $x = new SessionHandler;
12 $x->open('','');
18 $x->open('','');
24 $x->open('','');
30 $x->open('','');
/php-src/ext/opcache/tests/jit/
H A Dgh8461-005.inc3 $x = 0;
6 global $x;
7 $x += 1;
H A Dassign_047.phpt11 $x = (object)['x'=>0];
14 $a=$x->x;
/php-src/ext/spl/tests/
H A Dfixedarray_008.phpt15 foreach ($a as $x) {
16 if (is_object($x)) {
17 var_dump($x[0]);
19 var_dump($x);
/php-src/ext/xmlreader/tests/
H A Dbug64230.phpt19 $x = new XMLReader;
20 $x->xml("<root att/>");
21 $x->read();
28 $x = new XMLReader;
29 $x->xml("<root att/>");
30 $x->read();
/php-src/ext/gd/tests/
H A Dbug53156.phpt13 function draw_and_check_pixel($x, $y)
17 echo (imagecolorat($img, $x, $y) === $black) ? '+' : '-';
18 imagesetpixel($img, $x, $y, $red);
27 $x = ($x1 + $x2) / 2;
29 draw_and_check_pixel($x, $y1);
31 draw_and_check_pixel($x, $y2);
/php-src/ext/standard/tests/assert/
H A Dbug80290.phpt10 $x = 'x';
11 assert(false, 'Dynamic message: ' . $x);
18 string(18) "Dynamic message: x"
20 Fatal error: Uncaught AssertionError: Dynamic message: x in %s:%d
/php-src/ext/reflection/tests/
H A Dbug38465.phpt11 public function x($a = self::X, $b = Baz::B, $c = 99) {}
54 Foo::x($a = 1)
55 Foo::x($b = 3)
56 Foo::x($c = 99)
62 Foo::x($a = 1)
63 Foo::x($b = 3)
64 Foo::x($c = 99)
/php-src/ext/dom/tests/compareDocumentPosition/
H A Dattribute_order_different_element.phpt13 <inner a="b" x="y" />
35 --- Compare 1->2 a and x ---
37 --- Compare 2->1 a and x ---
43 --- Compare 1->2 c and x ---
45 --- Compare 2->1 c and x ---
51 --- Compare 1->2 e and x ---
53 --- Compare 2->1 e and x ---
/php-src/ext/dom/tests/modern/spec/
H A DNode_lookupPrefix.phpt11 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:x="test">
15 <x/>
42 foreach (['x', 'p', 'html'] as $name) {
43 $x = $dom->getElementsByTagNameNS("*", $name)[0];
44 var_dump($x->lookupPrefix(""));
45 var_dump($x->lookupPrefix("test"));
64 string(1) "x"

Completed in 32 milliseconds

1...<<11121314151617181920>>...74