0ddaed959d
The vector translator produced a type that was boxed-array-or-string, which we couldnt guard on. Since applying a SetM to a string will almost always produce a string, change it to report string instead (which will still be guarded on).
11 linhas
100 B
PHP
11 linhas
100 B
PHP
<?php
|
|
|
|
function foo(&$str) {
|
|
$str[3] = '.';
|
|
$str .= "\n";
|
|
}
|
|
|
|
$a = "abc";
|
|
foo($a);
|
|
var_dump($a);
|