Home
last modified time | relevance | path

Searched refs:s (Results 126 – 150 of 6124) sorted by relevance

12345678910>>...245

/php-src/ext/hash/
H A Dhash_xxhash.c43 memset(&ctx->s, 0, sizeof ctx->s); in PHP_XXH32Init()
52 XXH32_reset(&ctx->s, 0); in PHP_XXH32Init()
55 XXH32_reset(&ctx->s, 0); in PHP_XXH32Init()
71 copy_context->s = orig_context->s; in PHP_XXH32Copy()
82 && ctx->s.memsize < 16) { in php_hash_xxh32_unserialize()
107 memset(&ctx->s, 0, sizeof ctx->s); in PHP_XXH64Init()
119 XXH64_reset(&ctx->s, 0); in PHP_XXH64Init()
135 copy_context->s = orig_context->s; in PHP_XXH64Copy()
160 memset(&ctx->s, 0, sizeof ctx->s); in _PHP_XXH3_Init()
215 copy_context->s = orig_context->s; in PHP_XXH3_64_Copy()
[all …]
/php-src/Zend/tests/offsets/
H A DArrayObject_container_offset_behaviour.phpt11 Warning: Undefined array key %s in %s on line %d
31 Warning: Undefined array key %s in %s on line %d
53 Warning: Undefined array key %s in %s on line %d
93 Warning: Undefined array key 0 in %s on line %d
137 Cannot access offset of type %s on ArrayObject
139 Cannot access offset of type %s on ArrayObject
141 Cannot access offset of type %s on ArrayObject
153 Cannot unset offset of type %s on ArrayObject
169 Cannot unset offset of type %s on ArrayObject
318 ['%s'],
[all …]
H A Dnull_container_offset_behaviour.phpt31 Warning: Undefined array key %s in %s on line %d
140 Cannot access offset of type %s on array
142 Cannot access offset of type %s on array
144 Cannot access offset of type %s on array
150 Cannot access offset of type %s on array
152 Cannot access offset of type %s on array
154 Cannot unset offset of type %s on array
156 Cannot access offset of type %s on array
158 Cannot access offset of type %s on array
267 ['%s'],
[all …]
/php-src/tests/security/
H A Dopen_basedir_link.phpt49 …: open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s)…
52 …(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): …
55 …: open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s)…
58 …(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): …
61 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):…
64 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)…
67 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):…
70 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):…
73 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)…
H A Dopen_basedir_error_log_variation.phpt33 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):…
35 Warning: error_log(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
38 …(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (…
40 Warning: error_log(%s/test/bad.txt): Failed to open stream: %s in %s on line %d
43 …log(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.)…
45 Warning: error_log(%s/bad.txt): Failed to open stream: %s in %s on line %d
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param.phpt35 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[003a] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[003b] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
59 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[003c] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
72 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
79 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
124 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']);
173 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s' (%s), got '%s'/'%s'\n",
180 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s', got '%s'/'%s'\n",
[all …]
H A Dmysqli_stmt_result_metadata.phpt14 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
26 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[007] Expecting int/2, got %s/%s, [%d] %s\n",
33 printf("[008] Expecting object, got %s/%s, [%d] %s\n",
37 printf("[009] Expecting object, got %s/%s, [%d] %s\n",
49 printf("[011] Expecting array, got %s/%s, [%d] %s\n",
58 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 printf("[014] Expecting object, got %s/%s, [%d] %s\n",
71 printf("[016] Expecting int/1, got %s/%s, [%d] %s\n",
104 string(%d) "%s"
[all …]
H A Dmysqli_get_warnings.phpt19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno);
65 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
81 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
97 printf("[025] Expecting string, got %s/%s", gettype($warning->message), $warning->message);
107 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
110 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_connect_error.phpt24 …f("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
33 …onnect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, …
37 printf("[004] Expecting string/'', got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_autocommit.phpt10 …tf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
22 …f("[004] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
27 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
33 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
41 printf("[009] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
51 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
58 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_get_info_deprecations.phpt14 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
19 printf("client_info = '%s'\n", $mysqli->get_client_info());
21 printf("client_info = '%s'\n", mysqli_get_client_info($mysqli));
27 Deprecated: Method mysqli::get_client_info() is deprecated in %s
28 client_info = '%s'
30 Deprecated: mysqli_get_client_info(): Passing connection object as an argument is deprecated in %s
31 client_info = '%s'
H A Dmysqli_pconn_reuse.phpt21 …01] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s
29 …03] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s
34 printf("[004] [%d] %s\n", mysqli_errno($link2), mysqli_error($link2));
37 printf("Connection 1 - SELECT @pcondisabled -> '%s'\n", $row['_test']);
41 printf("[005] [%d] %s\n", mysqli_errno($link2), mysqli_error($link2));
46 printf("Connection 2 (no reuse) - Thread ID -> '%s'\n", $thread_id);
54 printf("[007] [%d] %s\n", mysqli_errno($link2), mysqli_error($link2));
57 printf("Connection 2 - SELECT @pcondisabled -> '%s'\n", $row['_test']);
64 …08] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s
69 printf("[009] [%d] %s\n", mysqli_errno($link2), mysqli_error($link2));
[all …]
H A Dmysqli_get_charset.phpt13 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
19 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
26 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
35 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
49 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
54 …printf("[016] Expecting string/%s, got %s/%s\n", $character_set_connection, gettype($charset->char…
58 …printf("[017] Expecting string/%s, got %s/%s\n", $collation_connection, gettype($charset->collatio…
62 …printf("[019] Expecting string - ideally %s*, got %s/%s\n", $character_sets_dir, gettype($charset-…
68 printf("[020] Expecting int between 0 ... %d, got %s/%s\n", $charset->max_length,
74 … printf("[021] Expecting int/%d, got %s/%s\n", $id, gettype($charset->number), $charset->number);
[all …]
H A Dmysqli_connect_twice.phpt14 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
18 …printf("[002] Cannot determine thread id, test will fail, [%d] %s\n", mysqli_errno($link), mysqli_…
21 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
24 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
31 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
44 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
47 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
54 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 printf("[013] Expecting true got %s/%s\n", gettype($tmp), $tmp);
65 …f("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
[all …]
H A Dmysqli_connect.phpt24 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
29 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
34 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
39 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
44 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
49 printf("[007] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
53 …f("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
59 …"[009] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, …
63 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($link), $link);
129 printf("[023] Result looks strange - check manually, [%d] %s\n",
[all …]
/php-src/ext/zend_test/tests/
H A Dobserver_backtrace_01.phpt41 <!-- init '%s%eobserver_backtrace_%d.php' -->
43 {main} %s%eobserver_backtrace_%d.php
45 <file '%s%eobserver_backtrace_%d.php'>
49 {main} %s%eobserver_backtrace_%d.php
56 {main} %s%eobserver_backtrace_%d.php
96 <TestClass::{closure:%s:%d}>
110 </TestClass::{closure:%s:%d}>
111 <TestClass::{closure:%s:%d}>
114 </TestClass::{closure:%s:%d}>
123 {main} %s%eobserver_backtrace_%d.php
[all …]
/php-src/Zend/
H A Dzend_long.h64 # define ZEND_LTOA(i, s, len) _i64toa_s((i), (s), (len), 10) argument
65 # define ZEND_ATOL(s) _atoi64((s)) argument
72 # define ZEND_LTOA(i, s, len) \ argument
74 int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \
75 (s)[st] = '\0'; \
77 # define ZEND_ATOL(s) atoll((s)) argument
93 # define ZEND_LTOA(i, s, len) _ltoa_s((i), (s), (len), 10) argument
94 # define ZEND_ATOL(s) atol((s)) argument
96 # define ZEND_LTOA(i, s, len) \ argument
99 (s)[st] = '\0'; \
[all …]
/php-src/ext/gmp/tests/
H A Dbug50283.phpt8 printf("Decimal: %s, -36-based: %s\n", gmp_strval($a), gmp_strval($a,-36));
9 printf("Decimal: %s, 36-based: %s\n", gmp_strval($a), gmp_strval($a,36));
11 printf("Decimal: %s, -1-based: %s\n", gmp_strval($a), gmp_strval($a,-1));
16 printf("Decimal: %s, 1-based: %s\n", gmp_strval($a), gmp_strval($a,1));
21 printf("Decimal: %s, -37-based: %s\n", gmp_strval($a), gmp_strval($a,-37));
25 printf("Decimal: %s, 37-based: %s\n", gmp_strval($a), gmp_strval($a,37));
26 printf("Decimal: %s, 62-based: %s\n", gmp_strval($a), gmp_strval($a,62));
28 printf("Decimal: %s, 63-based: %s\n\n", gmp_strval($a), gmp_strval($a,63));
32 printf("Base 32 and 62-based: %s\n", gmp_strval(gmp_init("gh82179fbf5", 32), 62));
/php-src/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt22 ["%s/resources/dir.zip"]=>
24 ["%s/resources/test.awk"]=>
26 ["%s/resources/test.bmp"]=>
28 ["%s/resources/test.gif"]=>
30 ["%s/resources/test.jpg"]=>
32 ["%s/test.json"]=>
34 ["%s/resources/test.mp3"]=>
36 ["%s/resources/test.pdf"]=>
38 ["%s/resources/test.png"]=>
40 ["%s/resources/test.ppt"]=>
[all …]
/php-src/ext/standard/tests/serialize/
H A Dserialization_objects_011.phpt82 string(98) "O:1:"A":3:{s:8:"\0A\0APriv";s:7:"A.APriv";s:8:"\0*\0AProt";s:7:"A.AProt";s:4:"APub";s:6…
114s:8:"\0A\0APriv";s:7:"A.APriv";s:8:"\0*\0AProt";s:7:"A.AProt";s:4:"APub";s:6:"A.APub";s:8:"\0B\0BP…
160s:8:"\0A\0APriv";s:7:"A.APriv";s:8:"\0*\0AProt";s:7:"C.AProt";s:4:"APub";s:6:"C.APub";s:8:"\0B\0BP…
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_strict.phpt69 "42" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given
70 "42.0" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given
71 "42x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given
72 "x" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given
73 "" => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, string given
74 true => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, true given
75 false => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, false given
76 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given
77 [] => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, array given
115 42.0 => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, float given
[all …]
/php-src/Zend/tests/anon/
H A D003.phpt15 object(class@%s)#1 (1) {
19 object(class@%s)#1 (1) {
23 object(class@%s)#1 (1) {
27 object(class@%s)#1 (1) {
31 object(class@%s)#1 (1) {
35 object(class@%s)#1 (1) {
39 object(class@%s)#1 (1) {
43 object(class@%s)#1 (1) {
47 object(class@%s)#1 (1) {
51 object(class@%s)#1 (1) {
/php-src/ext/standard/tests/file/
H A Dbug66588.phpt9 $s = fopen("php://memory", "w+");
10 fwrite($s, "\",bar");
11 rewind($s);
12 var_dump(fgetcsv($s));
13 fclose($s);
15 $s = fopen("php://memory", "w+");
16 fwrite($s, "\",bar\n");
17 rewind($s);
18 var_dump(fgetcsv($s));
19 fclose($s);
/php-src/ext/standard/tests/general_functions/
H A Dphp_uname_basic.phpt10 echo "\n-- Try all the defined mode's --\n";
13 var_dump(php_uname('s'));
22 string(%d) "%s"
24 -- Try all the defined mode's --
25 string(%d) "%s"
26 string(%d) "%s"
27 string(%d) "%s"
28 string(%d) "%s"
29 string(%d) "%s"
30 string(%d) "%s"
/php-src/ext/spl/tests/SplFileObject/
H A DSplFileObject_rewind_variation001.phpt13 $s = new SplFileObject(__FILE__);
15 $s->seek(15);
16 echo $s->current();
17 $s->next();
18 echo $s->current();
19 var_dump($s->valid());
20 $s->rewind();
21 var_dump($s->valid());
22 echo $s->current();

Completed in 45 milliseconds

12345678910>>...245