Home
last modified time | relevance | path

Searched refs:n (Results 326 – 350 of 9977) sorted by relevance

1...<<11121314151617181920>>...400

/php-src/ext/phar/tests/
H A Dphar_stub.phpt24 echo fread($fp, strlen($file)) . "\n";
32 echo fread($fp, strlen($file)) . "\n";
47 echo fread($fp, strlen($file)) . "\n";
53 echo file_get_contents($fname2) . "\n";
64 echo $e->getMessage() . "\n";
70 echo fread($fp, strlen($file)) . "\n";
80 echo fread($fp, strlen($file)) . "\n";
89 echo fread($fp, strlen($file)) . "\n";
103 <?php echo "first stub\n"; __HALT_COMPILER(); ?>
107 <?php echo "third stub\n"; __HALT_COMPILER(); ?>
[all …]
/php-src/ext/mysqli/tests/
H A Dbug_mysql_49406.phpt20 printf("[002] [%d] %s\n", $link->errno, $link->error);
68 printf("Field : %d\n", $field_idx);
69 printf("Name : %s\n", $field->name);
70 printf("Orgname : %s\n", $field->orgname);
71 printf("Table : %s\n", $field->table);
72 printf("Orgtable : %s\n", $field->orgtable);
73 printf("Maxlength : %d\n", $field->max_length);
74 printf("Length : %d\n", $field->length);
75 printf("Charsetnr : %d\n", $field->charsetnr);
76 printf("Flags : %d\n", $field->flags);
[all …]
H A Dmysqli_stmt_execute_stored_proc.phpt25 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
51 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
54 printf("[018] Results seem wrong, got %s, [%d] %s\n",
67 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
90 printf("[026] Results seem wrong, got %s, [%d] %s\n",
102 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
125 printf("[034] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
128 printf("[035] Results seem wrong, got %s, [%d] %s\n",
140 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
170 printf("[045] Results seem wrong, got %s, [%d] %s\n",
[all …]
H A Dmysqli_stmt_affected_rows.phpt30 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp);
47 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
59 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
69 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
79 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
89 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
115 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
125 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
135 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
200 printf("[041] Expecting SELECT statement to fail on purpose\n");
[all …]
/php-src/ext/standard/tests/strings/
H A Dsubstr_count_variation_002.phpt6 echo "\n*** Testing possible variations ***\n";
7 echo "\n-- complex strings containing other than 7-bit chars --\n";
13 echo "\n-- heredoc string --\n";
27 echo "\n-- heredoc null string --\n";
34 echo "Done\n";
H A Dwordwrap_variation5.phpt9 echo "*** Testing wordwrap() : usage variations ***\n";
16 echo "\n-- Testing wordwrap() with default break value and single space as value --\n";
17 echo "-- with default break and cut value --\n";
20 echo "-- with default cut value --\n";
26 echo "-- with cut value as false --\n";
31 echo "-- with cut value as true --\n";
36 echo "Done\n";
53 string(43) "T e s t i n g w o r d r a p f u n c t i o n"
54 string(64) "T e s t i n g w o r d r a p f u n c t i o n"
H A Dsprintf_error.phpt8 echo "\n-- Testing sprintf() function with Zero arguments --\n";
12 echo $e->getMessage(), "\n";
15 echo "\n-- Testing sprintf() function with less than expected no. of arguments --\n";
26 echo $e->getMessage(), "\n";
31 echo $e->getMessage(), "\n";
36 echo $e->getMessage(), "\n";
43 echo $e->getMessage(), "\n";
48 echo $e->getMessage(), "\n";
55 echo $e->getMessage(), "\n";
61 echo $e->getMessage(), "\n";
[all …]
/php-src/ext/spl/tests/
H A Ddllist_013.phpt10 echo "Exception: ".$e->getMessage()."\n";
23 echo count($dll)."\n";
25 echo $dll->pop()."\n";
26 echo $dll->pop()."\n";
27 echo $dll->pop()."\n";
28 echo $dll->pop()."\n";
29 echo $dll->pop()."\n";
30 echo $dll->pop()."\n";
31 echo $dll->pop()."\n";
/php-src/Zend/tests/
H A Dlsb_001.phpt38 echo TestClass::testStaticVar() . "\n";
39 echo TestClass::testClassConst() . "\n";
40 echo TestClass::testStaticFunction() . "\n";
42 echo ChildClass1::testStaticVar() . "\n";
43 echo ChildClass1::testClassConst() . "\n";
44 echo ChildClass1::testStaticFunction() . "\n";
46 echo ChildClass2::testStaticVar() . "\n";
47 echo ChildClass2::testClassConst() . "\n";
48 echo ChildClass2::testStaticFunction() . "\n";
H A Dclosure_invoke_case_insensitive.phpt6 $inc = function(&$n) {
7 $n++;
10 $n = 1;
11 $inc->__INVOKE($n);
12 var_dump($n);
H A Djump04.phpt6 echo "1: ok\n";
8 echo "4: ok\n";
10 echo "2: ok\n";
12 echo "3: ok\n";
15 echo "bug\n";
17 echo "bug\n";
H A Dbug29210.phpt7 echo "test_func1\n";
10 echo "test_func2\n";
13 echo "test_func3\n";
16 echo "test_func4\n";
22 echo "test_func1 isn't callable from inside\n";
27 echo "test_func2 isn't callable from inside\n";
32 echo "test_func3 isn't callable from inside\n";
72 echo "test_func1 isn't callable from outside\n";
77 echo "test_func2 isn't callable from outside\n";
82 echo "test_func3 isn't callable from outside\n";
[all …]
/php-src/ext/dom/tests/modern/spec/
H A DCharacterData_insertData_negative_offset_mod32.phpt12 echo "--- Modern behaviour ---\n";
19 echo $e->getMessage(), "\n";
21 echo $dom->saveHtml($comment), "\n";
23 echo $dom->saveHtml($comment), "\n";
25 echo "--- Legacy behaviour ---\n";
32 echo $e->getMessage(), "\n";
34 echo $dom->saveHtml($comment), "\n";
38 echo $e->getMessage(), "\n";
40 echo $dom->saveHtml($comment), "\n";
/php-src/ext/standard/tests/serialize/
H A Dserialization_arrays_002.phpt20 echo "\n\n--- No references:\n";
27 echo "\n\n--- 0 refs 1:\n";
34 echo "\n\n--- 0 refs 2:\n";
41 echo "\n\n--- 1 refs 0:\n";
48 echo "\n\n--- 1 refs 2:\n";
55 echo "\n\n--- 2 refs 0:\n";
62 echo "\n\n--- 2 refs 1:\n";
69 echo "\n\n--- 0,1 ref 2:\n";
76 echo "\n\n--- 0,2 ref 1:\n";
83 echo "\n\n--- 1,2 ref 0:\n";
/php-src/ext/pcre/tests/
H A Dbug61780_1.phpt7 echo "\n\n";
10 echo "\n\n";
13 echo "\n\n";
16 echo "\n\n";
19 echo "\n\n";
/php-src/tests/lang/
H A D020.phpt11 echo "In branch 1\n";
14 echo "This doesn't work... :(\n";
17 echo "This works!\n";
20 echo "Hmmm, no worki\n";
23 echo "Inner default...\n";
27 echo "blah=$blah\n";
32 echo "In branch 2\n";
35 echo "In branch \$i\n";
38 echo "In branch 4\n";
41 echo "Hi, I'm default\n";
/php-src/ext/standard/tests/file/
H A D005_basic.phpt6 echo "*** Testing the basic functionality with file ***\n";
7 print( @date('Y:M:D:H:i:s', fileatime(__FILE__)) )."\n";
8 print( @date('Y:M:D:H:i:s', filemtime(__FILE__)) )."\n";
9 print( @date('Y:M:D:H:i:s', filectime(__FILE__)) )."\n";
10 print( @date('Y:M:D:H:i:s', touch(__DIR__."/005_basic.tmp")) )."\n";
12 echo "*** Testing the basic functionality with dir ***\n";
13 print( @date('Y:M:D:H:i:s', fileatime(".")) )."\n";
14 print( @date('Y:M:D:H:i:s', filemtime(".")) )."\n";
15 print( @date('Y:M:D:H:i:s', filectime(".")) )."\n";
16 print( @date('Y:M:D:H:i:s', touch(__DIR__."/005_basic")) )."\n";
[all …]
/php-src/ext/date/tests/
H A DDateInterval_serialize-003.phpt8 echo "Original object:\n";
11 echo "\n\nSerialised object:\n";
15 echo "\n\nUnserialised object:\n";
19 echo "\n\nCalling __serialize manually:\n";
22 echo "\n\nCalling __unserialize manually:\n";
32 echo "\n\nUsed serialised interval:\n";
38 echo $e::class, ': ', $e->getMessage(), "\n";
/php-src/ext/dom/tests/
H A DDOMDocument_strictErrorChecking_variation.phpt12 echo "Load document\n";
16 echo "See if strictErrorChecking is on\n";
19 echo "Should throw DOMException when strictErrorChecking is on\n";
23 echo "GOOD. DOMException thrown\n";
24 echo $e->getMessage() ."\n";
26 echo "OOPS. Other exception thrown\n";
30 echo "Turn strictErrorChecking off\n";
33 echo "See if strictErrorChecking is off\n";
40 echo "OOPS. DOMException thrown\n";
41 echo $e->getMessage() ."\n";
[all …]
/php-src/ext/hash/tests/
H A Dsha384.phpt5 echo hash('sha384', '') . "\n";
6 echo hash('sha384', 'a') . "\n";
7 echo hash('sha384', '012345678901234567890123456789012345678901234567890123456789') . "\n";
10 echo hash('sha384', 'abc') . "\n";
11 …jdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
12 echo hash('sha384', str_repeat('a', 1000000)) . "\n";
H A Dsha1.phpt5 echo hash('sha1', '') . "\n";
6 echo hash('sha1', 'a') . "\n";
7 echo hash('sha1', '012345678901234567890123456789012345678901234567890123456789') . "\n";
10 echo hash('sha1', 'abc') . "\n";
11 echo hash('sha1', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
12 echo hash('sha1', str_repeat('a', 1000000)) . "\n";
H A Dsha224.phpt5 echo hash('sha224', '') . "\n";
6 echo hash('sha224', 'a') . "\n";
7 echo hash('sha224', '012345678901234567890123456789012345678901234567890123456789') . "\n";
10 echo hash('sha224', 'abc') . "\n";
11 echo hash('sha224', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
12 echo hash('sha224', str_repeat('a', 1000000)) . "\n";
H A Dsha256.phpt5 echo hash('sha256', '') . "\n";
6 echo hash('sha256', 'a') . "\n";
7 echo hash('sha256', '012345678901234567890123456789012345678901234567890123456789') . "\n";
10 echo hash('sha256', 'abc') . "\n";
11 echo hash('sha256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
12 echo hash('sha256', str_repeat('a', 1000000)) . "\n";
H A Dsha512.phpt5 echo hash('sha512', '') . "\n";
6 echo hash('sha512', 'a') . "\n";
7 echo hash('sha512', '012345678901234567890123456789012345678901234567890123456789') . "\n";
10 echo hash('sha512', 'abc') . "\n";
11 …jdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
12 echo hash('sha512', str_repeat('a', 1000000)) . "\n";
/php-src/ext/standard/tests/array/
H A Dsizeof_basic2.phpt21 echo "\n";
24 echo "\n";
27 echo "\n";
32 echo "\n";
35 echo "\n";
38 echo "\n";
43 echo "\n";
46 echo "\n";
49 echo "\n";
54 echo "\n";
[all …]

Completed in 45 milliseconds

1...<<11121314151617181920>>...400