Hướng dẫn is_resource in php
(PHP 4, PHP 5, PHP 7, PHP 8) is_resource — Finds whether a variable is a resource Descriptionis_resource(mixed Parametersvalue The variable being evaluated. Return Values Returns ExamplesExample #1 is_resource() example
= fopen("php://stdout", "w"); The above example will output: Notes
btleffler [AT] gmail [DOT] com ¶ 11 years ago
CertaiN ¶ 8 years ago
Anonymous ¶ 4 years ago
= fopen('http://www.google.com', 'r'); |