Logo

Programming-Idioms

History of Idiom 55 > diff from v67 to v68

Edit summary for version 68 by programming-idioms.org:
[PHP] spaces, semicolon

Version 67

2018-03-13, 20:40:37

Version 68

2018-03-13, 20:43:20

Idiom #55 Convert integer to string

Create the string representation s (in radix 10) of integer value i.

Illustration

Idiom #55 Convert integer to string

Create the string representation s (in radix 10) of integer value i.

Illustration
Extra Keywords
int base radix conversion
Extra Keywords
int base radix conversion
Code
$s="$i"
Code
$s = "$i";