Date: 03/05/01
- Next message: ales <email protected>: "[PHP-DEV] PHP 4.0 Bug #9562: Memory leak in ext/pgsql/pgsql.c"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9559 Updated: /usr/bin/ld: cannot find -lcrypto"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: chrris <email protected>
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: <email protected>() causes parse error
The following code causes an error message:
Parse error: parse error in /home/cri/public_html/unsettest.php on line 14
<?php
error_reporting(15);
class someClass {
var $someVar = array();
function add($name, $val) {
$this->someVar[$name] = $val;
}
function del($name) {
return <email protected>($this->someVar[$name]);
}
}
$someObj = new someClass;
$someObj->add("bike", "blue");
$someObj->del("bike");
?>
-- Edit Bug report at: http://bugs.php.net/?id=9561&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ales <email protected>: "[PHP-DEV] PHP 4.0 Bug #9562: Memory leak in ext/pgsql/pgsql.c"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9559 Updated: /usr/bin/ld: cannot find -lcrypto"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

