Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 800) sorted by path

12345678910>>...32

/PHP-7.4/
H A DREADME.md107 ticket at [bugs.php.net](https://bugs.php.net) and reference the bug id using
H A DUPGRADING198 public int $id;
202 This will enforce that $user->id can only be assigned integers and
/PHP-7.4/TSRM/
H A DTSRM.c436 TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id) in ts_resource_ex() argument
451 …TSRM_ERROR((TSRM_ERROR_LEVEL_INFO, "Fetching resource id %d for current thread %d", id, (long) thr… in ts_resource_ex()
456 TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id, thread_resources->count); in ts_resource_ex()
463 …TSRM_ERROR((TSRM_ERROR_LEVEL_INFO, "Fetching resource id %d for thread %ld", id, (long) thread_id)… in ts_resource_ex()
471 return ts_resource_ex(id, &thread_id); in ts_resource_ex()
481 return ts_resource_ex(id, &thread_id); in ts_resource_ex()
494 TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id, thread_resources->count); in ts_resource_ex()
605 void ts_free_id(ts_rsrc_id id) in ts_free_id() argument
608 int j = TSRM_UNSHUFFLE_RSRC_ID(id); in ts_free_id()
612 TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Freeing resource id %d", id)); in ts_free_id()
[all …]
H A DTSRM.h109 TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id);
110 #define ts_resource(id) ts_resource_ex(id, NULL) argument
116 TSRM_API void ts_free_id(ts_rsrc_id id);
168 #define TSRMG(id, type, element) (TSRMG_BULK(id, type)->element) argument
169 #define TSRMG_BULK(id, type) ((type) (*((void ***) tsrm_get_ls_cache()))[TSRM_UNSHUFFLE_RSRC_ID(id)… argument
173 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) argument
174 #define TSRMG_BULK_STATIC(id, type) ((type) (*((void ***) TSRMLS_CACHE))[TSRM_UNSHUFFLE_RSRC_ID(id)… argument
202 #define TSRMG_STATIC(id, type, element) argument
/PHP-7.4/Zend/tests/arrow_functions/
H A D006.phpt8 $id = fn&(&$x) => $x;
9 $ref =& $id($var);
/PHP-7.4/Zend/tests/
H A Dassign_coalesce_001.phpt13 function id($arg) {
14 echo "id($arg)\n";
93 id(foo)
94 id(foo)
95 id(bar)
110 id(foo)
111 id(foo)
112 id(bar)
123 id(foo)
124 id(foo)
[all …]
H A Dassign_coalesce_002.phpt11 function id($arg) {
12 echo "id($arg)\n";
22 $ary[id($foo)] ??= do_throw("ex1");
48 $ary[new Dtor][id($foo)] ??= $bar;
67 $ary[id($foo)][new Dtor] ??= $bar;
75 id(foo)
79 id(foo)
82 id(foo)
H A Dassign_coalesce_003.phpt6 function id($arg) {
7 echo "id($arg)\n";
H A Dbug30346.phpt16 $id = 'page';
17 echo $post[$id.'_show'];
H A Dbug39297.phpt34 $id = 'Test';
38 $root[$id] = $child;
40 var_dump(compareByRef($root[$id], $child));
H A Dbug39346.phpt10 public function __construct($id) {
11 $this->_id = $id;
H A Dbug41209.phpt23 public function offsetGet($id) {}
25 public function offsetSet($id, $value) {}
27 public function offsetUnset($id) {}
29 public function offsetExists($id)
31 return isset($this->containers[(string) $id]);
37 var_dump(isset($cache[$id]));
42 Fatal error: Uncaught ErrorException: Undefined variable: id in %s:%d
H A Dbug41421.phpt27 #1 %s(%d): feof(Resource id #%d)
H A Dbug48004.phpt10 $data->id = 1;
20 [id] => 1
H A Dbug67633.phpt6 function id($x) {
17 foreach(id($array) as &$v) {
H A Dcast_to_string.phpt55 string(%d) "Resource id #%d"
H A Dsettype_string.phpt55 string(%d) "Resource id #%d"
/PHP-7.4/Zend/tests/return_types/
H A Dbug71092.phpt9 $data = [['id']];
11 case ['id']:
H A Drfc004.phpt9 function find($id) : User;
14 function find($id) {
19 …atal error: Declaration of UserGateway_MySql::find($id) must be compatible with UserGateway::find(…
/PHP-7.4/Zend/tests/varSyntax/
H A DindirectFcall.phpt6 function id($x = 'id') { return $x; }
10 id('var_dump')(1);
11 id('id')('var_dump')(2);
12 id('id')('id')('var_dump')(3);
13 id()()('var_dump')(4);
15 id(['udef', 'id'])[1]()('var_dump')(5);
16 (id((object) ['a' => 'id', 'b' => 'udef'])->a)()()()()('var_dump')(6);
20 $id($id)('var_dump')(7);
29 public static function id($x = [__CLASS__, 'id']) { return $x; }
33 [$obj, 'id']()('id')($id)('var_dump')(10);
[all …]
/PHP-7.4/Zend/
H A Dzend_API.h1112 #define Z_EXPECTED_TYPE_ENUM(id, str) id, argument
1113 #define Z_EXPECTED_TYPE_STR(id, str) str, argument
H A Dzend_builtin_functions.c1983 int id = zend_fetch_list_dtor_id(ZSTR_VAL(type)); in ZEND_FUNCTION() local
1985 if (id <= 0) { in ZEND_FUNCTION()
1992 if (!key && Z_RES_TYPE_P(val) == id) { in ZEND_FUNCTION()
H A Dzend_exceptions.c318 #define CHECK_EXC_TYPE(id, type) \ argument
319 …pvalue = zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 1, &value);…
321 …operty(i_get_exception_base(object), object, ZSTR_VAL(ZSTR_KNOWN(id)), ZSTR_LEN(ZSTR_KNOWN(id))); \
404 #define GET_PROPERTY(object, id) \ argument
405 zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 0, &rv)
406 #define GET_PROPERTY_SILENT(object, id) \ argument
407 zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 1, &rv)
H A Dzend_string.c64 #define _ZEND_STR_DSC(id, str) str, argument
H A Dzend_string.h520 #define _ZEND_STR_ID(id, str) id, argument

Completed in 116 milliseconds

12345678910>>...32