#21041 [Opn]: Incorect class propertyes
| From: | young at sl dot com dot ua | Date: | Mon, 16 Dec 2002 10:54:18 +0000 |
| Subject: | #21041 [Opn]: Incorect class propertyes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27836@lists.php.net to get a copy of this message | ||
ID: 21041
User updated by: young@sl.com.ua
Reported By: young@sl.com.ua
Status: Open
Bug Type: Scripting Engine problem
Operating System: Linux SUSE
PHP Version: 4.2.3
New Comment:
Triuble in
$ at string variable value in the class at the end of the string
class a{
var $a = "a$";
}
Error!
class a{
var $a = 'a$';
}
Work!
Previous Comments:
------------------------------------------------------------------------
[2002-12-16 04:51:49] young@sl.com.ua
This source generate error:
class rpcSender {
var $p_list = array (
"faxClient" => ".*",
"yurlicoClient" => "^[Y|N]$",
"idServerClient" => ^"1$"
);
}
But this:
$p_list = array (
"faxClient" => ".*",
"yurlicoClient" => "^[Y|N]$",
"idServerClient" => "^1$"
);
And this
class rpcSender {
var $p_list = array (
"faxClient" => ".*",
"yurlicoClient" => "[Y|N]",
"idServerClient" => "1"
);
}
Working
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21041&edit=1