/PHP-8.0/ext/pdo/tests/ |
H A D | pdo_006.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 22 $stmt = $db->prepare('SELECT val, id from test');
|
/PHP-8.0/Zend/ |
H A D | zend_smart_str.h | 40 #define smart_str_append_long(dest, val) \ argument 41 smart_str_append_long_ex((dest), (val), 0) 42 #define smart_str_append_unsigned(dest, val) \ argument 43 smart_str_append_unsigned_ex((dest), (val), 0)
|
/PHP-8.0/ext/posix/ |
H A D | posix.c | 179 zend_long val; \ 181 Z_PARAM_LONG(val) \ 183 if (func_name(val) < 0) { \ 374 zend_long val; in PHP_FUNCTION() local 377 Z_PARAM_LONG(val) in PHP_FUNCTION() 380 if ((val = getpgid(val)) < 0) { in PHP_FUNCTION() 384 RETURN_LONG(val); in PHP_FUNCTION() 393 zend_long val; in PHP_FUNCTION() local 396 Z_PARAM_LONG(val) in PHP_FUNCTION() 399 if ((val = getsid(val)) < 0) { in PHP_FUNCTION() [all …]
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | firebird_driver.c | 840 zend_bool bval = zval_get_long(val)? 1 : 0; in firebird_handle_set_attribute() 864 H->fetch_table_names = zval_get_long(val)? 1 : 0; in firebird_handle_set_attribute() 869 zend_string *str = zval_try_get_string(val); in firebird_handle_set_attribute() 883 zend_string *str = zval_try_get_string(val); in firebird_handle_set_attribute() 897 zend_string *str = zval_try_get_string(val); in firebird_handle_set_attribute() 936 ZVAL_LONG(val,dbh->auto_commit); in firebird_handle_get_attribute() 940 ZVAL_BOOL(val, !isc_version(&H->db, firebird_info_cb, NULL)); in firebird_handle_get_attribute() 958 ZVAL_STRING(val, tmp); in firebird_handle_get_attribute() 961 ZVAL_NULL(val); in firebird_handle_get_attribute() 971 ZVAL_STRING(val, tmp); in firebird_handle_get_attribute() [all …]
|
/PHP-8.0/tests/lang/ |
H A D | foreachLoop.017.phpt | 6 foreach ($a as $val=>$key) echo $key;
|
H A D | engine_assignExecutionOrder_003.phpt | 62 $val = $arr[0][1]; 63 echo "Expect 15 and get...$val\n";
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli.c | 180 return strcasecmp(((zend_module_entry *)Z_PTR(f->val))->name, in module_name_cmp() 181 ((zend_module_entry *)Z_PTR(s->val))->name); in module_name_cmp() 1226 char *val; in WinMain() local 1228 if ((val = strchr(php_optarg, '='))) { in WinMain() 1229 val++; in WinMain() 1230 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { in WinMain() 1232 memcpy(ini_entries + ini_entries_len, php_optarg, (val - php_optarg)); in WinMain() 1233 ini_entries_len += (val - php_optarg); in WinMain() 1236 memcpy(ini_entries + ini_entries_len, val, len - (val - php_optarg)); in WinMain() 1237 ini_entries_len += len - (val - php_optarg); in WinMain()
|
/PHP-8.0/ext/session/tests/ |
H A D | 024.phpt | 34 function write($key, $val) 36 print "WRITE: $key, $val\n"; 37 $GLOBALS["hnd"]->data = $val;
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_statistics.h | 30 #define MYSQLND_STAT_CALL_TRIGGER(s_array, statistic, val) \ argument 35 (s_array)->triggers[(statistic)]((s_array), (statistic), (val)); \ 41 #define MYSQLND_STAT_CALL_TRIGGER(s_array, statistic, val) argument
|
/PHP-8.0/ext/soap/ |
H A D | php_encoding.c | 1167 Z_TRY_DELREF_P(val); in set_zval_property() 1203 ZVAL_NULL(&val); in model_to_zval_any() 1217 if (Z_TYPE(val) == IS_STRING && *Z_STRVAL(val) == '<') { in model_to_zval_any() 1228 concat_function(&val, &val, &val2); in model_to_zval_any() 1283 zval val; in model_to_zval_object() local 1286 ZVAL_NULL(&val); in model_to_zval_object() 1502 if (val && val->children && val->children->content) { in to_zval_object_ex() 1612 zval *val; in model_to_xml_object() local 1691 zval *val; in model_to_xml_object() local 1866 zval *val; in to_xml_object() local [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | bug62607.phpt | 7 array_walk_recursive($arr, function(&$val){});
|
/PHP-8.0/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 301 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() argument 307 sqlite3_busy_timeout(H->db, zval_get_long(val) * 1000); in pdo_sqlite_set_attr() 310 sqlite3_extended_result_codes(H->db, zval_get_long(val)); in pdo_sqlite_set_attr() 317 zval val; member 356 if (Z_ISUNDEF(agg_context->val)) { in do_callback() 357 ZVAL_NEW_REF(&agg_context->val, &EG(uninitialized_zval)); in do_callback() 359 ZVAL_COPY_VALUE(&zargs[0], &agg_context->val); in do_callback() 433 zval_ptr_dtor(&agg_context->val); in do_callback() 440 zval_ptr_dtor(&agg_context->val); in do_callback() 443 zval_ptr_dtor(Z_REFVAL(agg_context->val)); in do_callback() [all …]
|
/PHP-8.0/ext/json/ |
H A D | json.c | 148 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex() argument 156 return_code = php_json_encode_zval(buf, val, options, &encoder); in php_json_encode_ex() 163 PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode() argument 165 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
|
/PHP-8.0/ext/spl/tests/ |
H A D | heap_it_current_empty.phpt | 10 foreach ($h as $val) { echo 'FAIL'; }
|
/PHP-8.0/Zend/tests/ |
H A D | assign_by_val_function_by_ref_return_value.phpt | 2 Return value of assigning by-val function result by-reference
|
H A D | foreach_unset_globals.phpt | 7 foreach ($arr as $key => $val) {
|
H A D | foreach_undefined.phpt | 6 foreach($a as $val);
|
H A D | magic_by_ref_002.phpt | 7 function __set($name, &$val) { }
|
H A D | magic_by_ref_001.phpt | 7 function __set(&$name, $val) { }
|
H A D | bug33512.phpt | 9 function __set($var, $val) { 10 $this->Var[$var] = $val;
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_wrapper.c | 90 …trace(" PHP Object:%p (name:%s) %s\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val, meth… 562 …COM wrapper for PHP object %p (name:%s)\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val); in disp_destructor() 580 PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export_as_sink(zval *val, GUID *sinkid, in php_com_wrapper_export_as_sink() argument 583 php_dispatchex *disp = disp_constructor(val); in php_com_wrapper_export_as_sink() 616 PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export(zval *val) in php_com_wrapper_export() argument 620 if (Z_TYPE_P(val) != IS_OBJECT) { in php_com_wrapper_export() 624 if (php_com_is_valid_object(val)) { in php_com_wrapper_export() 626 php_com_dotnet_object *obj = CDNO_FETCH(val); in php_com_wrapper_export() 639 disp = disp_constructor(val); in php_com_wrapper_export()
|
/PHP-8.0/ext/dba/ |
H A D | dba_gdbm.c | 99 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 108 php_error_docref2(NULL, key, val, E_WARNING, "%s", gdbm_strerror(gdbm_errno)); in DBA_UPDATE_FUNC() 111 php_error_docref2(NULL, key, val, E_WARNING, "Unknown return value"); in DBA_UPDATE_FUNC()
|
/PHP-8.0/main/ |
H A D | SAPI.h | 150 SAPI_API void sapi_add_request_header(const char *var, unsigned int var_len, char *val, unsigned in… 195 …input_filter(unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, si… 260 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val… 293 …C(input_filter) unsigned int input_filter(int arg, const char *var, char **val, size_t val_len, si…
|
/PHP-8.0/ext/pgsql/tests/ |
H A D | bug72195.phpt | 7 $val = [];
|
/PHP-8.0/ext/opcache/tests/opt/ |
H A D | fe_fetch_001.phpt | 14 foreach ($obj as $val)
|