Home
last modified time | relevance | path

Searched refs:s (Results 326 – 350 of 6057) sorted by relevance

1...<<11121314151617181920>>...243

/PHP-8.1/ext/standard/tests/serialize/
H A Dbug74103.phpt5 var_dump(unserialize('a:7:{i:0;i:04;s:1:"a";i:2;i:9617006;i:4;s:1:"a";i:4;s:1:"a";R:5;s:1:"7";R:3;s
8 Notice: unserialize(): Error at offset %d of %d bytes in %s on line %d
H A Dtyped_property_ref_assignment_failure.phpt10 $s = <<<'STR'
11 O:4:"Test":1:{s:4:"prop";O:8:"stdClass":1:{s:1:"y";R:2;}}
14 var_dump(unserialize($s));
19 $s = <<<'STR'
20 O:4:"Test":1:{s:4:"prop";a:1:{i:0;R:2;
22 var_dump(unserialize($s));
28 Notice: unserialize(): Error at offset 38 of 38 bytes in %s on line %d
H A D001.phpt15 class s
64 $t = new s();
92 s:5:"hallo";
93 a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;i:2;s:5:"hallo";i:3;N;i:4;…
94 O:1:"t":1:{s:1:"a";s:5:"hallo";}
100 O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";}
102 object(s)#%d (3) {
116 a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
/PHP-8.1/ext/oci8/tests/
H A Dlob_041.phpt29 oci_define_by_name($s, "C1", $desc);
30 oci_execute($s);
31 $data = oci_fetch_assoc($s);
32 oci_free_statement($s);
40 oci_define_by_name($s, "C1", $desc);
41 oci_execute($s);
42 $data = oci_fetch_assoc($s);
43 $s = null;
51 oci_execute($s);
52 $data = oci_fetch_assoc($s);
[all …]
H A Dbug68298.phpt21 $s = oci_parse($c, "INSERT INTO BUG68298 VALUES (:INTVALUE)");
23 oci_bind_by_name($s, ":INTVALUE", $intvalue, -1, SQLT_INT);
24 oci_execute($s);
26 $s = oci_parse($c, "INSERT INTO BUG68298 VALUES (:INTVALUE)");
28 oci_bind_by_name($s, ":INTVALUE", $intvalue, -1, SQLT_INT);
29 oci_execute($s);
32 $s = oci_parse($c, "SELECT COL1 FROM BUG68298");
33 oci_execute($s);
34 oci_fetch_all($s, $r);
H A Dlob_038.phpt25 $s = oci_parse($c,$ora_sql);
31 oci_execute($s, OCI_DEFAULT);
34 oci_execute($s, OCI_DEFAULT);
37 oci_execute($s, OCI_DEFAULT);
42 var_dump(oci_execute($s));
44 oci_fetch_all($s, $res);
73 $s = oci_parse($c,$ora_sql);
79 oci_execute($s, OCI_DEFAULT);
82 oci_execute($s, OCI_DEFAULT);
89 var_dump(oci_execute($s));
[all …]
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_local_infile_directory_denied.phpt20 printf("[%03d] Expecting '%s'/%s got '%s'/%s when running '%s', [%s] %s\n",
26 printf("[%03d] '%s' has failed, [%s] %s\n",
44 …intf('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGINE=%s', PDO_MYSQL_TEST_ENG…
48 …$sql = sprintf("LOAD DATA LOCAL INFILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATE…
62 printf("[001] %s, [%s] %s\n",
76 Warning: PDO::exec(): SQLSTATE[HY000]: General error: 2068 LOAD DATA LOCAL INFILE %s in %s on line …
H A Dpdo_mysql_stmt_bindparam.phpt23 printf("[%03d + 1] Cannot bind parameter, %s %s\n", $offset,
30 printf("[%03d + 2] Cannot bind integer column, %s %s\n", $offset,
34 printf("[%03d + 3] Cannot bind string column, %s %s\n", $offset,
38 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
46 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
56 printf("[%03d + 4] Cannot bind parameter, %s %s\n", $offset,
60 printf("[%03d + 5] Cannot execute statement, %s %s\n", $offset,
69 printf("[%03d + 6] Cannot bind NULL column, %s %s\n", $offset,
73 printf("[%03d + 3] Cannot bind string column, %s %s\n", $offset,
77 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
[all …]
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_data_seek_oo.phpt15 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
27 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
30 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[008] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']);
37 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[010] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
44 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
55 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
H A Dmysqli_commit.phpt11 die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
14 die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
21 …f("[004] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
25 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
31 … printf("[007] Cannot create test table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
38 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
44 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_class_mysqli_result_interface.phpt74 printf("%s\n", $var);
79 printf("%s\n", $var);
84 printf("mysqli_result->current_field = '%s'/%s ('%s'/%s)\n",
89 printf("mysqli_result->field_count = '%s'/%s ('%s'/%s)\n",
94 printf("mysqli_result->lengths -> '%s'/%s ('%s'/%s)\n",
101 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n",
106 printf("mysqli_result->type = '%s'/%s\n",
111 printf("mysqli_result->unknown = '%s'\n", @$mysqli_result->unknown);
115 printf("[001] Expecting object/mysqli_result got %s/%s\n", gettye($res), $res);
124 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_get_result_seek.phpt26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
34 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count…
37 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f…
41 printf("[007] Cannot seek to position %d, [%d] %s\n",
71 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
80 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
83 printf("[016] Expecting id = %d for pos %d got %s/%s\n",
87 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $tmp);
95 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_pconn_kill.phpt20 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
28 printf("[002] Cannot get processlist, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
36 … printf("[003] Processlist is too short, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
39 …printf("[004] Cannot find thread id of the regular link, [%d] %s\n", mysqli_errno($link), mysqli_e…
42 …printf("[005] Cannot find thread id of the persistent link, [%d] %s\n", mysqli_errno($link), mysql…
46 …printf("[006] Cannot kill persistent connection, [%d] %s\n", mysqli_errno($link), mysqli_error($li…
52 printf("[007] Cannot get processlist, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
72 …f("[011] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
75 …printf("[012] New persistent connection cannot execute queries, [%d] %s\n", @mysqli_errno($plink),…
85 …f("[013] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
[all …]
H A Dbug44897.phpt25 printf("[001] [%d] %s\n", $link->errno, $link->error);
28 printf("[002] [%d] %s\n", $link->errno, $link->error);
34 printf("[003] [%d] %s\n", $link->errno, $link->error);
37 printf("[004] [%d] %s\n", $stmt->errno, $stmt->error);
41 printf("[005] [%d] %s\n", $stmt->errno, $stmt->error);
44 printf("[006] IN value and returned value differ. Expecting %s/%s got %s/%s\n",
52 printf("[007] Failed to create new statement object, [%d] %s\n",
58 printf("[008] [%d] %s\n", $stmt2->errno, $stmt2->error);
62 printf("[009] [%d] %s\n", $stmt2->errno, $stmt2->error);
65 printf("[010] IN value and returned value differ. Expecting %s/%s got %s/%s\n",
[all …]
H A Dmysqli_stmt_data_seek.phpt16 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
28 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
36 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
39 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
47 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
50 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
55 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_rollback.phpt11 … die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
14 die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
21 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
25 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
31 … printf("[007] Cannot create test table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
38 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
48 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
/PHP-8.1/Zend/tests/
H A D033.phpt28 Warning: Undefined variable $arr in %s on line %d
30 Warning: Trying to access array offset on value of type null in %s on line %d
32 Warning: Trying to access array offset on value of type null in %s on line %d
34 Warning: Trying to access array offset on value of type null in %s on line %d
36 Warning: Trying to access array offset on value of type null in %s on line %d
38 Warning: Trying to access array offset on value of type null in %s on line %d
40 Warning: Undefined variable $arr in %s on line %d
42 Warning: Trying to access array offset on value of type null in %s on line %d
44 Warning: Trying to access array offset on value of type null in %s on line %d
52 Warning: Undefined variable $arr in %s on line %d
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dsprintf_variation54.phpt23 %s with null:
26 %s with false:
29 %s with true:
32 %s with 2:
35 s with 3.5:
38 %s with "foo":
41 %s with []:
46 %s with [1]:
51 %s with resource:
54 %s with {}:
[all …]
/PHP-8.1/ext/sockets/tests/
H A Dmcast_ipv6_send.phpt20 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP) or die("err");
23 $r = socket_set_option($s, $level, IPV6_MULTICAST_HOPS, 9);
25 $r = socket_get_option($s, $level, IPV6_MULTICAST_HOPS);
30 $r = socket_set_option($s, $level, IPV6_MULTICAST_LOOP, 0);
32 $r = socket_get_option($s, $level, IPV6_MULTICAST_LOOP);
34 $r = socket_set_option($s, $level, IPV6_MULTICAST_LOOP, 1);
36 $r = socket_get_option($s, $level, IPV6_MULTICAST_LOOP);
42 $r = socket_set_option($s, $level, IPV6_MULTICAST_IF, 0);
44 $r = socket_get_option($s, $level, IPV6_MULTICAST_IF);
47 $r = socket_set_option($s, $level, IPV6_MULTICAST_IF, 1);
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dmbregex_stack_limit.phpt14 $s = str_repeat(' ', 30000);
17 var_dump(mb_ereg('\\s+$', $s));
20 var_dump(mb_ereg('\\s+$', $s));
23 var_dump(mb_ereg('\\s+$', $s));
/PHP-8.1/Zend/tests/type_declarations/
H A Dscalar_basic.phpt19 'string' => function (string $s) { return $s; },
106 *** Trying object(stdClass)#%s (0) {
110 *** Trying object(StringCapable)#%s (0) {
141 float(%s)
159 *** Trying object(stdClass)#%s (0) {
206 *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d
210 *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line …
212 *** Trying object(stdClass)#%s (0) {
214 *** Caught {closure}(): Argument #1 ($s) must be of type string, stdClass given, called in %s on li…
221 *** Caught {closure}(): Argument #1 ($s) must be of type string, resource given, called in %s on li…
[all …]
/PHP-8.1/ext/zip/tests/
H A Dzip_entry_name.phpt17 Deprecated: Function zip_open() is deprecated in %s on line %d
19 Deprecated: Function zip_read() is deprecated in %s on line %d
21 Deprecated: Function zip_entry_name() is deprecated in %s on line %d
24 Deprecated: Function zip_read() is deprecated in %s on line %d
26 Deprecated: Function zip_entry_name() is deprecated in %s on line %d
29 Deprecated: Function zip_read() is deprecated in %s on line %d
31 Deprecated: Function zip_entry_name() is deprecated in %s on line %d
34 Deprecated: Function zip_read() is deprecated in %s on line %d
36 Deprecated: Function zip_entry_name() is deprecated in %s on line %d
39 Deprecated: Function zip_read() is deprecated in %s on line %d
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dfscanf_variation51.phpt24 $formats = array( "%d", "%f", "%e", "%u", " %s", "%x", "%o");
68 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
71 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
74 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
77 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
80 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
83 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
86 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
91 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
/PHP-8.1/ext/zlib/tests/
H A Dbug_34821.phpt17 $s = '';
22 $s .= chr(rand(0,255));
24 var_dump($s === gzinflate(gzdeflate($s)));
25 var_dump($s === gzuncompress(gzcompress($s)));
26 var_dump($s === gzinflate(substr(gzencode($s), 10, -8)));
/PHP-8.1/ext/mysqli/
H A Dmysqli_mysqlnd.h34 #define mysqli_stmt_get_id(s) ((s)->data->stmt_id) argument
35 #define mysqli_stmt_warning_count(s) mysqlnd_stmt_warning_count((s)) argument
36 #define mysqli_stmt_server_status(s) mysqlnd_stmt_server_status((s)) argument
37 #define mysqli_stmt_get_connection(s) (s)->data->conn argument

Completed in 29 milliseconds

1...<<11121314151617181920>>...243