Skip to content

Commit 1e42042

Browse files
Remove misleading strlen and comment
Co-authored-by: Florian Engelhardt <[email protected]>
1 parent 9cb6ba1 commit 1e42042

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

profiling/tests/correctness/allocation_time_combined.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ function main() {
1818
$xs = str_repeat("x", 10_000_000); // 10MB source
1919
$ys = str_replace("x", "y", $xs); // 10MB allocation in frameless function
2020
$zs = str_replace("y", "z", $ys); // 10MB allocation in frameless function
21-
strlen($zs); // Use the result to prevent optimization
2221
}
2322
}
2423

0 commit comments

Comments
 (0)