/php-src/ext/opcache/tests/ |
H A D | bug78015.phpt | 65 $ret = [[]]; 68 $ret = [[ 73 return $ret[0];
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 55 int ret; in fuzzer_execute_ex() local 57 if ((ret = ((opcode_handler_t) EX(opline)->handler)(execute_data)) != 0) { in fuzzer_execute_ex() 58 if (ret > 0) { in fuzzer_execute_ex()
|
/php-src/ext/soap/tests/ |
H A D | typemap011.phpt | 42 $ret = $client->dotest2("???"); 44 $ret = "SoapFault = " . $e->faultcode . " - " . $e->faultstring; 46 var_dump($ret);
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec_select.phpt | 14 $ret = $db->exec($sql); 15 if ($ret !== $exp) { 17 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_loaddata.c | 148 size_t ret; in mysqlnd_handle_local_infile() local 198 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile() 218 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile() 224 if ((ret = net->data->m.send(net, vio, buf, bufsize, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile() 232 if ((ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile()
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_set_charset.phpt | 41 if (false !== ($ret = mysqli_set_charset($link, "this is not a valid character set"))) 42 …[011] Expecting boolean/false because of invalid character set, got %s/%s\n", gettype($ret), $ret); 49 if (true !== ($ret = mysqli_set_charset($link, $new_charset))) 50 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($ret), $ret);
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_list.c | 231 zend_op_array *ret; in phpdbg_compile_file() local 250 ret = PHPDBG_G(compile_file)(file, type); in phpdbg_compile_file() 251 if (ret == NULL) { in phpdbg_compile_file() 253 return ret; in phpdbg_compile_file() 270 zend_hash_del(&PHPDBG_G(file_sources), ret->filename); in phpdbg_compile_file() 271 zend_hash_add_ptr(&PHPDBG_G(file_sources), ret->filename, dataptr); in phpdbg_compile_file() 272 phpdbg_resolve_pending_file_break(ZSTR_VAL(ret->filename)); in phpdbg_compile_file() 274 return ret; in phpdbg_compile_file()
|
/php-src/Zend/ |
H A D | zend_constants.c | 368 zend_result ret; in zend_get_class_constant_ex() local 377 ret = zend_update_class_constant(c, constant_name, c->ce); in zend_get_class_constant_ex() 380 if (UNEXPECTED(ret != SUCCESS)) { in zend_get_class_constant_ex() 538 void *ret; in zend_hash_add_constant() local 542 ret = zend_hash_add_ptr(ht, key, copy); in zend_hash_add_constant() 543 if (!ret) { in zend_hash_add_constant() 546 return ret; in zend_hash_add_constant() 553 zend_result ret = SUCCESS; in zend_register_constant() local 580 ret = FAILURE; in zend_register_constant() 585 return ret; in zend_register_constant()
|
/php-src/ext/ffi/tests/ |
H A D | 200.phpt | 31 $ret = $orig_zend_write($str, $len); 33 return $ret;
|
/php-src/ext/standard/tests/streams/ |
H A D | bug64770.phpt | 42 $ret = proc_close($p); 43 var_dump($ret);
|
H A D | bug60602.phpt | 42 $ret = proc_close($p); 43 var_dump($ret);
|
/php-src/main/streams/ |
H A D | memory.c | 398 int ret; in php_stream_temp_close() local 405 ret = 0; in php_stream_temp_close() 416 return ret; in php_stream_temp_close() 436 int ret; in php_stream_temp_seek() local 444 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek() 448 return ret; in php_stream_temp_seek() 453 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast() argument 466 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast() 474 if (ret == NULL && castas == PHP_STREAM_AS_STDIO) { in php_stream_temp_cast() 479 if (ret == NULL) { in php_stream_temp_cast() [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_persist.c | 90 ULONG ret; in stm_release() local 93 ret = InterlockedDecrement(&stm->refcount); in stm_release() 94 if (ret == 0) { in stm_release() 99 return ret; in stm_release() 139 int ret; in stm_seek() local 157 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek() 160 plibNewPosition->QuadPart = (ULONGLONG)(ret >= 0 ? ret : 0); in stm_seek() 163 return ret >= 0 ? S_OK : STG_E_INVALIDFUNCTION; in stm_seek() 175 int ret = php_stream_truncate_set_size(stm->stream, (size_t)libNewSize.QuadPart); in stm_set_size() local 177 if (ret == 0) { in stm_set_size()
|
/php-src/main/ |
H A D | network.c | 308 int ret = 0; local 357 ret = -1; 361 ret = -1; 375 ret = -1; 380 return ret; 544 ret = SUCCESS; 552 ret = SUCCESS; 589 return ret; 1056 return ret; 1113 ret = FAILURE; [all …]
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 325 int ret; local 330 ret = glob(filename, 0, NULL, &globbuf); 332 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 351 int ret = 0; local 366 ret = 1; 373 return ret;
|
/php-src/ext/session/tests/user_session_module/ |
H A D | session_set_save_handler_type_error2.phpt | 15 …$ret = session_set_save_handler($nullCallback, $validCallback, $validCallback, $validCallback, $va… 21 …$ret = session_set_save_handler($oneCallback, $validCallback, $validCallback, $validCallback, $val…
|
/php-src/ext/standard/tests/file/ |
H A D | bug38450.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 28 return $ret;
|
H A D | bug38450_1.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 28 return $ret;
|
H A D | bug38450_2.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 28 return $ret;
|
/php-src/ext/standard/ |
H A D | file.c | 1003 ssize_t ret; in PHP_FUNCTION() local 1043 int ret; in PHP_FUNCTION() local 1053 if (ret) { in PHP_FUNCTION() 1125 int ret; in php_mkdir_ex() local 1135 return ret; in php_mkdir_ex() 1573 return ret; in php_copy_file_ctx() 1608 return ret; in php_copy_file_ctx() 1620 return ret; in php_copy_file_ctx() 1702 ssize_t ret; in PHP_FUNCTION() local 1764 size_t ret; in php_fputcsv() local [all …]
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_children.c | 43 struct fpm_child_s *ret; in fpm_child_alloc() local 45 ret = malloc(sizeof(struct fpm_child_s)); in fpm_child_alloc() 47 if (!ret) { in fpm_child_alloc() 51 memset(ret, 0, sizeof(*ret)); in fpm_child_alloc() 52 ret->scoreboard_i = -1; in fpm_child_alloc() 53 return ret; in fpm_child_alloc()
|
/php-src/sapi/cli/ |
H A D | php_cli.c | 241 int ret; in sapi_cli_select() local 252 return ret != -1; in sapi_cli_select() 257 ssize_t ret; in sapi_cli_single_write() local 265 ret = write(STDOUT_FILENO, str, str_length); in sapi_cli_single_write() 269 if (ret == 0 && ferror(stdout)) { in sapi_cli_single_write() 273 return ret; in sapi_cli_single_write() 281 ssize_t ret; in sapi_cli_ub_write() local 297 ret = sapi_cli_single_write(ptr, remaining); in sapi_cli_ub_write() 298 if (ret < 0) { in sapi_cli_ub_write() 305 ptr += ret; in sapi_cli_ub_write() [all …]
|
/php-src/ext/posix/ |
H A D | posix.c | 703 size_t filename_len, ret; in PHP_FUNCTION() local 724 ret = access(path, mode); in PHP_FUNCTION() 727 if (ret) { in PHP_FUNCTION() 739 size_t filename_len, ret; in PHP_FUNCTION() local 760 ret = eaccess(path, mode); in PHP_FUNCTION() 763 if (ret) { in PHP_FUNCTION() 1279 zend_long name, ret; in PHP_FUNCTION() local 1296 ret = pathconf(path, name); in PHP_FUNCTION() 1303 RETURN_LONG(ret); in PHP_FUNCTION() 1330 ret = fpathconf(fd, name); in PHP_FUNCTION() [all …]
|
/php-src/ext/standard/tests/file/windows_links/ |
H A D | bug48746_1.phpt | 12 $ret = @exec($cmd, $output, $return_val); 27 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val); 28 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
|
/php-src/sapi/cli/tests/ |
H A D | bug64529.phpt | 13 exec('which expect', $output, $ret); 14 if ($ret) {
|