I'm trying to use arrays to implement a sort of data tree. For the code to
work, it is essential that the nodes can be edited after they have become
part of the tree. That would require that the array elements are pushed
by reference rather than by value.
?php
$arr1 = array ();
Thanks, the empasant helps!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I'm trying to execute function variables. This works fine outside class
code, but gives a fatal error when run within a class. The demo code is
here:
?php
function bar1 () {
echo Yep, in bar1() right now\n;
}
function foo1 () {
I just did. The result is the same however
Regards, Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks, this helps. The code now works.
In case this is truely a bug in PHP, where should I log it? Anything that
I should do to make sure that it gets followed up?
Regards, Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK guys, thanks for all your inputs.
Based on your guidance, I have tested the following code with a
series of variations:
class foobar {
function bar2 () {
echo Yep, in bar2() right now\n;
}
public function foo2
6 matches
Mail list logo