/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_info.phpt | 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp)) 27 printf("[004] Expecting null, got %s/%s\n", gettype($tmp), $tmp); 32 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 38 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 44 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 50 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 56 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp)) 57 printf("[014] Expecting null, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_query_unicode.phpt | 19 $tmp = NULL; 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[002.5] Expecting TRUE, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 62 if (!is_array($tmp) || empty($tmp) || !isset($tmp['п_версия']) || ('' == $tmp['п_версия'])) { 64 var_dump($tmp); 77 if (!is_array($tmp) || empty($tmp) || !isset($tmp['ф_версия']) || ('' == $tmp['ф_версия'])) { 79 var_dump($tmp); [all …]
|
H A D | mysqli_change_user.phpt | 13 $tmp = NULL; 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); 26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 74 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user_old.phpt | 20 $tmp = NULL; 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 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 70 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows_oo.phpt | 15 printf("[000a] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 77 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_data_seek.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_data_seek())) 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 false, 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); [all …]
|
H A D | mysqli_stmt_fetch.phpt | 18 $tmp = NULL; 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 40 if ((NULL !== ($tmp = mysqli_stmt_fetch($stmt))) && (false !== $tmp)) 47 printf("[008] NULL, got %s/%s\n", gettype($tmp), $tmp); 62 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 72 printf("[015] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 77 printf("[016] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_prepare_no_object.phpt | 13 if (false !== ($tmp = mysqli_prepare($link, false))) 14 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : … 17 if (false !== ($tmp = mysqli_prepare($link, ''))) 18 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : … 27 if (false !== ($tmp = $mysqli->prepare(false))) 28 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : … 31 if (false !== ($tmp = $mysqli->prepare(''))) 32 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
|
H A D | mysqli_stmt_sqlstate.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_sqlstate())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_stmt_sqlstate($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 if (false !== ($tmp = mysqli_stmt_sqlstate($stmt))) 31 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 38 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 43 if ('' === ($tmp = mysqli_stmt_sqlstate($stmt))) [all …]
|
H A D | mysqli_savepoint.phpt | 20 $tmp = NULL; 23 if (!is_null($tmp = @mysqli_savepoint())) 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 50 printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 59 $tmp = mysqli_rollback($link); 60 if ($tmp !== true) [all …]
|
H A D | mysqli_release_savepoint.phpt | 20 $tmp = NULL; 23 if (!is_null($tmp = @mysqli_release_savepoint())) 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 50 printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 59 $tmp = mysqli_commit($link); 60 if ($tmp !== true) [all …]
|
H A D | mysqli_stmt_result_metadata.phpt | 13 $tmp = NULL; 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 false, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 38 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 58 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 60 if (empty($tmp[0]) || empty($tmp[1]) || $tmp[0] != $field0_direct) { 62 var_dump($tmp); 75 var_dump($tmp); [all …]
|
H A D | mysqli_close_oo.phpt | 13 $tmp = NULL; 20 if (!is_null($tmp = @$mysqli->close($link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 $tmp = $mysqli->close(); 24 if (true !== $tmp) 25 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 27 if (false !== ($tmp = @$mysqli->close())) 28 printf("[004] Expecting false got %s/%s\n", gettype($tmp), $tmp); 30 if (false !== ($tmp = @$mysqli->query("SELECT 1"))) 31 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_prepare.phpt | 19 $tmp = NULL; 22 if (!is_null($tmp = @mysqli_stmt_prepare())) 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 if (!is_null($tmp = @mysqli_stmt_prepare($link))) 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if (NULL !== ($tmp = @mysqli_stmt_prepare($stmt))) 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 if (false !== ($tmp = mysqli_stmt_prepare($stmt, ''))) 37 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_character_set_name.phpt | 14 $tmp = NULL; 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); 32 $tmp = mysqli_fetch_assoc($res); 43 $tmp = mysqli_fetch_assoc($res); 45 if (!$tmp['charset']) 49 if ($tmp['charset'] !== $charset) { 52 $tmp['collation'], $tmp['charset'], gettype($charset), $charset); 66 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_thread_id.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_thread_id())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_thread_id($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (!is_int($tmp = mysqli_thread_id($link)) || (0 === $tmp)) 26 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 33 if (false !== ($tmp = mysqli_thread_id($link))) 34 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_error.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_error())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_error($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 $tmp = mysqli_error($link); 28 if (!is_string($tmp) || ('' !== $tmp)) 29 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li… 36 $tmp = mysqli_error($link); 37 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp)) [all …]
|
H A D | mysqli_explain_metadata.phpt | 38 $num_rows, gettype($tmp), $tmp); 42 $num_fields, gettype($tmp), $tmp); 47 $num_fields, gettype($tmp), $tmp); 77 $num_rows, gettype($tmp), $tmp); 81 $num_fields, gettype($tmp), $tmp); 85 $num_fields, gettype($tmp), $tmp); 89 $num_fields, gettype($tmp), $tmp); 94 $num_fields, gettype($tmp), $tmp); 111 $num_rows, gettype($tmp), $tmp); 118 $num_fields, gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_execute.phpt | 19 $tmp = NULL; 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 49 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 56 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 80 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 91 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 95 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); [all …]
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug46426.phpt | 6 $tmp = tmpfile(); 8 fwrite($tmp, "12345"); 10 echo stream_get_contents($tmp, 2, 1); 12 echo stream_get_contents($tmp, -1); 14 echo stream_get_contents($tmp, -1, 0); 16 echo stream_get_contents($tmp, -1, 2); 18 echo stream_get_contents($tmp, 0, 0); 20 echo stream_get_contents($tmp, 1, 0); 22 echo stream_get_contents($tmp, -1); 24 @unlink($tmp);
|
H A D | bug48309.phpt | 6 $tmp = tmpfile(); 7 fwrite($tmp, 'test'); 8 fseek($tmp, 0, SEEK_SET); 12 fseek($tmp, 0, SEEK_SET); 13 stream_copy_to_stream($tmp, STDOUT, 2); 16 var_dump(stream_get_contents($tmp)); 20 fseek($tmp, 0, SEEK_SET); 21 fpassthru($tmp); 24 var_dump(stream_get_contents($tmp));
|
/PHP-7.3/tests/lang/ |
H A D | bug21600.phpt | 7 $tmp = array(); 8 $tmp['foo'] = "test"; 9 $tmp['foo'] = &bar($tmp['foo']); 10 var_dump($tmp); 12 unset($tmp); 14 $tmp = array(); 15 $tmp['foo'] = "test"; 16 $tmp['foo'] = &fubar($tmp['foo']); 17 var_dump($tmp);
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | unlink_variation10.phpt | 21 $workDir = "unlinkVar8.tmp"; 22 $tmpDir = "subDir.tmp"; 86 -- unlinking soft link unlinkVar8.tmp/subDir.tmp -- 88 -- unlinking soft link ./unlinkVar8.tmp/subDir.tmp -- 90 -- unlinking soft link unlinkVar8.tmp/../unlinkVar8.tmp/subDir.tmp -- 92 -- unlinking soft link /%s/unlinkVar8.tmp/subDir.tmp -- 94 -- unlinking soft link /%s/./unlinkVar8.tmp/subDir.tmp -- 96 -- unlinking soft link /%s/unlinkVar8.tmp/../unlinkVar8.tmp/subDir.tmp -- 98 -- unlinking soft link unlinkVar8.tmp//subDir.tmp -- 100 -- unlinking soft link /%s//unlinkVar8.tmp//subDir.tmp -- [all …]
|
/PHP-7.3/ext/soap/ |
H A D | php_packet_soap.c | 189 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 194 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 201 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 213 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 214 tmp = get_node(tmp->children, "Value"); in parse_packet_soap() 215 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 221 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 223 tmp = get_node(tmp->children,"Text"); in parse_packet_soap() 224 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 262 zval tmp; in parse_packet_soap() local [all …]
|
/PHP-7.3/main/ |
H A D | reentrancy.c | 169 if (tmp) { in php_localtime_r() 176 return tmp; in php_localtime_r() 185 char *tmp; in php_ctime_r() local 190 if (tmp) { in php_ctime_r() 192 tmp = buf; in php_ctime_r() 197 return tmp; in php_ctime_r() 206 char *tmp; in php_asctime_r() local 211 if (tmp) { in php_asctime_r() 213 tmp = buf; in php_asctime_r() 218 return tmp; in php_asctime_r() [all …]
|