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

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to