Lines Matching refs:string
2 Bug #80972: Memory exhaustion on invalid string offset
14 $string_float = (string) $float;
16 $string = 'Here is some text for good measure';
19 echo 'Float casted to string compile', \PHP_EOL;
20 $string[(string) 10e120] = 'E';
21 var_dump($string);
26 /* This same bug also permits to modify the first byte of a string even if
29 /* This must not affect the string value */
30 $string["wrong"] = "f";
34 var_dump($string);
38 Float casted to string compile
39 Cannot access offset of type string on string
40 Cannot access offset of type string on string
41 string(34) "Here is some text for good measure"