Home
last modified time | relevance | path

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

12345678

/PHP-8.1/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-8.1/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-8.1/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createcollation.phpt11 $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
13 $db->query('INSERT INTO foobar VALUES (NULL, "1")');
14 $db->query('INSERT INTO foobar VALUES (NULL, "2")');
15 $db->query('INSERT INTO foobar VALUES (NULL, "10")');
19 $result = $db->query('SELECT name FROM foobar ORDER BY name COLLATE MYCOLLATE');
24 $result = $db->query('SELECT name FROM foobar ORDER BY name');
29 $db->query('DROP TABLE foobar');
H A Dpdo_sqlite_createaggregate.phpt10 $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
12 $db->query('INSERT INTO foobar VALUES (NULL, "PHP")');
13 $db->query('INSERT INTO foobar VALUES (NULL, "PHP6")');
18 foreach ($db->query('SELECT testing(name) FROM foobar') as $row) {
22 $db->query('DROP TABLE foobar');
H A Dpdo_sqlite_createfunction.phpt10 $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
12 $db->query('INSERT INTO foobar VALUES (NULL, "PHP")');
13 $db->query('INSERT INTO foobar VALUES (NULL, "PHP6")');
19 foreach ($db->query('SELECT testing(name) FROM foobar') as $row) {
23 $db->query('DROP TABLE foobar');
H A Dpdo_sqlite_transaction.phpt13 $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
17 $db->query('INSERT INTO foobar VALUES (NULL, "PHP")');
18 $db->query('INSERT INTO foobar VALUES (NULL, "PHP6")');
21 $r = $db->query('SELECT COUNT(*) FROM foobar');
25 $db->query('DROP TABLE foobar');
H A Dpdo_sqlite_createfunction_with_flags.phpt14 $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
16 $db->query('INSERT INTO foobar VALUES (NULL, "PHP")');
17 $db->query('INSERT INTO foobar VALUES (NULL, "PHP6")');
23 foreach ($db->query('SELECT testing(name) FROM foobar') as $row) {
27 $db->query('DROP TABLE foobar');
/PHP-8.1/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-8.1/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-8.1/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-8.1/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-8.1/ext/pcre/tests/
H A Dbug52732.phpt7 $ret = preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar');
/PHP-8.1/ext/reflection/tests/
H A Dbug80370.phpt9 $foobar = new Foobar();
10 $foobar->bar = 42;
12 $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-8.1/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation2.phpt7 @unlink(__DIR__ . "/foobar.dtd");
12 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "foobar.dtd">
33 file_put_contents(__DIR__ . "/foobar.dtd", $dtd);
44 Warning: DOMDocument::validate(): Could not load the external subset "foobar.dtd" in %s on line %d
/PHP-8.1/tests/lang/operators/
H A Dcoalesce.phpt15 "foobar" => NULL,
22 function foobar() {
39 var_dump($arr["foobar"] ?? 3);
44 var_dump(foobar()[0] ?? false);

Completed in 24 milliseconds

12345678