/php-src/ext/standard/tests/strings/ |
H A D | htmlentities-utf-3.phpt | 39 function concordance($s) { 41 $v = is_valid($s); 47 $s = chr($b1).chr($b2); 48 if (!concordance($s)) 56 $s = chr($b1).chr($b2)."\x80"; 57 if (!concordance($s)) 60 if (!concordance($s)) 68 if (!concordance($s)) 71 if (!concordance($s)) 74 if (!concordance($s)) [all …]
|
/php-src/main/ |
H A D | snprintf.c | 64 char *s = NULL; in __cvt() local 84 return(s); in __cvt() 117 return(s); in __cvt() 274 char *s = buf; in php_conv_fp() local 325 *s++ = *p++; in php_conv_fp() 327 *s++ = '.'; in php_conv_fp() 335 *s++ = *p++; in php_conv_fp() 356 *s++ = '+'; in php_conv_fp() 357 *s++ = '0'; in php_conv_fp() 1044 s++; in format_converter() [all …]
|
/php-src/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);
|
/php-src/tests/security/ |
H A D | open_basedir_file_put_contents.phpt | 32 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 34 Warning: file_put_contents(../bad/bad.txt): Failed to open stream: %s in %s on line %d 37 …striction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 39 Warning: file_put_contents(.././bad/bad.txt): Failed to open stream: %s in %s on line %d 42 …tion in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 44 Warning: file_put_contents(../bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d 47 …riction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 49 Warning: file_put_contents(./.././bad/bad.txt): Failed to open stream: %s in %s on line %d 52 …): open_basedir restriction in effect. File%s/test/bad/bad.txt) is not within the allowed path(s):… 54 Warning: file_put_contents%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
|
H A D | open_basedir_file_exists.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_fileatime.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_fileowner.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_fileperms.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_filetype.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_is_dir.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_is_readable.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_is_writable.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_stat.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_filectime.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_filegroup.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_fileinode.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_filemtime.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_filesize.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_is_file.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_is_link.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_lstat.phpt | 23 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 26 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 29 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 32 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 35 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 38 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 41 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 44 …pen_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path… 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
/php-src/ext/ftp/tests/ |
H A D | server.inc | 51 $s = stream_socket_accept($socket); 56 fclose($s); 61 $buf = fread($s, 2048); 90 fputs($s, "200 OK\r\n"); 91 $buf = fread($s, 2048); 98 fputs($s, "200 OK\r\n"); 100 $buf = fread($s, 2048); 142 while($buf = fread($s, 4098)) { 148 fputs($s, " USER\r\n"); 149 fputs($s, " HELP\r\n"); [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_stmt_execute_stored_proc_next_result.phpt | 20 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 25 printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 33 if (!mysqli_stmt_bind_param($stmt, 's', $version)) 45 printf("[009] Results seem wrong, got %s, [%d] %s\n", 58 printf("[013] [%d] %s\n", $link->errno, $link->error); 65 printf("[014] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 73 if (!mysqli_stmt_bind_param($stmt, 's', $version)) 85 printf("[019] Results seem wrong, got %s, [%d] %s\n", 90 printf("[020] [%d] %s\n", $link->errno, $link->error); 98 printf("[022] Results seem wrong, got %s, [%d] %s\n", [all …]
|
H A D | mysqli_report_new.phpt | 10 …tf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 31 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 43 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s…
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_begintransaction.phpt | 23 printf("[002] Cannot start a transaction, [%s] [%s]\n", 39 printf("[005] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 45 printf("[006] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 51 printf("[008] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 57 printf("[010] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 62 printf("[011] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 67 printf("[012] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 73 printf("[013] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo())); 155 printf("[031] Cannot start a transaction, [%s] [%s]\n", 168 printf("[035] Cannot start a transaction, [%s] [%s]\n", [all …]
|