github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/includes/expr-strict-types-assignment.inc.md (about)

     1  ### Strict Types
     2  
     3  Unlike with the standard arithmetic operators (`+`, `-`, `*`, `/`), silent data
     4  casting isn't supported with arithmetic assignments like `+=`, `-=`, `*=` and
     5  `/=`. Not even when `strict-types` is disabled.
     6  
     7  You can work around this by using the slightly longer syntax: **variable =
     8  value op value**, for example:
     9  
    10  ```
    11  » $i = "3"
    12  » $i = $i + "2"
    13  » $i
    14  5
    15  ```
    16  
    17  Please note that this behaviour might change in a later release of Murex.