Home
last modified time | relevance | path

Searched refs:foobar (Results 1 – 25 of 206) sorted by relevance

123456789

/php-src/ext/standard/tests/strings/
H A Dstrip_tags_array.phpt6 $string = '<p>foo <b>bar</b> <a href="#">foobar</a></p>';
22 string(14) "foo bar foobar"
23 string(30) "foo bar <a href="#">foobar</a>"
24 string(37) "<p>foo bar <a href="#">foobar</a></p>"
25 string(14) "foo bar foobar"
26 string(14) "foo bar foobar"
27 string(30) "foo bar <a href="#">foobar</a>"
28 string(14) "foo bar foobar"
29 string(14) "foo bar foobar"
30 string(14) "foo bar foobar"
[all …]
H A Dbug46578.phpt6 var_dump(strip_tags('<!-- testing I\'ve been to mars -->foobar'));
8 var_dump(strip_tags('<a alt="foobar">foo<!-- foo! --></a>bar'));
10 var_dump(strip_tags('<a alt="foobar"/>foo<?= foo! /* <!-- "cool" --> */ ?>bar'));
20 string(6) "foobar"
21 string(6) "foobar"
22 string(6) "foobar"
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_text_02.phpt12 $tag->textContent = "&\"<>\xc2\xa0 foobar";
19 <body><style>&"<>  foobar</style>
20 <script>&"<>  foobar</script>
21 <xmp>&"<>  foobar</xmp>
22 <iframe>&"<>  foobar</iframe>
23 <noembed>&"<>  foobar</noembed>
24 <noframes>&"<>  foobar</noframes>
25 <plaintext>&"<>  foobar</plaintext>
26 <noscript>&amp;"&lt;&gt;&nbsp; foobar</noscript>
H A DHTMLDocument_serialize_text_03.phpt12 $tag->textContent = "&\"<>\xc2\xa0 foobar";
19 <body><style>&amp;"&lt;&gt;&nbsp; foobar</style>
20 <script>&amp;"&lt;&gt;&nbsp; foobar</script>
21 <xmp>&amp;"&lt;&gt;&nbsp; foobar</xmp>
22 <iframe>&amp;"&lt;&gt;&nbsp; foobar</iframe>
23 <noembed>&amp;"&lt;&gt;&nbsp; foobar</noembed>
24 <noframes>&amp;"&lt;&gt;&nbsp; foobar</noframes>
25 <plaintext>&amp;"&lt;&gt;&nbsp; foobar</plaintext>
26 <noscript>&amp;"&lt;&gt;&nbsp; foobar</noscript>
/php-src/tests/basic/
H A Drfc1867_boundary_1.phpt6 Content-Type: multipart/form-data; boundary="------------------------------------foobar"
7 --------------------------------------foobar
8 Content-Disposition: form-data; name="foobar"
11 --------------------------------------foobar--
21 ["foobar"]=>
/php-src/ext/mbstring/tests/
H A Dbug81298.phpt8 var_dump(mb_detect_encoding("foobar.", "7bit"));
9 var_dump(mb_detect_encoding("foobar.", "7bit,ascii"));
10 var_dump(mb_detect_encoding("foobar.", "7bit,ascii,utf8"));
11 var_dump(mb_detect_encoding("foobar.", "html"));
12 var_dump(mb_detect_encoding("foobar.", "ascii,html"));
/php-src/ext/dom/tests/
H A DDOMDocument_version_write.phpt15 $dom->version = "foobar";
29 string(6) "foobar"
30 <?xml version="foobar"?>
32 string(6) "foobar"
33 <?xml version="foobar"?>
/php-src/Zend/tests/
H A Dcall_user_func_001.phpt7 function foobar($str) {
22 call_user_func(__NAMESPACE__ .'\foobar', 'foobar');
26 call_user_func(array(new $class, 'priv'), 'foobar');
31 call_user_func(array(new $class, 'prot'), 'foobar');
39 string(6) "foobar"
H A Dbug43175.phpt6 class foobar {
14 function foobar() {
15 return new foobar();
18 foobar()->unknown();
H A Dbug43332_1.phpt5 namespace foobar;
16 Fatal error: Uncaught TypeError: foobar\foo::bar(): Argument #1 ($a) must be of type foobar\foo, st…
18 #0 %s(%d): foobar\foo->bar(Object(stdClass))
H A Dindirect_method_call_001.phpt8 throw new Exception('foobar');
15 var_dump($e->getMessage()); // foobar
20 string(6) "foobar"
H A Dconstructor_args.phpt5 interface foobar {
8 abstract class bar implements foobar {
12 final class foo extends bar implements foobar {
H A Dconst_dereference_002.phpt7 var_dump("foobar"[3]);
8 var_dump("foobar"[2][0]);
9 var_dump("foobar"["0foo"]["0bar"]);
H A Dbug18556.phpt17 $foobar = new infoBlob();
18 echo $foobar->foo;
20 $foobar = new InfoBlob();
21 echo $foobar->foo;
H A Dbug79793.phpt21 Undefined array key "foobar"
23 ["foobar"]=>
28 ["foobar"]=>
H A Dclosure_call.phpt18 $foobar = new Foo;
19 $foobar->x = 3;
26 var_dump($qux->call($foobar));
45 var_dump($beta->call($foobar, 7));
/php-src/ext/spl/tests/
H A Dspl_007.phpt15 iterator_apply($it, array(new Foo, "foobar"));
19 Called foobar.
20 Called foobar.
21 Called foobar.
/php-src/ext/sqlite3/tests/
H A Dsqlite3stmt_paramCount_basic.phpt11 var_dump($db->exec('CREATE TABLE foobar (id INTEGER, name STRING, city STRING)'));
14 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (1, 'john', 'LA')"));
15 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (2, 'doe', 'SF')"));
19 "SELECT * FROM foobar WHERE id = ? ORDER BY id ASC",
20 "SELECT * FROM foobar WHERE id = 2 ORDER BY id ASC",
21 "SELECT * FROM foobar WHERE id = :id AND name = :name ORDER BY id ASC",
22 "SELECT * FROM foobar WHERE id = 1 AND name = :name ORDER BY id ASC",
/php-src/ext/pcre/tests/
H A Dbug52732.phpt7 $ret = preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar');
/php-src/ext/reflection/tests/
H A Dbug80370.phpt10 $foobar = new Foobar();
11 $foobar->bar = 42;
13 $reflectionObject = new ReflectionObject($foobar);
H A Dbug37964.phpt6 abstract class foobar {
10 class foo extends foobar {
18 private function foobar() {
42 Method [ <user> private method foobar ] {
/php-src/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation2.phpt7 @unlink(__DIR__ . "/foobar.dtd");
13 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "foobar.dtd">
34 file_put_contents(__DIR__ . "/foobar.dtd", $dtd);
45 Warning: DOMDocument::validate(): Could not load the external subset "foobar.dtd" in %s on line %d
/php-src/ext/phar/tests/
H A Dbug81211.phpt17 mkdir(__DIR__ . '/bug81211/foobar');
20 file_put_contents(__DIR__ . '/bug81211/foobar/file', 'this file should NOT be included in the archi…
21 symlink(__DIR__ . '/bug81211/foobar/file', __DIR__ . '/bug81211/foo/symlink');
39 @unlink(__DIR__ . '/bug81211/foobar/file');
41 @rmdir(__DIR__ . '/bug81211/foobar');
/php-src/tests/lang/operators/
H A Dcoalesce.phpt15 "foobar" => NULL,
22 function foobar() {
39 var_dump($arr["foobar"] ?? 3);
44 var_dump(foobar()[0] ?? false);
/php-src/ext/standard/tests/serialize/
H A D__serialize_001.phpt19 $test->prop = "foobar";
26 string(58) "O:4:"Test":2:{s:5:"value";s:6:"foobar";i:42;s:6:"barfoo";}"
29 string(6) "foobar"

Completed in 22 milliseconds

123456789