ID:               21041
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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

Reply via email to