欧美AV无码一区二区,麻豆+无码+国产在线+观看,欧美狂躁少妇XXXX高潮无码,美女扒开屁股让男人桶免费观看,极品粉嫩国产18尤物在线播放

get_resource_id

(PHP 8)

get_resource_id Returns an integer identifier for the given resource

說(shuō)明

get_resource_id(resource $resource): int

This function provides a type-safe way for generating the integer identifier for a resource.

參數

resource

The evaluated resource handle.

返回值

The int identifier for the given resource.

This function is essentially an int cast of resource to make it easier to retrieve the resource ID.

范例

示例 #1 get_resource_id() example

<?php
$handle 
fopen('./storage/logs/lumen.log''rt');

echo (int) 
$handle "\n\n";

echo 
get_resource_id($handle);

?>

以上例程會(huì )輸出:

698

698

參見(jiàn)

欧美AV无码一区二区,麻豆+无码+国产在线+观看,欧美狂躁少妇XXXX高潮无码,美女扒开屁股让男人桶免费观看,极品粉嫩国产18尤物在线播放