Tuesday, 10 September 2013

Strings Expansion is changing order or the string

Strings Expansion is changing order or the string

I'm trying to so some normal variable expansion in a string and, when it's
in a function, it comes out out-of-order.
function MakeMessage99($startValue, $endValue) { "Ranges from $startValue
to $endValue" }
MakeMessage99(1, 100)
This returns Ranges from 1 100 to then it should return Ranges from 1 to 100

No comments:

Post a Comment