ID: 2892
Updated by: andi
Reported By: [EMAIL PROTECTED]
Old-Status: Analyzed
Status: Assigned
Bug Type: Scripting Engine problem
PHP Version: 4.0 Beta 3
Assigned To: Andi
Comments:
Interactive mode is very limited and only meant to check simple things with. We can
keep it as an assigned bug but I don't think it'll ever be fixed.
Previous Comments:
---------------------------------------------------------------------------
[2000-07-23 11:06:27] [EMAIL PROTECTED]
Yes it does.
---------------------------------------------------------------------------
[2000-07-23 02:54:18] [EMAIL PROTECTED]
Is this problem still occuring in the most recent release?
---------------------------------------------------------------------------
[1999-12-02 06:43:12] [EMAIL PROTECTED]
Script set.php3:
<?
class x {
var $a=2;
function seta ($b) {
$this->a = $b;
echo "$bn";
}
}
$y = new x();
echo $y->a,"n";
$y->seta(10);
echo $y->a,"n";
?>
Run: php -f set.php3
get:
2
10
10
still OK. Now run php -a < set.php3:
Interactive mode enabled
Content-Type: text/html
2
2
Huh? where's my method call? Or interactive mode isn't what I thought it is?
Strange thing is that php < set.php3 does work, so what "interactive mode" is in fact?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=2892&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]