< 1 2   Sort: Date

How Many Escape Sequences Are Recognized in Double-Quoted Strings
How Many Escape Sequences Are Recognized in Double-Quoted Strings? - PHP Script Tips - Understanding String Literals and Operations There are 12 escape sequences you can use in double-quoted strings: \\ - Represents the back slash character. \" - Represents the double quote character. \$ - Represent...
2007-04-20, 4660👍, 0💬

How Many Escape Sequences Are Recognized in Single-Quoted Strings
How Many Escape Sequences Are Recognized in Single-Quoted Strings? - PHP Script Tips - Understanding String Literals and Operations There are 2 escape sequences you can use in single-quoted strings: \\ - Represents the back slash character. \' - Represents the single quote character.
2007-04-20, 4659👍, 0💬

How Many Ways to Include Variables in Double-Quoted Strings
How Many Ways to Include Variables in Double-Quoted Strings? - PHP Script Tips - Understanding String Literals and Operations There are 3 formats to include variables in double-quoted strings: "part 1 $variable part 2" - This is the simplest format to include a variable in a string. The variable nam...
2007-04-20, 4646👍, 0💬

How To Apply UUEncode to a String
How To Apply UUEncode to a String? - PHP Script Tips - PHP Built-in Functions for Strings UUEncode (Unix-to-Unix Encoding) is a simple algorithm to convert a string of any characters into a string of printable characters. UUEncode is reversible. The reverse algorithm is called UUDecode. PHP offeres ...
2007-04-21, 4640👍, 0💬

How To Include Variables in Double-Quoted Strings
How To Include Variables in Double-Quoted Strings? - PHP Script Tips - Understanding String Literals and Operations Variables included in double-quoted strings will be interpolated. Their values will be concatenated into the enclosing strings. For example, two statements in the following PHP script ...
2007-04-20, 4635👍, 0💬

How To Compare Two Strings with Comparison Operators
How To Compare Two Strings with Comparison Operators? - PHP Script Tips - Understanding String Literals and Operations PHP supports 3 string comparison operators, &lt;, ==, and &gt;, that generates Boolean values. Those operators use ASCII values of characters from both strings to determine ...
2007-04-20, 4633👍, 0💬

What Are the Special Characters You Need to Escape in Single-Quoted Stings
What Are the Special Characters You Need to Escape in Single-Quoted Stings? - PHP Script Tips - Understanding String Literals and Operations There are two special characters you need to escape in a single-quote string: the single quote (') and the back slash (\). Here is a PHP script example of sing...
2007-04-20, 4618👍, 0💬

How To Assigning a New Character in a String
How To Assigning a New Character in a String? - PHP Script Tips - Understanding String Literals and Operations The string element expression, $string{index}, can also be used at the left side of an assignment statement. This allows you to assign a new character to any position in a string. Here is a...
2007-04-20, 4599👍, 0💬

How Many Ways to Include Array Elements in Double-Quoted Strings
How Many Ways to Include Array Elements in Double-Quoted Strings? - PHP Script Tips - Understanding String Literals and Operations There are 2 formats to include array elements in double-quoted strings: "part 1 $array[key] part 2" - This is called simple format. In this format, you can not specify t...
2007-04-20, 4539👍, 0💬

< 1 2   Sort: Date