/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_get_server_version.phpt | 13 if (!is_null($tmp = @mysqli_get_server_version())) 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 16 if (!is_null($tmp = @mysqli_get_server_version(NULL))) 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_connect_twice.phpt | 20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) 21 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 24 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 45 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 46 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 49 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 64 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 70 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 71 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_bind_result_references.phpt | 25 printf("[002] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 62 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 81 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 95 printf("[010] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 110 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 128 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 145 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 166 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 185 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_poll.phpt | 28 if (NULL !== ($tmp = @mysqli_poll())) 29 printf("[002] Expecting NULL got %s\n", var_export($tmp, true)); 32 if (NULL !== ($tmp = @mysqli_poll($l))) 36 if (NULL !== ($tmp = @mysqli_poll($l, $n))) 40 if (NULL !== ($tmp = @mysqli_poll($l, $n, $n))) 44 if (NULL !== ($tmp = @mysqli_poll($l, $e, $r, -1))) 45 printf("[007] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 48 if (NULL !== ($tmp = @mysqli_poll($l, $e, $r, 0, -1))) 49 printf("[008] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 53 printf("[009] Expecting int/0 got %s/%s\n", gettype($tmp), var_export($tmp, true)); [all …]
|
H A D | mysqli_fetch_field.phpt | 13 $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); 31 $tmp = mysqli_fetch_field($res); 32 var_dump($tmp); 35 $tmp = mysqli_fetch_field($res); 36 var_dump($tmp); 45 $tmp->max_length); 47 if ($tmp->db != $db) { 49 $db, $tmp->db); [all …]
|
H A D | mysqli_multi_query.phpt | 18 $tmp = NULL; 21 if (!is_null($tmp = @mysqli_multi_query())) 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] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 48 $tmp = ob_get_contents(); 53 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp)); 55 print trim($tmp) . "\n"; 86 $tmp = ob_get_contents(); 91 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp)); [all …]
|
H A D | mysqli_fetch_row.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_fetch_row())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_fetch_row($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | fseek_dir_basic.phpt | 54 string(9) "file1.tmp" 56 string(9) "file2.tmp" 58 string(9) "file3.tmp" 72 string(9) "file1.tmp" 74 string(9) "file2.tmp" 76 string(9) "file3.tmp" 90 string(9) "file1.tmp" 92 string(9) "file2.tmp" 94 string(9) "file3.tmp"
|
H A D | is_readable_variation1.phpt | 7 $filename = dirname(__FILE__)."/is_readable_root_check.tmp"; 32 $fp = fopen("$file_path/is_readable_variation1/bar.tmp", "w"); 38 "$file_path/is_readable_variation1/bar.tmp", 41 "$file_path/is_readable_variation1/bar.tmp/", 44 "$file_path/is_readable_variation1//bar.tmp", 45 "$file_path//is_readable_variation1//bar.tmp", 46 "$file_path/is_readable_variation1/*.tmp", 47 "$file_path/is_readable_variation1/b*.tmp", 50 "$file_path/is_readable_variation1".chr(0)."bar.tmp", 51 "$file_path".chr(0)."is_readable_variation1/bar.tmp", [all …]
|
H A D | is_file_error.phpt | 15 $file_handle = fopen($file_path."/is_file_error.tmp", "w"); 16 var_dump( is_file( $file_path."/is_file_error.tmp", $file_path."/is_file_error1.tmp") ); 19 var_dump( is_file($file_path."/is_file_error1.tmp") ); 32 if(file_exists($file_path."/is_file_error.tmp")) { 33 unlink($file_path."/is_file_error.tmp"); 35 if(file_exists($file_path."/is_file_error1.tmp")) { 36 unlink($file_path."/is_file_error1.tmp");
|
H A D | is_writable_variation1.phpt | 8 $filename = dirname(__FILE__)."/is_writable_root_check.tmp"; 34 $fp = fopen("$file_path/is_writable_variation1/bar.tmp", "w"); 40 "$file_path/is_writable_variation1/bar.tmp", 43 "$file_path/is_writable_variation1/bar.tmp/", 46 "$file_path/is_writable_variation1//bar.tmp", 47 "$file_path//is_writable_variation1//bar.tmp", 48 "$file_path/is_writable_variation1/*.tmp", 49 "$file_path/is_writable_variation1/b*.tmp", 52 "$file_path/is_writable_variation1".chr(0)."bar.tmp", 53 "$file_path".chr(0)."is_writable_variation1/bar.tmp", [all …]
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_drop_db.phpt | 13 $tmp = NULL; 18 if (NULL !== ($tmp = mysql_drop_db())) 19 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 28 if (true !== ($tmp = mysql_drop_db('mysqldropdb', $link))) 30 gettype($tmp), $tmp, 33 if (false !== ($tmp = mysql_drop_db('mysqldropdb', $link))) 35 gettype($tmp), $tmp,
|
H A D | mysql_client_encoding.phpt | 12 $tmp = NULL; 27 $tmp = mysql_fetch_assoc($res); 29 $version = explode('.', $tmp['server_version']); 38 $tmp = mysql_fetch_assoc($res); 40 if (!$tmp['charset']) 43 if ($link_enc !== $tmp['charset']) { 44 if ($link_enc === $tmp['collation']) { 49 var_dump($tmp); 64 if (false !== ($tmp = @mysql_client_encoding($link))) 65 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_get_proto_info.phpt | 12 if (NULL !== ($tmp = @mysql_get_proto_info(NULL))) 13 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (NULL !== ($tmp = @mysql_get_proto_info('too many', 'arguments'))) 25 printf("[005] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_fetch_lengths.phpt | 12 $tmp = NULL; 15 if (!is_null($tmp = @mysql_fetch_lengths())) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 18 if (NULL !== ($tmp = @mysql_fetch_lengths($link))) 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_fetch_row.phpt | 12 $tmp = NULL; 15 if (!is_null($tmp = @mysql_fetch_row())) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 18 if (NULL !== ($tmp = @mysql_fetch_row($link))) 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_thread_id.phpt | 12 $tmp = NULL; 15 if (!is_null($tmp = @mysql_thread_id($link))) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 if (false !== ($tmp = mysql_thread_id($link))) 33 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_db_query.phpt | 15 $tmp = NULL; 18 if (NULL !== ($tmp = @mysql_db_query())) 19 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (NULL !== ($tmp = @mysql_db_query($link))) 22 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (NULL !== ($tmp = @mysql_db_query($link))) 25 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_errno.phpt | 12 $tmp = NULL; 15 if (false !== ($tmp = @mysql_errno())) 16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 18 if (null !== ($tmp = @mysql_errno($link))) 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (!is_null($tmp = @mysql_errno($link, 'too many args'))) 22 printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_list_dbs.phpt | 12 $tmp = NULL; 15 if (NULL !== ($tmp = @mysql_list_dbs(NULL))) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 18 if (NULL !== ($tmp = @mysql_list_dbs($link, $link))) 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_ping.phpt | 12 $tmp = NULL; 17 if (!is_null($tmp = @mysql_ping($link, $link))) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 if (false !== ($tmp = mysql_ping($link))) 36 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-5.3/ext/soap/ |
H A D | soap.c | 172 zval **tmp; \ 1099 zval **tmp; in soap_create_typemap() local 1243 zval **tmp; in PHP_METHOD() local 2809 zval **tmp; local 3003 zval **tmp; local 3030 zval **tmp; local 3191 zval **tmp; local 3209 zval **tmp; local 3227 zval **tmp; local 3245 zval **tmp; local [all …]
|
/PHP-5.3/Zend/ |
H A D | zend_API.c | 1071 zval *tmp; in _object_and_properties_init() local 1119 zval *tmp; in add_assoc_long_ex() local 1130 zval *tmp; in add_assoc_null_ex() local 1141 zval *tmp; in add_assoc_bool_ex() local 1152 zval *tmp; in add_assoc_resource_ex() local 1163 zval *tmp; in add_assoc_double_ex() local 1174 zval *tmp; in add_assoc_string_ex() local 1185 zval *tmp; in add_assoc_stringl_ex() local 1202 zval *tmp; in add_index_long() local 1213 zval *tmp; in add_index_null() local [all …]
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_commit.phpt | 19 if (true !== ($tmp = $db->beginTransaction())) { 20 printf("[001] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 26 if (true !== ($tmp = $db->commit())) { 33 if (1 !== ($tmp = $db->getAttribute(PDO::ATTR_AUTOCOMMIT))) 35 gettype($tmp), var_export($tmp, true)); 37 if (true !== ($tmp = $db->beginTransaction())) 38 printf("[004] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 42 if (true !== ($tmp = $db->commit())) 59 if (true !== ($tmp = $db->beginTransaction())) 60 printf("[007] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | pdo_mysql_pconnect.phpt | 23 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 24 if ($tmp['_pers'] !== '1') 28 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 29 $con1 = $tmp['_con1']; 32 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 33 $con2 = $tmp['_con2']; 41 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 42 $con1 = $tmp['_con1']; 58 if (!strstr($tmp, '2006')) 65 $con1 = $tmp['_con1']; [all …]
|