[PHP] Re: Strange IF(condition) behaviour

2004-01-06 Thread Michal O¹kera
Hi Tim, > > if (false) > ?>Hello ?> > > or > > if (true) > ?>Hello ?> > at first, I'd like to point out that semicolon as a statement separator is not required before end of the php fragment and is supplied automatically during parsing. That's why the if-statements initiated above are eva

[PHP] PHP objects problem

2003-11-05 Thread Michal O¹kera
Hi, I've discovered strange behavior of PHP. The following script has no sense and value, it is simplified due to clearness. The output of the script should be (in my opinion): class A2 class A1 But it isn't (using PHP 4.3.4). The problem arise, when the Callback function of a1 object calls GetOt