/PHP-7.4/Zend/tests/ |
H A D | or_001.phpt | 6 $s = "323423"; 9 var_dump($s | $s1); 10 var_dump($s1 | $s); 12 $s = "some"; 15 var_dump($s | $s1); 17 $s = "some"; 18 $s |= "test"; 20 var_dump($s);
|
H A D | bug39018.phpt | 65 Notice: String offset cast occurred in %s on line %d 67 Notice: Uninitialized string offset: %s in %s on line 6 69 Notice: Uninitialized string offset: 0 in %s on line %d 71 Notice: Uninitialized string offset: 0 in %s on line %d 73 Notice: String offset cast occurred in %s on line %d 77 Notice: String offset cast occurred in %s on line %d 81 Notice: Uninitialized string offset: 0 in %s on line %d 93 Notice: String offset cast occurred in %s on line %d 97 Notice: String offset cast occurred in %s on line %d 101 Notice: String offset cast occurred in %s on line %d [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplFileObject_rewind_variation001.phpt | 13 $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();
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | 00version.phpt | 23 string(%d) "%s" 27 string(%d) "%s" 29 string(%d) "%s" 31 string(%d) "%s" 33 string(%d) "%s" 35 string(%d) "%s" 37 string(%d) "%s" 39 string(%d) %s 41 string(%d) "%s" 43 string(%d) "%s" [all …]
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp1252.c | 85 int s=-1, n; in mbfl_filt_conv_wchar_cp1252() local 89 s = -1; in mbfl_filt_conv_wchar_cp1252() 93 s = 0x80 + n; in mbfl_filt_conv_wchar_cp1252() 100 s = c & MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_cp1252() 104 s = c; in mbfl_filt_conv_wchar_cp1252() 106 if (s >= 0) { in mbfl_filt_conv_wchar_cp1252() 107 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp1252() 119 int s; in mbfl_filt_conv_cp1252_wchar() local 122 s = cp1252_ucs_table[c - 0x80]; in mbfl_filt_conv_cp1252_wchar() 124 s = c; in mbfl_filt_conv_cp1252_wchar() [all …]
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_close_oo.phpt | 17 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting false got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
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("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting boolean/[true|false] value, got %s/%s, [%d] %s\n", 30 printf("[004] Expecting false, got %s/%s, [%d] %s\n", 37 Warning: mysqli::dump_debug_info(): Couldn't fetch mysqli in %s on line %d
|
H A D | mysqli_error.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 29 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li… 32 …printf("[005] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 38 …printf("[006] Expecting string/[Table... doesn't exit], got %s/%s. [%d] %s\n", gettype($tmp), $tmp… 47 Warning: mysqli_error(): Couldn't fetch mysqli in %s on line %d
|
H A D | mysqli_stmt_attr_get.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 48 … printf("[006] Expecting any type, but not boolean/false, got %s/%s for attribute %s/%s\n", 57 printf("[007] Expecting false, got %s/%s for attribute %s/%s\n",
|
H A D | mysqli_fetch_field_direct_oo.phpt | 2 $res->fetch_field_direct(s) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 …f("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 28 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 67 string(%d) "%s" 71 string(%d) "%s" [all …]
|
H A D | mysqli_pconn_twice.phpt | 20 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 24 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 30 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 38 …f("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 43 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 49 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 57 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 60 …f("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 64 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_rollback.phpt | 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 65 printf("[014] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_commit.phpt | 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 …f("[004] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 37 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 56 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_commit_oo.phpt | 25 printf("[013] Expecting false got %s/%s\n", gettype($tmp), $tmp); 29 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 34 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 38 … printf("[003] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 50 printf("[006] [%d] %s\n", $mysqli->errno, $mysqli->error); 55 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error); 62 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error); 72 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error); [all …]
|
H A D | mysqli_begin_transaction.phpt | 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 …f("[004] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 37 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 52 printf("[010] Cannot turn on autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 56 …printf("[011] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_connect.phpt | 24 printf("[001] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 28 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 33 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 38 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 43 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 48 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 53 printf("[007] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 57 …f("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 63 …"[009] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 67 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($link), $link); [all …]
|
H A D | mysqli_get_warnings.phpt | 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno); 66 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 82 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 97 printf("[024] Expecting object/mysqli_warning, got %s/%s", gettype($warning), $warning); 111 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 114 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
/PHP-7.4/ext/odbc/tests/ |
H A D | odbc_exec_001.phpt | 31 Warning: odbc_exec() expects parameter 3 to be int, string given in %s on line %d 33 Warning: odbc_exec(): SQL error: %s in %s on line %d 35 Warning: odbc_exec() expects parameter 3 to be int, string given in %s on line %d 37 Warning: odbc_exec(): SQL error: %s in %s on line %d 39 Warning: odbc_exec(): SQL error: %s in %s on line %d 41 Warning: odbc_exec(): SQL error: %s in %s on line %d 43 Warning: odbc_exec(): SQL error: %s in %s on line %d 45 Warning: odbc_exec(): SQL error: %s in %s on line %d
|
/PHP-7.4/ext/oci8/tests/ |
H A D | commit_002.phpt | 27 $s = oci_parse($c, "insert into commit_002_tab values (-1, 1)"); 28 $r = @oci_execute($s, OCI_DEFAULT); 30 $m = oci_error($s); 41 $s = oci_parse($c, "insert into commit_002_tab values (1, -1)"); 42 $r = @oci_execute($s, OCI_NO_AUTO_COMMIT); 44 $m = oci_error($s); 67 Could not execute: ORA-02290: %s (%s.COMMIT_002_TAB_CHECK_X) %s 70 Warning: oci_commit(): ORA-02091: %s 71 ORA-02290: %s (%s.COMMIT_002_TAB_CHECK_Y) %s in %scommit_002.php on line %d 72 Could not commit: ORA-02091: %s [all …]
|
/PHP-7.4/tests/security/ |
H A D | open_basedir_error_log_variation.phpt | 33 …: 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
|
H A D | open_basedir_link.phpt | 49 …: 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): (.)…
|
/PHP-7.4/ext/standard/tests/dir/ |
H A D | scandir_variation6.phpt | 55 Warning: scandir(%s/scandir_var*): failed to open dir: %s in %s on line %d 57 Warning: scandir(): (errno %d): %s in %s on line %d 60 Warning: scandir(%s/*): failed to open dir: %s in %s on line %d 62 Warning: scandir(): (errno %d): %s in %s on line %d 67 Warning: scandir(%s/scandir_variation6/sub_dir?): failed to open dir: %s in %s on line %d 69 Warning: scandir(): (errno %d): %s in %s on line %d 72 Warning: scandir(%s/scandir_variation6/sub?dir1): failed to open dir: %s in %s on line %d 74 Warning: scandir(): (errno %d): %s in %s on line %d
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | vsprintf_variation7.phpt | 36 "%s", 37 "%+s %-s %S", 38 "%ls %Ls, %4s %-4s", 39 "%10.4s %-10.4s %04s %04.4s", 40 "%'#2s %'2s %'$2s %'_2s", 41 "%% %%s %10 s%", 42 '%3$s %4$s %1$s %2$s' 79 string(19) "@#$%&* s, UF " 90 string(6) "% %s s"
|
H A D | vprintf_variation7.phpt | 36 "%s", 37 "%+s %-s %S", 38 "%ls %Ls, %4s %-4s", 39 "%10.4s %-10.4s %04s %04.4s", 40 "%'#2s %'2s %'$2s %'_2s", 41 "%% %%s %10 s%", 42 '%3$s %4$s %1$s %2$s' 83 @#$%&* s, UF 97 % %s s
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 26 printf("[003] Cannot bind integer column, %s %s\n", 30 printf("[004] Cannot bind string column, %s %s\n", 35 printf("id = %s (%s) / label = %s (%s)\n", 45 printf("[005] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 50 … printf("[006] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", 66 printf("[008] Cannot bind integer column, %s %s\n", 70 printf("[009] Cannot bind string column, %s %s\n", 75 printf("id = %s (%s) / label = %s (%s)\n", 85 printf("[010] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 90 … printf("[011] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", [all …]
|