From:             [EMAIL PROTECTED]
Operating system: *
PHP version:      5CVS-2003-06-26 (dev)
PHP Bug Type:     Feature/Change Request
Bug description:  extension functions can't return by reference

Description:
------------
functions implemented in a C extension can't return
by reference while native PHP functions can
(although one would expect that you can do *more*
with a function implemented in C, not *less*)

this first came to mind when someone requested
func_get_arg() to be extended to fetch parameters
by reference so that you can implement PHP
functions that take a variable number of parameters
by reference ...

there seems to becode somewhere in the Zend Engine that
always de-references return values ...?


-- 
Edit bug report at http://bugs.php.net/?id=24348&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24348&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24348&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24348&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24348&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24348&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24348&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24348&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24348&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24348&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24348&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24348&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24348&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24348&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24348&r=gnused

Reply via email to