/PHP-7.3/ext/standard/tests/file/ |
H A D | basename_variation2-win32.phpt | 14 "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 D | basename_variation2.phpt | 14 "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 D | basename_variation1-win32.phpt | 32 "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 D | basename_variation1.phpt | 32 "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-7.3/Zend/tests/ |
H A D | bug42819.phpt | 5 namespace foo\foo; 7 const C = "foo\\foo\\C\n"; 12 const C = "foo\\foo\\foo::C\n"; 56 static $a3 = array(foo\foo::I => foo\I); 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 D | class_constants_004.phpt | 6 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 D | bug22836.phpt | 7 $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 D | class_alias_020.phpt | 6 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 D | bug52614.phpt | 5 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 D | constants_003.phpt | 6 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 D | bug62653.phpt | 6 $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 D | bug29689.phpt | 5 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 D | exception_before_fatal.phpt | 12 $foo->a(); 18 new $foo(); 24 throw $foo; 30 $foo(); 36 $foo::b(); 43 $b = clone $foo; 52 b::$foo(); 58 string(23) "Undefined variable: foo" 59 string(23) "Undefined variable: foo" 60 string(23) "Undefined variable: foo" [all …]
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | bug29493.phpt | 21 $foo = 'noo'; 77 ["foo"]=> 81 ["foo"]=> 85 ["foo"]=> 89 ["foo"]=> 93 ["foo"]=> 97 ["foo"]=> 101 ["foo"]=> 105 ["foo"]=> 109 ["foo"]=> [all …]
|
/PHP-7.3/Zend/tests/type_declarations/ |
H A D | parameter_type_variance.phpt | 7 function testParentClass(Foo $foo) {} 8 function testBothClass(Foo $foo) {} 9 function testChildClass($foo) {} 10 function testNoneClass($foo) {} 13 function testBothBuiltin(int $foo) {} 14 function testChildBuiltin($foo) {} 15 function testNoneBuiltin($foo) {} 19 function testParentClass($foo) {} 20 function testBothClass(Foo $foo) {} 22 function testNoneClass($foo) {} [all …]
|
/PHP-7.3/tests/lang/ |
H A D | bug22231.phpt | 7 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-7.3/ext/standard/tests/strings/ |
H A D | dirname_basic.phpt | 11 "/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-7.3/ext/spl/tests/ |
H A D | bug79393.phpt | 5 $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 …]
|
H A D | class_uses_variation2.phpt | 13 trait foo {} 122 ["foo"]=> 128 ["foo"]=> 134 ["foo"]=> 140 ["foo"]=> 146 ["foo"]=> 152 ["foo"]=> 158 ["foo"]=> 164 ["foo"]=> 170 ["foo"]=> [all …]
|
H A D | class_implements_basic2.phpt | 14 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-7.3/Zend/tests/generators/ |
H A D | yield_in_parenthesis.phpt | 7 if (yield $foo); elseif (yield $foo); 8 if (yield $foo): elseif (yield $foo): endif; 9 while (yield $foo); 10 do {} while (yield $foo); 11 switch (yield $foo) {} 12 (yield $foo); 13 die(yield $foo); 14 func(yield $foo); 15 $foo->func(yield $foo); 16 new Foo(yield $foo);
|
/PHP-7.3/ext/dba/tests/ |
H A D | bug70825.phpt | 13 dba_insert('foo', 23, $db); 14 dba_insert('foo', 42, $db); 15 dba_insert('foo', 1337, $db); 16 var_dump(dba_fetch('foo', -1, $db)); 17 var_dump(dba_fetch('foo', -1, $db)); 18 var_dump(dba_fetch('foo', -1, $db)); 33 dba_insert('[foo]bar', 23, $db); 34 dba_insert('[foo]bar', 42, $db); 35 dba_insert('[foo]bar', 1337, $db); 43 dba_insert('[foo]bar', 23, $db); [all …]
|
/PHP-7.3/tests/run-test/ |
H A D | test007.phpt | 7 $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-7.3/ext/standard/tests/general_functions/ |
H A D | var_export_basic6.phpt | 14 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-7.3/ext/dom/tests/ |
H A D | bug34276.phpt | 9 <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 …]
|