Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...195

/PHP-7.0/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-7.0/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");
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-7.0/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");
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-7.0/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"
H A Dbug65230.phpt14 function test($locale, $value)
28 test('german', 3.41);
29 test('english', 3.41);
30 test('french', 3.41);
31 test('german', 3.41);
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-7.0/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 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 Warning: Declaration of test3::foo() should be compatible with & test::foo() in %s on line %d
H A Dobjects_002.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Warning: Declaration of test3::foo($arg) should be compatible with test::foo() in %s on line %d
H A Dstrict_002.phpt8 class test {
12 $t = new test;
22 Notice: Accessing static property test::$foo as non static in %s on line %d
23 object(test)#%d (1) {
H A Dclass_constants_001.phpt6 class test {
11 var_dump(test::val);
12 var_dump(test::val2);
14 var_dump(test::val3);
/PHP-7.0/ext/pdo/tests/
H A Dbug_71447.phpt20 $db->exec('CREATE TABLE test(id int)');
21 $db->exec('INSERT INTO test VALUES(1)');
27 FROM test
37 FROM test
47 FROM test
57 FROM test
67 FROM test
77 FROM test
88 FROM test
/PHP-7.0/sapi/cgi/tests/
H A D011.phpt15 function test($script) {
25 test('<?php ?>');
26 test('<?php header_remove(); ?>');
28 test('<?php
31 test('<?php
36 test('<?php
40 test('<?php
44 test('<?php
48 test('<?php
51 test('<?php
[all …]
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_rollback.phpt20 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
23 $db->query("INSERT INTO test(id, label) VALUES (100, 'z')");
25 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
27 printf("[001] INSERT has failed, test will fail\n");
31 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
36 $db->query("INSERT INTO test(id, label) VALUES (100, 'z')");
60 $db->query('DELETE FROM test');
66 $db->query('DELETE FROM test');
72 $db->query('DELETE FROM test');
78 $db->query('DELETE FROM test');
[all …]
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-7.0/tests/security/
H A Dopen_basedir_link.phpt17 $target = ($initdir."/test/ok/ok.txt");
23 $link = ($initdir."/test/ok/link.txt");
30 $target = ($initdir."/test/ok/ok.txt");
49 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the a…
52 Warning: link(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allow…
55 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the a…
58 Warning: link(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allow…
61 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
64 Warning: link(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed pa…
67 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
[all …]
/PHP-7.0/Zend/tests/return_types/
H A Dinheritance005.phpt7 public static function test() : self {
13 public static function test() : self {
19 Fatal error: Declaration of Bar::test(): Bar must be compatible with Foo::test(): Foo in %sinherita…
/PHP-7.0/Zend/tests/use_function/
H A Dno_global_fallback2.phpt7 function test() {
12 use function bar\test;
13 test();
18 Fatal error: Uncaught Error: Call to undefined function bar\test() in %s:%d
/PHP-7.0/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-7.0/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-7.0/ext/pcre/
H A Dconfig0.m412 if test "$PHP_PCRE_REGEX" != "yes" && test "$PHP_PCRE_REGEX" != "no"; then
15 test -f $i/pcre.h && PCRE_INCDIR=$i
18 if test -z "$PCRE_INCDIR"; then
25 test -f $j/libpcre.a || test -f $j/libpcre.$SHLIB_SUFFIX_NAME && PCRE_LIBDIR=$j
28 if test -z "$PCRE_LIBDIR" ; then
38 if test "$pcre_minor_length" -eq 2 ; then
42 if test "$pcre_version" -lt 660; then
71 if test "$PHP_PCRE_REGEX" != "no"; then
73 if test "$PHP_PCRE_JIT" != "no"; then
/PHP-7.0/ext/sqlite3/
H A Dconfig0.m49 if test $PHP_SQLITE3 != "no"; then
14 if test -z "$enable_maintainer_zts"; then
15 if test -f "$phpincludedir/main/php_config.h"; then
17 if test "$ZTS" -eq "1"; then
23 if test $PHP_SQLITE3 != "yes"; then
26 if test -r $i/include/sqlite3.h; then
33 if test -z "$SQLITE3_DIR"; then
71 if test "$enable_maintainer_zts" = "yes"; then
77 if test "$ZEND_DEBUG" = "yes"; then
84 if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then

Completed in 30 milliseconds

1...<<11121314151617181920>>...195