mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
19 lines
283 B
Markdown
19 lines
283 B
Markdown
---
|
|
date: 2020-11-13
|
|
id: bc32aee3-3e3c-42e8-b56e-8e8e7f3a8d39
|
|
title: get~resourceid~()
|
|
---
|
|
|
|
# Description
|
|
|
|
Returns a resource id as an integer. See PR[^1]
|
|
|
|
# Syntax
|
|
|
|
``` php
|
|
$resourceId = get_resource_id($resource);
|
|
```
|
|
|
|
# Footnotes
|
|
|
|
[^1]: <https://github.com/php/php-src/pull/5427>
|