viraj wrote:
if func_get_args supports pass by reference, we could have avoid the
loop and pre-defined arg list.
something like..
extract(func_get_args) :D
Absolute! I'm not sure why there isn't some kind of way to retrieve a
reference in this manner, but I suspect it's related to knowing
if func_get_args supports pass by reference, we could have avoid the
loop and pre-defined arg list.
something like..
extract(func_get_args) :D
cheers!
~viraj
On Wed, Jan 6, 2010 at 11:04 AM, viraj wrote:
> thanks rob!
>
> here goes the working method.
>
> public function bind_result(&$arg1=
thanks rob!
here goes the working method.
public function bind_result(&$arg1=null,&$arg2=null,&$arg3=null) {
$numArgs = func_num_args();
$args = array();
for ($i=1; $i<= $numArgs; $i++) {
$args['arg' . $i] = &${'arg'.$i};
viraj wrote:
hi all,
i'm trying to write a wrapper function for "mysqli_stmt_bind_results".
and expect it to work the same way it accepts and bind results to the
original function.
the problem is, i couldn't find a way to pass the args by reference
via func_get_args and register the out put from
hi all,
i'm trying to write a wrapper function for "mysqli_stmt_bind_results".
and expect it to work the same way it accepts and bind results to the
original function.
the problem is, i couldn't find a way to pass the args by reference
via func_get_args and register the out put from call_user_func
Kevin Waterson wrote:
This one time, at band camp, Tom Rogers <[EMAIL PROTECTED]> wrote:
php can output the stream without having to save it to a file first if
that is what is worrying you.
That was sorta my concern, but not so much as a file, does it copy to
memory anywhere, or, is it a dire
Kevin Waterson wrote:
This one time, at band camp, Justin French <[EMAIL PROTECTED]> wrote:
In other words, you HTML source looks like this:
NOT
Kevin, et all.
Can this be posible? I mean where RAWDATA beening
any image?
Cesar
--
PHP General Mailing List (http://www.php.net/)
To uns
Hi,
Friday, January 23, 2004, 3:18:06 PM, you wrote:
KW> This one time, at band camp, Tom Rogers <[EMAIL PROTECTED]> wrote:
>> php can output the stream without having to save it to a file first if
>> that is what is worrying you.
KW> That was sorta my concern, but not so much as a file, does i
This one time, at band camp, Tom Rogers <[EMAIL PROTECTED]> wrote:
> php can output the stream without having to save it to a file first if
> that is what is worrying you.
That was sorta my concern, but not so much as a file, does it copy to
memory anywhere, or, is it a direct stream to the brow
Hi,
Friday, January 23, 2004, 2:17:07 PM, you wrote:
KW> In a recent discussion about the MS terra server it was mentioned
KW> this could not be done with PHP because the terraserver
KW> " has special front-end code that allows images to be passed by reference,
KW> so the image data goes directl
This one time, at band camp, Justin French <[EMAIL PROTECTED]> wrote:
> In other words, you HTML source looks like this:
>
>
>
> NOT
>
>
Yes, but how is this different from anything the terraserver is doing?
when the images.php script is called if would do something like
Select the image
On Friday, January 23, 2004, at 03:17 PM, Kevin Waterson wrote:
The implication is that the 'middle layer' (PHP) would slow things down
to an unusable state. so, when I extract an image from the database and
echo it to a webpage, is there any copying done? or is it a direct
stream to the webpage
In a recent discussion about the MS terra server it was mentioned
this could not be done with PHP because the terraserver
" has special front-end code that allows images to be passed by reference,
so the image data goes directly from the database access back end to the
client browser, without h
Hi,
Tuesday, January 14, 2003, 11:01:33 AM, you wrote:
P> -BEGIN PGP SIGNED MESSAGE-
P> Hash: SHA1
P> On Monday 13 January 2003 20:01, Tom Rogers wrote:
>> Hi,
>>
>> Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
>> P> -BEGIN PGP SIGNED MESSAGE-
>> P> Hash: SHA1
>>
>> P> I did
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 13 January 2003 20:01, Tom Rogers wrote:
> Hi,
>
> Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
> P> -BEGIN PGP SIGNED MESSAGE-
> P> Hash: SHA1
>
> P> I did a complex class that works with XML parsing and complex structured
> whe
Hi,
Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
P> -BEGIN PGP SIGNED MESSAGE-
P> Hash: SHA1
P> I did a complex class that works with XML parsing and complex structured where
P> I used references extensivly and now I'm surprised with:
P> Warning: Call-time pass-by-reference has been
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I did a complex class that works with XML parsing and complex structured where
I used references extensivly and now I'm surprised with:
Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it b
17 matches
Mail list logo