Home
last modified time | relevance | path

Searched refs:test (Results 326 – 350 of 4309) sorted by relevance

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

/PHP-5.4/ext/standard/tests/file/
H A Dftruncate.phpt8 file_put_contents($filename, "some test data inside");
20 file_put_contents($filename, "some test data inside");
32 file_put_contents($filename, "some test data inside");
44 string(21) "some test data inside"
48 string(10) "some test "
52 string(21) "some test data inside"
/PHP-5.4/ext/standard/tests/streams/
H A Dbug60455_03.phpt11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
12 if ($path == "test://eofafter2nd")
28 stream_wrapper_register("test", "TestStream");
30 $f = fopen("test://nonempty2nd", "r");
35 $f = fopen("test://", "r");
40 $f = fopen("test://eofafter2nd", "r");
/PHP-5.4/ext/sqlite3/tests/
H A Dsqlite3_23_escape_string.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", '" . SQLite3::escapeString…
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
47 string(7) "test''%"
/PHP-5.4/Zend/tests/traits/
H A Dstatic_forward_static_call.phpt9 public static function test() {
10 return 'Forwarded '.forward_static_call(array('A', 'test'));
15 public static function test() {
24 echo B::test();
/PHP-5.4/ext/standard/tests/array/
H A Dbug26458.phpt5 $test = array("A\x00B" => "Hello world");
6 var_dump($test);
7 var_export($test);
8 debug_zval_dump($test);
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dwrite4.phar.inc8 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
10 Phar::mount("test.txt", "phar://" . __FILE__ . "/tobemounted");
11 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . …
H A Dwrite16.phar.inc9 var_dump(isset($p["test.txt"]));
10 unset($p["test.txt"]);
11 var_dump(isset($p["test.txt"]));
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
/PHP-5.4/tests/classes/
H A Dfactory_and_singleton_003.phpt2 ZE2 factory and singleton, test 3
7 class test {
13 $obj = new test;
18 Fatal error: Call to protected test::__construct() from invalid context in %s on line %d
H A Dfactory_and_singleton_004.phpt2 ZE2 factory and singleton, test 4
7 class test {
13 $obj = new test;
18 Fatal error: Call to private test::__construct() from invalid context in %s on line %d
H A Dfactory_and_singleton_005.phpt2 ZE2 factory and singleton, test 5
7 class test {
13 $obj = new test;
19 Fatal error: Call to protected test::__destruct() from context '' in %sfactory_and_singleton_005.ph…
H A Dfactory_and_singleton_006.phpt2 ZE2 factory and singleton, test 6
7 class test {
13 $obj = new test;
19 Fatal error: Call to private test::__destruct() from context '' in %sfactory_and_singleton_006.php …
H A Dfactory_and_singleton_009.phpt2 ZE2 factory and singleton, test 9
7 class test {
14 $obj = new test;
21 Warning: Call to protected test::__destruct() from context '' during shutdown ignored in Unknown on…
H A Dfactory_and_singleton_010.phpt2 ZE2 factory and singleton, test 10
7 class test {
14 $obj = new test;
21 Warning: Call to private test::__destruct() from context '' during shutdown ignored in Unknown on l…
/PHP-5.4/Zend/tests/
H A Dbug46813.phpt5 namespace test;
13 $inner = new \test\inner();
16 var_dump(class_exists('\test\inner', true));
18 var_dump(class_exists('\test\inner', true));
H A Dbug37632.phpt8 protected function test()
19 $obj->test();
25 protected function test()
36 static protected function test()
47 $obj->test();
53 static protected function test()
130 C1::test
132 C2::test
H A Dnowdoc_001.phpt9 This is a nowdoc test.
14 This is another nowdoc test.
22 This is a nowdoc test.
23 This is another nowdoc test.
H A Dobjects_005.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…
/PHP-5.4/sapi/cgi/tests/
H A D004.phpt15 $filename = dirname(__FILE__).'/004.test.php';
19 class test {
23 var_dump(test::$pri);
39 <b>Fatal error</b>: Cannot access private property test::$pri in <b>%s004.test.php</b> on line <b>…
/PHP-5.4/ext/gd/tests/
H A Dgif2gd.phpt2 gif --> gd1/gd2 conversion test
18 echo imagegd(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test.gd1") ? 'ok' : 'failed';
22 echo imagegd2(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test.gd2") ? 'ok' : 'failed';
25 @unlink($cwd . "/test.gd1");
26 @unlink($cwd . "/test.gd2");
H A Dxpm2gd.phpt2 xpm --> gd1/gd2 conversion test
18 echo imagegd(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test.gd1") ? 'ok' : 'failed';
22 echo imagegd2(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test.gd2") ? 'ok' : 'failed';
25 @unlink($cwd . "/test.gd1");
26 @unlink($cwd . "/test.gd2");
/PHP-5.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt8 // TODO: This test is MySQL version specific - for whatever reason
19 printf("[002] Unable to switch off emulated prepared statements, test will fail\n");
21 $db->exec('DROP TABLE IF EXISTS test');
22 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
23 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
27 $stmt = $db->prepare('SELECT ? FROM test WHERE ? > ?');
28 $stmt->execute(array('test'));
40 printf("[004] Unable to switch on emulated prepared statements, test will fail\n");
42 $stmt = $db->prepare('SELECT ? FROM test WHERE ? > ?');
43 $stmt->execute(array('test'));
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dchunk_split_variation10.phpt20 $str = "This is to test chunk_split() with various 'single quoted' ending string.";
57 string(73) "This is to test chunk_split() with various 'single quoted' ending string."
59 string(82) "This is t o test ch unk_split () with v arious 's ingle quo ted' endi ng string . "
61 string(82) "This is tao test chaunk_splita() with vaarious 'saingle quoated' endiang stringa.a"
65 string(118) "This is t@#$%^o test ch@#$%^unk_split@#$%^() with v@#$%^arious 's@#$%^ingle quo@#$%^te…
67 string(91) "This is t\to test ch\tunk_split\t() with v\tarious 's\tingle quo\tted' endi\tng string\…
69 string(91) "This is t\no test ch\nunk_split\n() with v\narious 's\ningle quo\nted' endi\nng string\…
71 string(91) "This is t\ro test ch\runk_split\r() with v\rarious 's\ringle quo\rted' endi\rng string\…
73 string(109) "This is t\r\no test ch\r\nunk_split\r\n() with v\r\narious 's\r\ningle quo\r\nted' end…
75 string(91) "This is t\0o test ch\0unk_split\0() with v\0arious 's\0ingle quo\0ted' endi\0ng string\…
[all …]
H A Dparse_str_basic1.phpt13 echo "Basic test WITHOUT result arg\n";
18 echo "\nBasic test WITH undefined var for result arg\n";
23 echo "\nBasic test WITH existing non-array var for result arg\n";
29 echo "\nBasic test with an existing array as results array\n";
38 Basic test WITHOUT result arg
44 Basic test WITH undefined var for result arg
55 Basic test WITH existing non-array var for result arg
66 Basic test with an existing array as results array
/PHP-5.4/sapi/apache2filter/
H A Dconfig.m412 if test "$PHP_APXS2FILTER" != "no"; then
13 if test "$PHP_APXS2FILTER" = "yes"; then
16 if test "$?" != "0" && test -x /usr/sbin/apxs; then
24 if test "$?" != "0"; then
64 if test "$APACHE_VERSION" -le 2000000; then
71 if test -z `$APXS -q SYSCONFDIR`; then
95 if test -x "$APR_CONFIG"; then
98 if test -x "$APU_CONFIG"; then
108 if test -f _APP_; then `rm _APP_`; fi
122 …if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; th…
[all …]
/PHP-5.4/ext/phar/tests/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");

Completed in 73 milliseconds

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