mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
18 lines
266 B
Markdown
18 lines
266 B
Markdown
---
|
|
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>
|