microsoft / microsoft/msphpsql
Return Type of resource replace by class
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.9k
- Forks
- 385
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 1
Description
Hi,
I was wondering, as I understand the type of resource is something in the future version they going to deprecate/replace.
Now when i was just playing around with CURL under PHP8.0 and saw following items in documentation.

The documentation is based for PHP Storm, but is their a similar implementation possible?
As an example that's direct from PHP: https://www.php.net/manual/en/class.curlhandle.php
As a future implementation towards 8.1 or next version, can we apply the same logic under the SQL system?
Just a suggestion
Thanks for all the hard work!!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the PHP driver's existing SQL API return types and the PHP 8 class-based resource pattern referenced in the issue. A useful outcome would define whether SQL resources should be replaced by classes in a future version and identify the affected API surface; no file or test is named, so project exploration is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100