Home
last modified time | relevance | path

Searched refs:test (Results 351 – 375 of 4309) sorted by relevance

1...<<11121314151617181920>>...173

/PHP-5.4/ext/phar/tests/files/
H A Dinclude_path.phar3 include 'phar://' . __FILE__ . '/hello/test.php';
4 …lude_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test');
5 include 'phar://' . __FILE__ . '/hello/test.php';
8 <���������������������hello/test.php���r��H�����U�������<?php
/PHP-5.4/ext/standard/tests/strings/
H A Dhttp_build_query.phpt6 $array = array("foo"=>"bar","baz"=>1,"test"=>"a ' \" ", "abc");
13 string(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
14 string(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
15 string(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dfrontcontroller13.phar.inc5 var_dump("test");
6 include "oof/test.php";';
7 $a['oof/test.php'] = '<?php
8 var_dump("oof/test.php");
/PHP-5.4/tests/classes/
H A Dfactory_and_singleton_007.phpt2 ZE2 factory and singleton, test 7
7 class test {
13 $obj = new test;
20 Fatal error: Call to protected test::__clone() from context '' %sfactory_and_singleton_007.php on l…
H A Dfactory_and_singleton_008.phpt2 ZE2 factory and singleton, test 8
7 class test {
13 $obj = new test;
20 Fatal error: Call to private test::__clone() from context '' %sfactory_and_singleton_008.php on lin…
/PHP-5.4/Zend/tests/
H A Dconstants_006.phpt6 namespace test;
29 string(21) "test\foo::__construct"
30 string(8) "test\foo"
32 string(4) "test"
H A Dobjects_002.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo() in %s on line %d
H A Dstrict_002.phpt8 class test {
12 $t = new test;
22 Strict Standards: Accessing static property test::$foo as non static in %s on line %d
23 object(test)#%d (1) {
/PHP-5.4/ext/readline/
H A Dconfig.m48 if test "$PHP_LIBEDIT" = "no"; then
16 if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
18 test -f $i/include/readline/readline.h && READLINE_DIR=$i && break
21 if test -z "$READLINE_DIR"; then
72 elif test "$PHP_LIBEDIT" != "no"; then
75 test -f $i/include/editline/readline.h && LIBEDIT_DIR=$i && break
78 if test -z "$LIBEDIT_DIR"; then
120 if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then
/PHP-5.4/ext/standard/tests/file/
H A Dparse_ini_file_variation6-win32.phpt51 $content="a=test";
77 string(4) "test"
83 string(4) "test"
89 string(4) "test"
95 string(4) "test"
111 string(4) "test"
117 string(4) "test"
123 string(4) "test"
129 string(4) "test"
140 string(4) "test"
H A Dparse_ini_file_variation6.phpt43 $content="a=test";
69 string(4) "test"
75 string(4) "test"
81 string(4) "test"
87 string(4) "test"
103 string(4) "test"
109 string(4) "test"
115 string(4) "test"
121 string(4) "test"
H A Dreadlink_realpath_basic2.phpt20 mkdir("$file_path/readlink_realpath_basic2/home/test/", 0777, true);
22 $file_handle1 = fopen("$file_path/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp",…
34 "$file_path/readlink_realpath_basic2//home/test//../test/./readlink_realpath_basic2.tmp",
38 "$file_path///readlink_realpath_basic2/home//..//././test//readlink_realpath_basic2.tmp",
39 "$file_path/readlink_realpath_basic2/home/../home/../test/../readlink_realpath_basic2.tmp",
56 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp");
59 rmdir("$name_prefix/home/test/");
73 string(%d) "%s/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp"
/PHP-5.4/ext/shmop/tests/
H A D001.phpt2 shmop extension test
12 $write_d1 = "test #1 of the shmop() extension";
13 $write_d2 = "test #2 append data to shared memory segment";
25 echo "shm write test #1: ";
61 echo "shm write test #1: ";
83 shm write test #1: ok
84 data in memory is: test #1 of the shmop() extension
86 data in memory is: test #1 of the shmop() extension
89 shm write test #1: ok
90 data in memory is: test #1 of the shmop() extensiontest #2 append data to shared memory segment
/PHP-5.4/ext/pdo/tests/
H A Dpdo_010.phpt21 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10), grp VARCH…
22 $db->exec('INSERT INTO test VALUES(1, 0, \'A\', \'Group1\')');
23 $db->exec('INSERT INTO test VALUES(2, 1, \'B\', \'Group1\')');
24 $db->exec('INSERT INTO test VALUES(3, 2, \'C\', \'Group2\')');
25 $db->exec('INSERT INTO test VALUES(4, 3, \'D\', \'Group2\')');
27 …prepare('SELECT classtypes.name, test.grp AS grp, test.id AS id, test.val AS val FROM test LEFT JO…
H A Dpdo_019.phpt17 $db->exec('CREATE TABLE test(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
18 $db->exec('INSERT INTO test VALUES(0, \'String0\')');
19 $db->exec('INSERT INTO test VALUES(1, \'String1\')');
20 $db->exec('INSERT INTO test VALUES(2, \'String2\')');
21 $db->exec('INSERT INTO test VALUES(3, \'String3\')');
24 var_dump($db->query('SELECT COUNT(*) FROM test')->fetchColumn());
26 $stmt = $db->prepare('SELECT idx, txt FROM test ORDER by idx');
/PHP-5.4/ext/filter/tests/
H A D029.phpt9 function test($var) {
13 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test")));
14 …var("~!@#$%^&*()_QWERTYUIOPASDFGHJKLZXCVBNM<>>?\"}{:", FILTER_CALLBACK, array("options"=>"test")));
15 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test")));
22 static function test ($var) {
27 var_dump(filter_var("dAtA", FILTER_CALLBACK, array("options"=>array("test_class", "test"))));
28 …RTYUIOPASDFGHJKLZXCVBNM<>>?\"}{:", FILTER_CALLBACK, array("options"=>array("test_class","test"))));
29 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>array("test_class","test"))));
67 throw new Exception("test");
104 string(4) "test"
/PHP-5.4/ext/oci8/tests/
H A Dlob_temp.phpt5 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
14 var_dump($blob->writeTemporary("test"));
22 var_dump($blob->writeTemporary("test"));
32 string(4) "test"
36 string(4) "test"
/PHP-5.4/ext/phar/tests/
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1
16 %unicode|string%(4) "test"
17 %unicode|string%(12) "oof/test.php"
19 Warning: include(./hi.php): failed to open stream: No such file or directory in phar://%s/oof/test.…
21 …(): Failed opening './hi.php' for inclusion (include_path='%s') in phar://%soof/test.php on line %d
/PHP-5.4/ext/mysqli/tests/
H A Dtable.inc10 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) {
11 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
16 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
20 if (!mysqli_query($link, 'CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $eng…
21 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd')…
/PHP-5.4/ext/soap/tests/soap12/
H A DT27.phpt12 <test:echoStringArray xmlns:test="http://example.org/ts-tests"
15 <test:array enc:itemType="xs:string" enc:arraySize="1">
19 </test:array>
20 </test:echoStringArray>
24 include "soap12-test.inc";
/PHP-5.4/ext/soap/tests/bugs/
H A Dbug43045.phpt7 function test($x) {
15 $this->server->addFunction('test');
39 "location" => "test://",
44 var_dump($client->test(0.1));
45 var_dump($client->test(NAN));
46 var_dump($response = $client->test(INF));
47 var_dump($response = $client->test(-INF));
/PHP-5.4/ext/pdo_mysql/tests/
H A Dbug44327.phpt25 @$db->exec("DROP TABLE test");
26 $db->exec("CREATE TABLE test (id INT)");
27 $db->exec("INSERT INTO test(id) VALUES (1)");
28 $stmt = $db->prepare("SELECT id FROM test");
33 @$db->exec("DROP TABLE test");
56 %unicode|string%(19) "SELECT id FROM test"
60 %unicode|string%(19) "SELECT id FROM test"
H A Dpdo_mysql_prepare_match_against.phpt16 $db->exec('DROP TABLE IF EXISTS test');
17 $db->exec('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
18 $db->exec('CREATE FULLTEXT INDEX idx1 ON test(label)');
20 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
24 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
28 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (?)');
45 $db->exec('DROP TABLE IF EXISTS test');
H A Dbug_33689.phpt16 $db->exec('CREATE TABLE test (bar INT NOT NULL)');
17 $db->exec('INSERT INTO test VALUES(1)');
19 var_dump($db->query('SELECT * from test'));
20 foreach ($db->query('SELECT * from test') as $row) {
24 $stmt = $db->prepare('SELECT * from test');
45 %unicode|string%(18) "SELECT * from test"
60 [table] => test
/PHP-5.4/tests/security/
H A Dopen_basedir_linkinfo.phpt22 $target = ($initdir."/test/bad/bad.txt");
23 $symlink = ($initdir."/test/ok/symlink.txt");
26 chdir($initdir."/test/ok");
32 var_dump(linkinfo($initdir."/test/ok/symlink.txt"));
34 $target = ($initdir."/test/ok/ok.txt");
35 $symlink = ($initdir."/test/ok/symlink.txt");
61 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…

Completed in 40 milliseconds

1...<<11121314151617181920>>...173