Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6079705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:58:37+00:00 2026-05-23T10:58:37+00:00

I am in the process of upgrading a PHP code base to be able

  • 0

I am in the process of upgrading a PHP code base to be able to run on PHP5.3+ and I need a list of functions that make use of wrappers.

http://www.php.net/manual/en/wrappers.php

This page mentions; fopen(), copy(), file_exists() and filesize(). I know for a fact that there are other functions; file_get_contents(), file() and others.

Does anyone has a complete list? Or perhaps an easy way to “grep” through a directory to look for functions using wrappers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:58:38+00:00Added an answer on May 23, 2026 at 10:58 am

    grep the php source for php_stream_open_wrapper_ex calls, which should give the PHP_FUNCTIONs that directly interact with wrappers.

    A rough and probably partially wrong list (-B 100 is not exact):

    $ find . -name '*.c'| xargs grep -B 100 php_stream_open_wrapper_ex| grep PHP_FUNCTION
    ./ext/standard/url.c-PHP_FUNCTION(rawurlencode)
    ./ext/standard/url.c-PHP_FUNCTION(rawurldecode)
    ./ext/standard/url.c-PHP_FUNCTION(get_headers)
    ./ext/standard/file.c-PHP_FUNCTION(file_get_contents)
    ./ext/standard/file.c-PHP_FUNCTION(file_put_contents)
    ./ext/standard/file.c-PHP_FUNCTION(file)
    ./ext/standard/file.c-PHP_FUNCTION(tempnam)
    ./ext/standard/file.c-PHP_FUNCTION(mkdir)
    ./ext/standard/file.c-PHP_FUNCTION(rmdir)
    ./ext/standard/file.c-PHP_FUNCTION(readfile)
    ./ext/oci8/oci8_interface.c-PHP_FUNCTION(oci_lob_export)
    ./ext/hash/hash.c-PHP_FUNCTION(hash)
    ./ext/hash/hash.c-PHP_FUNCTION(hash_file)
    ./ext/hash/hash.c-PHP_FUNCTION(hash_update)
    ./ext/hash/hash.c-PHP_FUNCTION(hash_update_stream)
    ./ext/hash/hash.c-PHP_FUNCTION(hash_update_file)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently in the process of upgrading old II6 automation scripts that use the
I have a process that uploads files via PHP but the resulting files end
We're in the process of upgrading one of our SQL Server instances from 2000
We have in the process of upgrading our application to full Unicode comptibility as
We are in the process of upgrading our VS2008 to the new SP1, but
We are in the process of upgrading our projects from C# 2.0 / VS2005
We are in the process of upgrading to WebSphere 7.0 on Windows 2008 R2.
We are in the process of upgrading an ASP.NET MVC 1.0 application to the
I'm in the process of upgrading an app to Rails 3/Rspec 2. I see
We are in the process of upgrading our sql server to 2K8 R2 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.