Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 2208) sorted by relevance

12345678910>>...89

/php-src/ext/dom/tests/
H A Dbug47531_b.phpt12 <foo:second xmlns:foo="some:ns2">
18 <foo:child5 xmlns:foo="some:ns3">
20 <span foo:foo="bar"/>
21 <span foo:foo="bar"/>
23 <foo:child6 foo:foo="bar">
24 <span foo:foo="bar"/>
25 <span foo:foo="bar"/>
29 <child7 xmlns:foo="some:ns" foo:foo="bar">
46 <foo:second xmlns:foo="some:ns2">
57 <foo:child6 foo:foo="bar">
[all …]
H A Dbug47531_a.phpt20 <span foo:foo="bar"/>
21 <span foo:foo="bar"/>
23 <foo:child6 foo:foo="bar">
24 <span foo:foo="bar"/>
25 <span foo:foo="bar"/>
29 <child7 foo:foo="bar">
44 <foo:first xmlns:foo="some:ns"/>
46 <foo:child1 xmlns:foo="some:ns"/>
47 <foo:child2 xmlns:foo="some:ns"/>
56 <foo:child6 foo:foo="bar">
[all …]
H A DDOMXPath_quote.phpt32 // 'foo'"bar => concat("'foo'", '"bar")
50 'foo' => "'foo'", // no quotes
79 Pass: foo => 'foo'
80 Pass: "foo => '"foo'
81 Pass: 'foo => "'foo"
82 Pass: 'foo"bar => concat("'foo",'"bar')
84 Pass: 'foo" => concat("'foo",'"')
85 Pass: 'foo"" => concat("'foo",'""')
86 Pass: "'foo => concat('"',"'foo")
87 Pass: ""'foo => concat('""',"'foo")
[all …]
/php-src/ext/standard/tests/file/
H A Dbasename_variation2-win32.phpt14 "foo",
15 "foo/",
16 "foo\\",
17 "foo.bar",
33 "foo",
60 basename for path foo, supplying suffix foo is:
62 basename for path foo, supplying suffix foo.bar is:
64 basename for path foo, supplying suffix foo/bar is:
66 basename for path foo, supplying suffix foo\bar is:
80 basename for path foo/, supplying suffix foo is:
[all …]
H A Dbasename_variation2.phpt14 "foo",
15 "foo/",
16 "foo\\",
17 "foo.bar",
33 "foo",
60 basename for path foo, supplying suffix foo is:
62 basename for path foo, supplying suffix foo.bar is:
64 basename for path foo, supplying suffix foo/bar is:
66 basename for path foo, supplying suffix foo\bar is:
80 basename for path foo/, supplying suffix foo is:
[all …]
H A Dbasename_variation1-win32.phpt32 "foo",
33 "foo/",
34 "foo\\",
35 "foo.bar",
36 "foo.bar/",
37 "foo.bar\\",
58 string(3) "foo"
60 string(3) "foo"
62 string(3) "foo"
78 string(3) "foo"
[all …]
H A Dbasename_variation1.phpt32 "foo",
33 "foo/",
34 "foo\\",
35 "foo.bar",
36 "foo.bar/",
37 "foo.bar\\",
58 string(3) "foo"
60 string(3) "foo"
62 string(4) "foo\"
78 string(3) "foo"
[all …]
/php-src/Zend/tests/
H A Dbug42819.phpt5 namespace foo\foo;
7 const C = "foo\\foo\\C\n";
12 const C = "foo\\foo\\foo::C\n";
86 echo foo\foo::C;
145 foo\foo\C
146 foo\foo\foo::C
147 foo\foo::C
148 foo\foo::C
153 foo\foo\C
154 foo\foo\foo::C
[all …]
H A Dassign_coalesce_001.phpt7 $foo = "fo";
8 $foo .= "o";
24 $b ??= $foo;
27 $c = $foo;
31 $d ??= $foo;
93 id(foo)
94 id(foo)
110 id(foo)
111 id(foo)
123 id(foo)
[all …]
H A Dclass_constants_004.phpt6 namespace foo;
8 define('foo', 3);
10 const foo = 1;
12 class foo {
13 const foo = 2;
17 const foo = 4;
23 var_dump( foo,
24 \foo\foo,
26 \foo\foo::foo,
28 \foo,
[all …]
H A Dbug22836.phpt7 $x = "foo";
17 string(3) "foo"
18 'foo'
19 string(3) "foo"
20 'foo'
22 'foo'
24 'foo'
26 'foo'
28 'foo'
30 'foo'
[all …]
H A Dclosure_compare.phpt5 function foo() {
12 printf("foo == foo: %s\n", $closures[0] == $closures[1] ? "OK" : "FAIL");
53 $foo = new Foo;
75 printf("foo::exists == foo::exists: %s\n", $closures[0] == $closures[1] ? "OK" : "FAIL");
80 printf("foo::method == foo::method: %s\n", $closures[0] == $closures[1] ? "OK" : "FAIL");
102 foo == foo: OK
106 foo#0::exists != foo#1::exists: OK
108 foo::traitMethod != foo::aliasMethod: OK
109 foo::exists == foo::exists: OK
110 foo::method == foo::method: OK
[all …]
H A Dcallable_self_parent_static_deprecation.phpt13 '"self::foo"' => "self::foo",
14 '"parent::foo"' => "parent::foo",
15 '"static::foo"' => "static::foo",
16 '["self", "foo"]' => ["self", "foo"],
17 '["parent", "foo"]' => ["parent", "foo"],
18 '["static", "foo"]' => ["static", "foo"],
19 '["B", "self::foo"]' => ["B", "self::foo"],
22 '["B", "A::foo"]' => ["B", "A::foo"],
26 '[$this, "A::foo"]' => [$this, "A::foo"],
69 "self::foo"
[all …]
H A Dassign_coalesce_008.phpt29 function &foo() {
30 global $foo;
32 return $foo;
39 var_dump($foo);
42 $foo->foo()->foo()->{$foo->bar()} ??= 42;
43 var_dump($foo);
44 $foo->foo()->baz ??= 42;
49 foo
54 Foo::foo
55 Foo::foo
[all …]
H A Dbug52614.phpt5 class foo {
44 $foo = new foo;
46 $foo->f1()[0] = 1;
47 var_dump($foo->a1);
49 $foo->f2()[0] = 1;
52 $foo->f3()[0] = 1;
62 $foo->f5()->a = 1;
65 $foo->a1[0] = 1;
66 $foo->f7($foo->f6()[0]);
68 $foo->f1()[0]++;
[all …]
H A Dconstants_003.phpt6 namespace foo;
8 const foo = 1;
10 define('foo', 2);
12 var_dump(foo, namespace\foo, \foo\foo, \foo, constant('foo'), constant('foo\foo'));
/php-src/Zend/tests/nullsafe_operator/
H A D013.phpt17 dump_error(fn() => strlen($foo?->foo()));
18 dump_error(fn() => is_null($foo?->foo()));
19 dump_error(fn() => is_bool($foo?->foo()));
20 dump_error(fn() => is_int($foo?->foo()));
22 dump_error(fn() => boolval($foo?->foo()));
24 dump_error(fn() => chr($foo?->foo()));
25 dump_error(fn() => ord($foo?->foo()));
27 dump_error(fn() => call_user_func_array('foo', $foo?->foo()));
34 dump_error(fn() => array_slice(['foo'], $foo?->foo()));
35 dump_error(fn() => array_slice(['foo'], 0, $foo?->foo()));
[all …]
/php-src/ext/standard/tests/array/
H A Dbug29493.phpt21 $foo = 'noo';
77 ["foo"]=>
81 ["foo"]=>
85 ["foo"]=>
89 ["foo"]=>
93 ["foo"]=>
97 ["foo"]=>
101 ["foo"]=>
105 ["foo"]=>
109 ["foo"]=>
[all …]
/php-src/Zend/tests/class_alias/
H A Dclass_alias_020.phpt6 namespace foo;
9 class foo {
12 class_alias(__NAMESPACE__ .'\foo', 'foo');
14 namespace foo\bar;
16 class foo {
19 class_alias(__NAMESPACE__ .'\foo', 'bar');
22 var_dump(new \foo, new \bar);
24 var_dump(new \foo\foo, new \foo\bar);
28 object(foo\foo)#1 (0) {
30 object(foo\bar\foo)#2 (0) {
[all …]
/php-src/ext/pcre/tests/
H A Dbug79257.phpt6 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches);
8 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
11 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
14 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
34 string(3) "foo"
36 string(3) "foo"
38 string(3) "foo"
42 string(3) "foo"
44 string(3) "foo"
46 string(3) "foo"
[all …]
/php-src/tests/lang/
H A Dbug22231.phpt7 class foo {
11 function &foo(){
12 $obj = new foo();
16 $bar = &foo();
20 $bar = &foo();
23 $foo = &foo();
24 var_dump($foo);
26 unset($foo);
27 $foo = &foo();
31 object(foo)#%d (1) {
[all …]
/php-src/ext/standard/tests/strings/
H A Ddirname_basic.phpt8 "/foo/bar",
9 "foo/bar",
13 "/foo/bar/",
14 "foo/bar/",
18 "/foo/bar.gz",
19 "foo/bar.gz",
24 "/foo/bar.gz/",
25 "foo/bar.gz/",
31 "/foo/.gz",
33 "/foo/.gz/",
[all …]
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_magic_set.phpt7 public int $foo;
31 $test->foo = 42;
36 $test->foo = 42;
41 $test->foo = 42;
48 $test->foo = 42;
51 $test->foo = 42;
67 __set foo = 42
68 __set foo = 42
70 __set foo = 42
71 __set foo = 42
[all …]
/php-src/ext/dba/tests/
H A Dbug70825.phpt14 dba_insert('foo', 23, $db);
15 dba_insert('foo', 42, $db);
16 dba_insert('foo', 1337, $db);
17 var_dump(dba_fetch('foo', $db, -1));
18 var_dump(dba_fetch('foo', $db, -1));
19 var_dump(dba_fetch('foo', $db, -1));
34 dba_insert('[foo]bar', 23, $db);
35 dba_insert('[foo]bar', 42, $db);
36 dba_insert('[foo]bar', 1337, $db);
44 dba_insert('[foo]bar', 23, $db);
[all …]
/php-src/ext/spl/tests/
H A Dbug79393.phpt5 $foo = new SplFixedArray(5);
6 $foo[0] = 'bar1';
7 $foo[1] = 'bar2';
8 $foo[2] = 0;
9 $foo[3] = false;
10 $foo[4] = '';
12 var_dump($foo[0] ?? null);
13 var_dump($foo[1] ?? null);
14 var_dump($foo[2] ?? null);
15 var_dump($foo[3] ?? null);
[all …]

Completed in 55 milliseconds

12345678910>>...89