/PHP-7.4/ |
H A D | README.md | 107 ticket at [bugs.php.net](https://bugs.php.net) and reference the bug id using
|
H A D | UPGRADING | 198 public int $id; 202 This will enforce that $user->id can only be assigned integers and
|
/PHP-7.4/TSRM/ |
H A D | TSRM.c | 436 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 D | TSRM.h | 109 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 D | 006.phpt | 8 $id = fn&(&$x) => $x; 9 $ref =& $id($var);
|
/PHP-7.4/Zend/tests/ |
H A D | assign_coalesce_001.phpt | 13 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 D | assign_coalesce_002.phpt | 11 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 D | assign_coalesce_003.phpt | 6 function id($arg) { 7 echo "id($arg)\n";
|
H A D | bug30346.phpt | 16 $id = 'page'; 17 echo $post[$id.'_show'];
|
H A D | bug39297.phpt | 34 $id = 'Test'; 38 $root[$id] = $child; 40 var_dump(compareByRef($root[$id], $child));
|
H A D | bug39346.phpt | 10 public function __construct($id) { 11 $this->_id = $id;
|
H A D | bug41209.phpt | 23 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 D | bug41421.phpt | 27 #1 %s(%d): feof(Resource id #%d)
|
H A D | bug48004.phpt | 10 $data->id = 1; 20 [id] => 1
|
H A D | bug67633.phpt | 6 function id($x) { 17 foreach(id($array) as &$v) {
|
H A D | cast_to_string.phpt | 55 string(%d) "Resource id #%d"
|
H A D | settype_string.phpt | 55 string(%d) "Resource id #%d"
|
/PHP-7.4/Zend/tests/return_types/ |
H A D | bug71092.phpt | 9 $data = [['id']]; 11 case ['id']:
|
H A D | rfc004.phpt | 9 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 D | indirectFcall.phpt | 6 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 D | zend_API.h | 1112 #define Z_EXPECTED_TYPE_ENUM(id, str) id, argument 1113 #define Z_EXPECTED_TYPE_STR(id, str) str, argument
|
H A D | zend_builtin_functions.c | 1983 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 D | zend_exceptions.c | 318 #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 D | zend_string.c | 64 #define _ZEND_STR_DSC(id, str) str, argument
|
H A D | zend_string.h | 520 #define _ZEND_STR_ID(id, str) id, argument
|