<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 28.02.2020 12:06, Grant Bagdasarian
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACK6f-qi-PtqHMPeC1a4h3z57Za48=KD4d4FKkiFY5o-CpdR1g@mail.gmail.com">the
body of an if statement doesn’t require any brackets if there is
only a single statement.</blockquote>
<p><tt>I think Johan was referring to this [1] change, where this
(strange?!) syntax will no longer be allowed in 3.1:<br>
</tt></p>
<p><tt>if $var(foo) == "bar" {<br>
...<br>
}</tt></p>
<p><tt>[1]: </tt><tt><a
href="https://opensips.org/About/Version-3-1-0#toc3">https://opensips.org/About/Version-3-1-0#toc3</a></tt><tt><a
href="https://opensips.org/About/Version-3-1-0"></a></tt></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit, Amsterdam, May 2020
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events">www.opensips.org/events</a>
OpenSIPS Bootcamp, Miami, March 2020
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/training">www.opensips.org/training</a></pre>
</body>
</html>