Home
last modified time | relevance | path

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

12345678910>>...56

/PHP-5.3/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.3/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 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 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
H A Dns_085.phpt5 namespace foo {
6 use \foo;
10 new foo;
14 class foo {
17 use foo\bar as foo1;
19 new foo;
23 foo::__construct
24 foo\bar::__construct
25 foo\bar::__construct
26 foo::__construct
H A Dns_086.phpt6 namespace foo {
7 use \foo;
11 new foo;
15 class foo {
18 use foo\bar as foo1;
20 new foo;
24 foo::__construct
25 foo\bar::__construct
26 foo\bar::__construct
27 foo::__construct
/PHP-5.3/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.3/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.3/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.3/ext/session/tests/
H A Dsession_decode_error2.phpt58 ["foo"]=>
65 ["foo"]=>
72 ["foo"]=>
79 ["foo"]=>
86 ["foo"]=>
93 ["foo"]=>
100 ["foo"]=>
107 ["foo"]=>
114 ["foo"]=>
121 ["foo"]=>
[all …]
/PHP-5.3/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.3/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.3/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.3/ext/spl/tests/
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.3/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));
42 pg_query('DROP TABLE foo');
43 pg_query('DROP TABLE phptests.foo');
[all …]
/PHP-5.3/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 …]
/PHP-5.3/tests/classes/
H A Dmethod_call_variation_001.phpt7 function foo($a, $b)
9 echo "Called C::foo($a, $b)\n";
15 $functions[0] = 'foo';
16 $functions[1][2][3][4] = 'foo';
22 function foo($a, $b)
27 $c->functions[0] = 'foo';
28 $c->functions[1][2][3][4] = 'foo';
34 Called C::foo(1, 2)
35 Called C::foo(3, 4)
36 Called global foo(5, 6)
[all …]
/PHP-5.3/ext/phar/tests/
H A Dphar_gobyebye.phpt17 file_put_contents($pname . '/foo/hi', '<?php
19 readfile("foo/hi");
20 fopen("foo/hi", "r");
21 echo file_get_contents("foo/hi");
22 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
23 opendir("foo/hi");
26 include $pname . '/foo/hi';
33 Warning: readfile(foo/hi): failed to open stream: No such file or directory in phar://%sphar_gobyeb…
35 Warning: fopen(foo/hi): failed to open stream: No such file or directory in phar://%sphar_gobyebye.…
39 Warning: stat(): stat failed for foo/hi in phar://%sphar_gobyebye.phar.php/foo/hi on line %d
[all …]

Completed in 49 milliseconds

12345678910>>...56