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 9175275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:53:10+00:00 2026-06-17T16:53:10+00:00

I am trying to allow a few functions that are all contained in one

  • 0

I am trying to allow a few functions that are all contained in one script to pass by reference. I don’t want to turn this on globally but when I add the following directive in the script where I want pass by reference, I still see the PHP warnings:

Deprecated: Call-time pass-by-reference has been deprecated

I was expecting to see those warnings go away after I overrode the PHP INI file.

 ini_set("allow_call_time_pass_reference", "true");

How do I do this or is that correct and the warnings are there because the PHP interpreter is not parsing my local ini_set() directive only reading php.ini?

  • 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-06-17T16:53:11+00:00Added an answer on June 17, 2026 at 4:53 pm
    1. http://php.net/manual/en/ini.core.php : allow_call_time_pass_reference => PHP_INI_PERDIR

    2. http://php.net/manual/en/configuration.changes.modes.php : PHP_INI_PERDIR => Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3)

    Answer: you can’t set it with ini_set.

    And if you will be using php 5.4.0, this configuration option has been removed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to allow very primitive customization based on being able to pass
Im trying to create a PNG sequencer class that will allow me to change
I'm trying to create a generic data model that will allow for a particular
I am trying to run this update statement but informix doesn't allow me to.
I'm trying to write a program that will allow me to give it a
Im trying to allow users to login to a website by verifying if they
I'm trying to allow users to register on my web application via Facebook. As
I'm trying to allow users to input multiple id #'s separated by commas in
I am trying to allow OpenCL to render to 2D textures. I first encountered
I'm trying to allow admin to create pages on the root path. So far

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.