php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21041 Incorect class propertyes
Submitted: 2002-12-16 04:51 UTC Modified: 2002-12-16 05:09 UTC
From: young at sl dot com dot ua Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.3 OS: Linux SUSE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: young at sl dot com dot ua
New email:
PHP Version: OS:

 

 [2002-12-16 04:51 UTC] young at sl dot com dot 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 04:54 UTC] young at sl dot com dot ua
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!
 [2002-12-16 05:09 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 00:00:03 2025 UTC