-Original Message-
From: Daniel Kolbo [mailto:kolb0...@umn.edu]
Sent: 11 July 2010 23:19
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The
following
example script exhibits the behaviour which I cannot understand.
I'm pretty sure that this is *not* a
Ah, so assigning a reference to a variable already holding a reference
changes that variable's reference only in the same way that unsetting a
reference doesn't unset the other variables referencing the same thing, yes?
$a = 5;
$b = $a;
print $a;
5
unset($b); // does not affect $a
print $a;
5
David Harkness wrote:
Ah, so assigning a reference to a variable already holding a reference
changes that variable's reference only in the same way that unsetting a
reference doesn't unset the other variables referencing the same thing, yes?
$a = 5;
$b = $a;
print $a;
5
unset($b); //
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote:
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the behaviour which I cannot
On 13 July 2010 09:46, Richard Quadling rquadl...@gmail.com wrote:
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote:
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The
Richard Quadling wrote:
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote:
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the
Richard Quadling wrote:
On 13 July 2010 09:46, Richard Quadling rquadl...@gmail.com wrote:
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote:
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the behaviour which I cannot understand.
[code]
?php
class A
{
public static $a = 3;
function
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the behaviour which I cannot understand.
[code]
?php
class A
{
public static $a = 3;
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the behaviour which I cannot understand.
[code]
?php
class A
{
public static $a = 3;
function __construct()
{
//self::$a = $this; //[i]
10 matches
Mail list logo