Home
last modified time | relevance | path

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

12345678910>>...62

/PHP-5.4/ext/standard/tests/file/
H A Dbasename_variation2-win32.phpt14 "foo",
15 "foo/",
17 "foo.bar",
18 "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/",
17 "foo.bar",
18 "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-5.4/Zend/tests/
H A Dbug42819.phpt7 namespace foo\foo;
9 const C = "foo\\foo\\C\n";
14 const C = "foo\\foo\\foo::C\n";
58 static $a3 = array(foo\foo::I => foo\I);
147 foo\foo\C
148 foo\foo\foo::C
149 foo\foo::C
150 foo\foo::C
155 foo\foo\C
156 foo\foo\foo::C
[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.phpt9 $x = "foo";
19 string(3) "foo"
20 'foo'
21 string(3) "foo"
22 'foo'
24 'foo'
26 'foo'
28 'foo'
30 'foo'
32 'foo'
[all …]
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 …]
H A Dbug52614.phpt5 class foo {
44 $foo = new foo;
46 $foo->f1()[0] = 1;
49 $foo->f2()[0] = 1;
52 $foo->f3()[0] = 1;
55 $foo->f4()->a = 1;
58 $foo->f5()->a = 1;
61 $foo->a1[0] = 1;
62 $foo->f7($foo->f6()[0]);
64 $foo->f1()[0]++;
[all …]
H A Dbug62653.phpt6 $foo = "10.0000"; // gettype($foo) = "string"
7 $foo /= 2; //Makes $foo = 5 but still gettype($foo) = "double"
8 unset($array[$foo]);
12 $foo = "5";
13 unset($array[(float)$foo]);
17 $foo = "10.0000";
18 $foo /= 2; //Makes $foo = 5 but still gettype($foo) = "double"
19 $name = "foo";
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'));
H A Dbug29689.phpt5 class foo {
6 private $foo = 'foo';
11 echo __CLASS__, ': ', $this->foo, " ", $this->foo2, "\n";
15 class bar extends foo {
16 protected $foo = 'bar';
26 protected $foo = 'baz';
30 class bar2 extends foo {
39 protected $foo = 'baz2';
53 foo: foo foo2
58 foo: foo foo2
[all …]
H A Ddereference_002.phpt8 class foo {
13 $x[] = new foo;
18 $foo = new foo;
20 var_dump($x = $foo->bar()[1]);
21 var_dump($foo->bar()[1][1]);
23 var_dump($x = $foo->bar()[2]);
28 $x[] = new foo;
34 var_dump($foo->bar()[3]->bar());
46 object(foo)#2 (0) {
59 object(foo)#3 (0) {
[all …]
H A Dindirect_method_call_002.phpt6 class foo {
10 return "foo";
19 var_dump((new foo())->bar()); // string(3) "foo"
20 var_dump((new foo())->baz()->x); // string(7) "testing"
21 var_dump((new foo())->baz()->baz()->bar()); // string(3) "foo"
22 var_dump((new foo())->xyz()); // NULL
23 (new foo())->www();
27 string(3) "foo"
29 string(3) "foo"
32 Fatal error: Call to undefined method foo::www() in %s on line %d
H A Dns_020.phpt7 function foo() {
10 foo();
11 \X\foo();
12 Y\foo();
13 \X\foo();
15 X\foo
16 X\foo
17 X\foo
18 X\foo
/PHP-5.4/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-5.4/tests/lang/
H A Dbug22231.phpt7 class foo {
11 function &foo(){
12 $GLOBALS['foo'] = &new foo();
15 $bar = &foo();
19 $bar = &foo();
22 $foo = &foo();
23 var_dump($foo);
25 unset($foo);
26 $foo = &foo();
31 object(foo)#%d (1) {
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Ddirname_basic.phpt11 "/foo/bar",
12 "foo/bar",
16 "/foo/bar/",
17 "foo/bar/",
21 "/foo/bar.gz",
22 "foo/bar.gz",
27 "/foo/bar.gz/",
28 "foo/bar.gz/",
34 "/foo/.gz",
36 "/foo/.gz/",
[all …]
/PHP-5.4/ext/spl/tests/
H A Dclass_uses_variation2.phpt13 trait foo {}
122 ["foo"]=>
128 ["foo"]=>
134 ["foo"]=>
140 ["foo"]=>
146 ["foo"]=>
152 ["foo"]=>
158 ["foo"]=>
164 ["foo"]=>
170 ["foo"]=>
[all …]
H A Dclass_implements_basic2.phpt14 interface foo { }
43 ["foo"]=>
44 string(3) "foo"
49 ["foo"]=>
50 string(3) "foo"
55 ["foo"]=>
56 string(3) "foo"
61 ["foo"]=>
62 string(3) "foo"
67 ["foo"]=>
[all …]
/PHP-5.4/ext/standard/tests/general_functions/
H A Dvar_export_basic6.phpt14 class foo
75 $foo_object = new foo();
81 "new foo" => new foo,
119 -- Iteration: new foo --
120 foo::__set_state(array(
122 foo::__set_state(array(
258 foo::__set_state(array(
260 foo::__set_state(array(
267 foo::__set_state(array(
269 foo::__set_state(array(
[all …]
/PHP-5.4/tests/run-test/
H A Dtest007.phpt7 $s = dirname("/foo");
18 check_dirname("%foo%");
19 check_dirname("%foo");
22 check_dirname("...%foo");
23 check_dirname(".%foo");
41 same("d:\\foo",dirname("d:\\foo\\bar.inc"));
49 dirname(%foo%) == %
50 dirname(%foo) == %
51 dirname(%foo%bar) == %foo
53 dirname(...%foo) == ...
[all …]
/PHP-5.4/ext/dom/tests/
H A Dbug34276.phpt9 <foo xmlns="http://www.example.com/ns/foo"
22 $foo = $dom->documentElement;
23 var_dump($foo->hasAttributeNS('http://www.example.com/ns/foo', 'attra'));
24 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attra'));
26 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attra', 'attranew');
27 $foo->setAttributeNS('http://www.example.com/ns/fubar', 'attrb', 'attrbnew');
28 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attrc', 'attrc');
30 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attra'));
31 var_dump($foo->getAttributeNS('http://www.example.com/ns/fubar', 'attrb'));
32 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attrc'));
[all …]
/PHP-5.4/ext/pgsql/tests/
H A Dpg_delete_001.phpt14 pg_query('CREATE TABLE foo (id INT, id2 INT)');
15 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
17 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
18 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
19 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
20 pg_insert($conn, 'foo', array('id' => 3, 'id2' => 3));
27 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 0));
28 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 2));
35 var_dump(pg_fetch_all(pg_query('SELECT * FROM foo')));
42 pg_query('DROP TABLE foo');
[all …]
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_check_param_no_change.phpt14 class foo {
19 $foo = new foo;
20 $foo->bar = "фубар";
26 var_dump($foo); // this will show $foo->bar beeing a reference string
39 var_dump($foo);
40 $stmt->bind_param("si", $foo->bar, $foo->bar);
42 var_dump($foo);
45 var_dump($foo);
55 var_dump($foo);
56 $stmt->bind_param("is", $foo->bar, $foo->bar);
[all …]

Completed in 42 milliseconds

12345678910>>...62