/PHP-5.5/tests/security/ |
H A D | open_basedir_copy.phpt | 36 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 38 Warning: copy(../bad): failed to open stream: %s in %s on line %d 43 Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d 46 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 48 Warning: copy(..): failed to open stream: %s in %s on line %d 53 Warning: copy(../): failed to open stream: %s in %s on line %d 56 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 58 Warning: copy(/): failed to open stream: %s in %s on line %d 63 Warning: copy(../bad/.): failed to open stream: %s in %s on line %d 68 Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d [all …]
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | reflection_tools.inc | 6 printf("\nInspecting class '%s'\n", $class->getName()); 7 printf("isInternal: %s\n", ($class->isInternal()) ? 'yes' : 'no'); 12 printf("isFinal: %s\n", ($class->isFinal()) ? 'yes' : 'no'); 15 printf("Parent Class: '%s'\n", $class->getParentClass()); 16 printf("Extension: '%s'\n", $class->getExtensionName()); 44 printf("Default property '%s'\n", $name); 50 printf("Static property '%s'\n", $name); 56 printf("Constant '%s' = '%s'\n", $name, $value); 63 printf("\nInspecting property '%s'\n", $prop->getName()); 76 printf("\nInspecting method '%s'\n", $method->getName()); [all …]
|
H A D | mysqli_stmt_get_result_seek.phpt | 26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 71 printf("[013] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 82 printf("[016] Expecting id = %d for pos %d got %s/%s\n", 93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp); 101 printf("[017] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 104 printf("[018] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 109 printf("[019] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_connect_errno.phpt | 18 printf("[001] Expecting integer/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… 25 printf("[003] Expecting integer/0, got %s/%s\n", gettype($tmp), $tmp); 31 …er should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s, expecti… 35 printf("[005] Expecting integer/any non-zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_real_escape_string_unicode.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); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 40 printf("[008] Expecting \\r, got %s\n", $tmp); 43 printf("[009] Expecting %s, got %s\n", "иху\\0аху", $tmp); 48 printf("[010] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp)); 58 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 67 printf("[016] Expecting %s, got %s\n", "竺可桢\\0空调器", $tmp); 72 printf("[017] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp)); [all …]
|
H A D | mysqli_change_user_oo.phpt | 22 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 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 false, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 48 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 62 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_field_count.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); 26 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 90 in %s on line %d [all …]
|
H A D | mysqli_stmt_result_metadata.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); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[007] Expecting int/2, got %s/%s, [%d] %s\n", 41 printf("[008] Expecting object, got %s/%s, [%d] %s\n", 45 printf("[009] Expecting object, got %s/%s, [%d] %s\n", 57 printf("[011] Expecting array, got %s/%s, [%d] %s\n", 69 printf("[014] Expecting object, got %s/%s, [%d] %s\n", 79 printf("[016] Expecting int/1, got %s/%s, [%d] %s\n", [all …]
|
H A D | mysqli_character_set_name.phpt | 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 …f("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 31 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 42 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 51 …bugs.mysql.com/bug.php?id=7923, collation %s instead of character set returned, expected string/%s… 54 …printf("[011] Expecting character set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset… 60 …printf("[012] Alias mysqli_character_set_name returned %s/%s, expected %s/%s\n", gettype($charset… 66 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_data_seek.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); 25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_store_result.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); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 32 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[009] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 49 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 68 printf("[015] unbuffered '%s'/%s, buffered '%s'/%s\n", 71 printf("[016] unbuffered '%s'/%s, buffered '%s'/%s\n", [all …]
|
H A D | mysqli_stmt_affected_rows.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("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_pconn_conn_multiple.phpt | 20 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 30 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 45 …f("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 55 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 70 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 73 …f("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 77 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 82 …f("[016] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 107 …f("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 132 printf("[028] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_bind_param.phpt | 26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[003a] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']); 147 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s' (%s), got '%s'/'%s'\n", 154 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s', got '%s'/'%s'\n", 335 printf("[2005] Expecting boolean/true got %s/%s, [%d] %s\n", [all …]
|
H A D | mysqli_data_seek.phpt | 17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 37 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']); 44 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_free_result.phpt | 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug70121.phpt | 5 …s:4:"days";O:9:"Exception":7:{s:10:"'."\0".'*'."\0".'message";s:1:"x";s:17:"'."\0".'Exception'."\0…
|
H A D | and_001.phpt | 6 $s = "123"; 9 var_dump($s & $s1); 11 $s = "test"; 14 var_dump($s & $s1); 16 $s = "test long"; 19 var_dump($s & $s1); 21 $s = "test"; 24 var_dump($s & $s1); 26 $s = "test"; 27 $s &= "some long"; [all …]
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | phpinfo.phpt | 19 PHP Version => %s 21 System => %s 22 Build Date => %s%a 23 Configure Command => %s 34 PHP Extension Build => API%s 35 Debug Build => %s 36 Thread Safety => %s 37 Zend Signal Handling => %s 38 Zend Memory Manager => %s 40 IPv6 Support => %s [all …]
|
/PHP-5.5/ext/phar/ |
H A D | makestub.php | 4 $s .= "\nExtract_Phar::go();\n__HALT_COMPILER();"; 6 foreach (token_get_all($s) as $token) { 20 $s = $news . ' ?>'; variable 21 $slen = strlen($s) - strlen('index.php') - strlen("000"); 22 $s = str_replace('\\', '\\\\', $s); variable 23 $s = str_replace('"', '\\"', $s); variable 24 $s = str_replace("\n", '\n', $s); variable 26 $webs = substr($s, 0, strpos($s, "000")); 27 $s = substr($s, strlen($webs) + strlen("000")); variable 28 $s1 = substr($s, 0, strpos($s, 'index.php')); [all …]
|
/PHP-5.5/ext/sysvshm/tests/ |
H A D | 005.phpt | 9 $s = shm_attach($key, 1024); 14 shm_put_var($s, 2, false); 15 shm_put_var($s, 3, null); 26 var_dump(shm_get_var($s, 0)); 27 var_dump(shm_get_var($s, 1)); 28 var_dump(shm_get_var($s, 2)); 29 var_dump(shm_get_var($s, 3)); 31 shm_put_var($s, 3, "test"); 32 shm_put_var($s, 3, 1); 33 shm_put_var($s, 3, null); [all …]
|
/PHP-5.5/ext/oci8/tests/ |
H A D | reflection2.phpt | 30 Method [ <internal%s> public method load ] { 36 Method [ <internal%s> public method tell ] { 49 Method [ <internal%s> public method erase ] { 57 Method [ <internal%s> public method flush ] { 83 Method [ <internal%s> public method read ] { 90 Method [ <internal%s> public method eof ] { 96 Method [ <internal%s> public method seek ] { 104 Method [ <internal%s> public method write ] { 119 Method [ <internal%s> public method size ] { 187 Class [ <internal%s> class OCI-Collection ] { [all …]
|
H A D | bind_misccoltypes.phpt | 50 oci_execute($s); 122 oci_execute($s); 165 oci_execute($s); 192 oci_execute($s); 202 oci_execute($s); 212 oci_execute($s); 221 oci_execute($s); 231 oci_execute($s); 240 oci_execute($s); 249 oci_execute($s); [all …]
|
/PHP-5.5/ext/curl/tests/ |
H A D | curl_file_serialize.phpt | 11 $data = 'a:2:{s:4:"file";O:8:"CURLFile":3:{s:4:"name";s:13:"testdata1.txt";s:4:"mime";s:0:"";s:8:"p… 15 …ght exception 'Exception' with message 'Unserialization of CURLFile instances is not allowed' in %s 18 #1 %s 20 thrown in %s on line %d
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_create_db.phpt | 17 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 23 …"[003] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 27 …die(sprintf("[004] Cannot create database, aborting test, [%d] %s\n", mysql_errno($link), mysql_er… 30 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link)); 33 …printf("[006] Expecting boolean/true, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($lin… 36 …printf("[007] Expecting boolean/false, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($li… 39 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link)); 47 …("[c001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 51 printf("[c002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|