php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #4769 Params passed by reference in extension functions
Submitted: 2000-06-02 10:12 UTC Modified: 2002-01-04 14:58 UTC
From: clcollie at mindspring dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.0 Release OS: Linux Mandrake 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: clcollie at mindspring dot com
New email:
PHP Version: OS:

 

 [2000-06-02 10:12 UTC] clcollie at mindspring dot com
i'm working on a functions (sscanf/fscanf) to be registered with the scripting engine which requires that variables be passed by reference. this is easily done in user-land (&$variable), but there seems to be no obvious way to inform the compiler that the parameters accepted by c level functions should be pushed by ref.

any guidance ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-04 14:58 UTC] jimw@php.net
the func_arg_types field of the function_entry structure makes it possible to force parameters to be passed by reference. (L0t3k <cshmoove@hotmail.com> pointed out this could be closed on php-dev.)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 07:01:27 2025 UTC