Re: [PHP] Question on references and writing a PHP extension..

2003-10-17 Thread Robert Cummings
On Fri, 2003-10-17 at 22:04, Philip Hallstrom wrote: > Hi - > I'm just getting into writing my own PHP extension and have a > question I can't find the answer to. > Not to be picky, but this group is developing with PHP, not generally developing for PHP :) Try the PECL group at: [EMAIL PROT

[PHP] Question on references and writing a PHP extension..

2003-10-17 Thread Philip Hallstrom
Hi - I'm just getting into writing my own PHP extension and have a question I can't find the answer to. Let's say I've written an extension that has a "double_number" function which acts like the following in PHP $n = 10; double_number(&$n); // $n = 20; In my extension do I need to use a