/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_prefetch_1.phpt | 25 $s = $dbh->prepare("select dummy from dual" ); 26 $s->execute(); 27 while ($r = $s->fetch()) { 36 $s = $dbh->prepare("select dummy from dual" ); 37 $s->execute(); 38 while ($r = $s->fetch()) { 47 $s = $dbh->prepare("select dummy from dual" ); 48 $s->execute(); 49 while ($r = $s->fetch()) { 59 $s->execute(); [all …]
|
/PHP-8.1/ext/oci8/tests/ |
H A D | field_funcs.phpt | 18 if (!($s = oci_parse($c, $insert_sql))) { 23 if (!oci_execute($s)) { 34 if (!($s = oci_parse($c, $select_sql))) { 38 if (!oci_execute($s)) { 47 var_dump(oci_field_is_null($s, $num)); 48 var_dump(oci_field_name($s, $num)); 49 var_dump(oci_field_type($s, $num)); 50 var_dump(oci_field_type_raw($s, $num)); 51 var_dump(oci_field_scale($s, $num)); 52 var_dump(oci_field_precision($s, $num)); [all …]
|
H A D | bind_rowid.phpt | 12 $s = oci_parse($c, 'select address from rid_tab order by id'); 14 oci_execute($s, OCI_DEFAULT); 15 while ($row = oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS)) { 32 $s = oci_parse($c, 'select rowid, address from rid_tab where id = :l_bv for update'); 34 oci_bind_by_name($s, ':l_bv', $id); 35 oci_execute($s, OCI_DEFAULT); 36 $row = oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS); 44 $s = oci_parse($c,'update rid_tab set address = :a_bv where rowid = :r_bv'); 45 oci_bind_by_name($s, ':r_bv', $rid, -1, OCI_B_ROWID); 46 oci_bind_by_name($s, ':a_bv', $addr); [all …]
|
/PHP-8.1/ext/pgsql/tests/ |
H A D | 98old_api.phpt | 35 Deprecated: Function pg_numrows() is deprecated in %s on line %d 37 Deprecated: Function pg_numfields() is deprecated in %s on line %d 39 Deprecated: Function pg_fieldname() is deprecated in %s on line %d 41 Deprecated: Function pg_fieldsize() is deprecated in %s on line %d 43 Deprecated: Function pg_fieldtype() is deprecated in %s on line %d 45 Deprecated: Function pg_fieldprtlen() is deprecated in %s on line %d 47 Deprecated: Function pg_fieldisnull() is deprecated in %s on line %d 49 Deprecated: Function pg_result() is deprecated in %s on line %d 51 Deprecated: Function pg_getlastoid() is deprecated in %s on line %d 53 Deprecated: Function pg_freeresult() is deprecated in %s on line %d [all …]
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_stmt_errno.phpt | 16 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 20 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 34 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_error.phpt | 16 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 20 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[007] [%d] %s\n", mysqli_stmt_error($stmt), mysqli_stmt_error($stmt)); 34 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_field_types.phpt | 15 printf("[001] %s, [%d] %s\n", $sql_type, 20 … $create = sprintf("CREATE TABLE test(id %s) DEFAULT CHARSET %s", $sql_type, $default_charset); 22 printf("[002] '%s' - '%s', [%d] %s\n", $sql_type, $create, 28 $sql = sprintf("INSERT INTO test(id) VALUES ('%s')", $php_value); 30 $sql = sprintf("INSERT INTO test(id) VALUES (%s)", $php_value); 33 printf("[003] '%s' - '%s' - '%s', [%d] %s\n", $sql_type, $create, $sql, 39 printf("[004] %s, [%d] %s\n", $sql_type, 45 printf("[004] %s, expecting object got %s, [%d] %s\n", $sql_type, 59 printf("[006] Expecting %d for %s got code %d for %s\n",
|
H A D | bug52891.phpt | 22 printf("[002] [%d] %s\n", $link->errno, $link->error); 27 printf("[003] [%d] %s\n", $link->errno, $link->error); 32 printf("[004] [%d] %s\n", $link->errno, $link->error); 35 printf("[005] [%d] %s\n", $link->errno, $link->error); 40 printf("[006] [%d] %s\n", $stmt1->errno, $stmt1->error); 43 printf("[007] [%d] %s\n", $stmt2->errno, $stmt2->error); 47 printf("[008] [%d] %s\n", $stmt1->errno, $stmt1->error); 50 printf("[009] [%d] %s\n", $stmt2->errno, $stmt2->error); 55 printf("[010] [%d] %s\n", $stmt2->errno, $stmt2->error); 61 printf("[011] [%d] %s\n", $stmt1->errno, $stmt1->error); [all …]
|
H A D | mysqli_reconnect.phpt | 26 printf("[002] Cannot get full processlist, [%d] %s\n", 36 printf("[003] Processlist is borked, [%d] %s\n", 47 printf("[006] Cannot get wait_timeout, [%d] %s\n", 75 printf("[011] Cannot get database name, [%d] %s\n", 79 printf("[012] Cannot get database name, [%d] %s\n", 84 printf("[013] Connection should has been made to DB/Schema '%s', expecting '%s', [%d] %s\n", 106 printf("[016] Processlist is borked, [%d] %s\n", 110 printf("[017] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 113 printf("[018] Cannot get database name, [%d] %s\n", 117 printf("[019] Cannot get database name, [%d] %s\n", [all …]
|
H A D | mysqli_dump_debug_info_oo.phpt | 17 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 20 printf("[003] Expecting boolean/[true|false] value, got %s/%s, [%d] %s\n",
|
H A D | mysqli_result_unclonable.phpt | 14 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 18 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 24 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_result in %s:%d 27 thrown in %s on line %d
|
H A D | mysqli_stmt_unclonable.phpt | 14 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 18 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 25 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_stmt in %s:%d 28 thrown in %s on line %d
|
H A D | mysqli_errno_oo.phpt | 18 printf("[001] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 21 …f("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 27 printf("[003] Failed to drop old test table: [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[004] Expecting int/any non zero got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | bug70963.phpt | 5 var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";… 6 var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";… 9 …rror: Uncaught TypeError: Cannot assign string to property Exception::$trace of type array in %s:%d 11 #0 %s(%d): unserialize('a:2:{i:0;O:9:"e...') 13 thrown in %s on line %d
|
H A D | serialization_objects_016.phpt | 10 $s=serialize($y); 11 var_dump($s); 12 $x=unserialize($s); 24 string(45) "a:1:{s:1:"y";O:8:"stdClass":1:{s:1:"y";r:2;}}" 32 string(45) "a:1:{s:1:"y";O:8:"stdClass":1:{s:1:"y";r:2;}}"
|
/PHP-8.1/tests/security/ |
H A D | open_basedir_chmod.phpt | 43 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 46 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 49 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 52 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 55 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 58 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 61 …striction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d 64 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_rmdir.phpt | 32 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 35 …sedir restriction in effect. File(.././bad) is not within the allowed path(s): (.) in %s on line %d 38 … restriction in effect. File(../bad/../bad) is not within the allowed path(s): (.) in %s on line %d 41 …dir restriction in effect. File(./.././bad) is not within the allowed path(s): (.) in %s on line %d 44 …ir(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)…
|
/PHP-8.1/ext/openssl/tests/ |
H A D | openssl_get_cert_locations_basic.phpt | 13 string(%d) "%s" 15 string(%d) "%s" 17 string(%d) "%s" 19 string(%d) "%s" 21 string(%d) "%s" 23 string(%d) "%s"
|
/PHP-8.1/ext/spl/tests/ |
H A D | SplFileObject_next_variation001.phpt | 13 $s = new SplFileObject(__FILE__); 15 $s->seek(13); 16 echo $s->current(); 18 $s->next(); 19 echo $s->current(); 20 var_dump($s->valid());
|
H A D | iterator_054.phpt | 63 %s(1) "1" 65 %s(3) "1,2" 67 %s(5) "1,2,3" 69 %s(0) "" 76 %s(6) "FooBar" 78 %s(1) "," 80 %s(2) ",,"
|
/PHP-8.1/ext/standard/ |
H A D | http_fopen_wrapper.c | 109 while ((s = strstr(s, header))) { in check_has_header() 110 if (s == headers || *(s-1) == '\n') { in check_has_header() 113 s++; in check_has_header() 265 while (*s == ' ' || *s == '\t') s++; in php_stream_url_wrap_http_ex() 282 while (*s == '\r' || *s == '\n') s++; in php_stream_url_wrap_http_ex() 289 while (*s == ' ' || *s == '\t') s++; in php_stream_url_wrap_http_ex() 298 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 306 while (*s == '\r' || *s == '\n') s++; in php_stream_url_wrap_http_ex() 493 (s == t || *(s-1) == '\n')) { in php_stream_url_wrap_http_ex() 496 while (s > t && (*(s-1) == ' ' || *(s-1) == '\t')) s--; in php_stream_url_wrap_http_ex() [all …]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 55 printf("[008] Emulated PS, SHOW data seems wrong, dumping %s\n", 80 printf("[012] Native PS (native support: %s), DESCRIBE failed, %s\n", 96 … printf("[014] Native PS (native support: %s), DESCRIBE, returned data seems wrong, dumping %s\n", 101 …printf("[015] Emulated and native PS (native support: %s) results of DESCRIBE differ: %s vs. %s\n", 114 printf("[016] Native PS (native support: %s), SHOW failed, %s\n", 131 printf("[018] Native PS (native support: %s), SHOW data seems wrong, dumping %s\n", 135 …printf("Native PS (native support: %s) and emulated PS returned different data for SHOW: %s vs. %s… 147 printf("[012] Native PS (native support: %s), EXPLAIN failed, %s\n", 160 …printf("Native PS (native support: %s) and emulated PS returned different data for EXPLAIN: %s vs.… 168 …printf("Native PS (native support: %s) and emulated PS returned different data for EXPLAIN: %s vs.… [all …]
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_023.phpt | 12 public static string $s = "x"; 20 var_dump(Foo::$s); 21 var_dump(Foo::$s = Foo::$i++); 22 var_dump(Foo::$s, Foo::$i); 24 var_dump(Foo::$s = $a); 25 var_dump(Foo::$s); 31 var_dump(Foo::$s = ref()); 32 var_dump(Foo::$s);
|
/PHP-8.1/ext/sysvshm/tests/ |
H A D | 006.phpt | 14 $s = shm_attach($key, 1024); 17 shm_put_var($s, 1, "test string"); 22 var_dump(shm_remove_var($s, -10)); 24 var_dump(shm_get_var($s, 1)); 26 var_dump(shm_remove_var($s, 1)); 27 var_dump(shm_get_var($s, 1)); 29 var_dump(shm_remove_var($s, 1)); 30 var_dump(shm_get_var($s, 1)); 32 shm_remove($s);
|
H A D | 002.phpt | 45 var_dump($s = shm_attach($key, 1024)); 46 shm_remove($s); 47 var_dump($s = shm_attach($key, 1024)); 48 shm_remove($s); 49 var_dump($s = shm_attach($key, 1024, 0666)); 50 shm_remove($s); 52 var_dump($s = shm_attach($key, 1024)); 53 shm_remove($s); 54 var_dump($s = shm_attach($key)); 55 shm_remove($s);
|