[OpenSIPS-Users] A word of caution on migrating to 3.1
Liviu Chircu
liviu at opensips.org
Fri Feb 28 10:10:25 EST 2020
On 28.02.2020 12:06, Grant Bagdasarian wrote:
> the body of an if statement doesn’t require any brackets if there is
> only a single statement.
I think Johan was referring to this [1] change, where this (strange?!)
syntax will no longer be allowed in 3.1:
if $var(foo) == "bar" {
...
}
[1]:
https://opensips.org/About/Version-3-1-0#toc3<https://opensips.org/About/Version-3-1-0>
--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
www.opensips.org/events
OpenSIPS Bootcamp, Miami, March 2020
www.opensips.org/training
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200228/d4060703/attachment.html>
More information about the Users
mailing list