Question: Variable variables and variable functions work great, but how can
you execute arbitrary code statements using php code stored inside
variables?
// Example
function stuff() {
echo 'pStuff/p';
} // end stuff()
$function = 'stuff';
$function(); // works
/*
Given the above, I
On Thursday 27 June 2002 01:34, Henning Sittler wrote:
Question: Variable variables and variable functions work great, but how can
you execute arbitrary code statements using php code stored inside
variables?
eval()
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source
Perfect. Thank you Jason.
Henning Sittler
www.inscriber.com
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 1:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] variable statements
On Thursday 27 June 2002 01:34, Henning Sittler wrote
3 matches
Mail list logo