Chr


Definition: Returns the character associated with the specified ANSI character code.

 

Here’s a question for you: Suppose you have an ASCII value and you need to convert that value to a real character; how are you supposed to do that?

Well, one way is to simply take the integer value (ASCII values are always integer values) and convert its data type to character. This command converts ASCII 34 to a character value and then stores that value in the variable $a:

 

$a = [char ]34

 

When you run this command and then echo back the value of $ a youshould get the following:

 

"

 

 

 

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.