/php-src/ext/standard/tests/strings/ |
H A D | strip_tags_array.phpt | 6 $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 D | bug46578.phpt | 6 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 D | HTMLDocument_serialize_text_02.phpt | 12 $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>&"<> foobar</noscript>
|
H A D | HTMLDocument_serialize_text_03.phpt | 12 $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>&"<> foobar</noscript>
|
/php-src/tests/basic/ |
H A D | rfc1867_boundary_1.phpt | 6 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 D | bug81298.phpt | 8 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 D | DOMDocument_version_write.phpt | 15 $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 D | call_user_func_001.phpt | 7 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 D | bug43175.phpt | 6 class foobar { 14 function foobar() { 15 return new foobar(); 18 foobar()->unknown();
|
H A D | bug43332_1.phpt | 5 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 D | indirect_method_call_001.phpt | 8 throw new Exception('foobar'); 15 var_dump($e->getMessage()); // foobar 20 string(6) "foobar"
|
H A D | constructor_args.phpt | 5 interface foobar { 8 abstract class bar implements foobar { 12 final class foo extends bar implements foobar {
|
H A D | const_dereference_002.phpt | 7 var_dump("foobar"[3]); 8 var_dump("foobar"[2][0]); 9 var_dump("foobar"["0foo"]["0bar"]);
|
H A D | bug18556.phpt | 17 $foobar = new infoBlob(); 18 echo $foobar->foo; 20 $foobar = new InfoBlob(); 21 echo $foobar->foo;
|
H A D | bug79793.phpt | 21 Undefined array key "foobar" 23 ["foobar"]=> 28 ["foobar"]=>
|
H A D | closure_call.phpt | 18 $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 D | spl_007.phpt | 15 iterator_apply($it, array(new Foo, "foobar")); 19 Called foobar. 20 Called foobar. 21 Called foobar.
|
/php-src/ext/sqlite3/tests/ |
H A D | sqlite3stmt_paramCount_basic.phpt | 11 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 D | bug52732.phpt | 7 $ret = preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar');
|
/php-src/ext/reflection/tests/ |
H A D | bug80370.phpt | 10 $foobar = new Foobar(); 11 $foobar->bar = 42; 13 $reflectionObject = new ReflectionObject($foobar);
|
H A D | bug37964.phpt | 6 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 D | libxml_set_external_entity_loader_variation2.phpt | 7 @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 D | bug81211.phpt | 17 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 D | coalesce.phpt | 15 "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.phpt | 19 $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"
|