Skip to content

Commit 64cd4bf

Browse files
committed
Replace with a saner example
1 parent 84b5386 commit 64cd4bf

File tree

1 file changed

+2
-8
lines changed
  • user_guide_src/source/testing/benchmark

1 file changed

+2
-8
lines changed

user_guide_src/source/testing/benchmark/007.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
$iterator = new \CodeIgniter\Debug\Iterator();
44

5-
// Add a new task
6-
$iterator->add('single_concat', static function () {
7-
$str = 'Some basiclittlestring concatenation test.';
8-
});
9-
10-
// Add another task
11-
$iterator->add('double', static function ($a = 'little') {
12-
$str = "Some basic {$little} string test.";
5+
$iterator->add('double', static function ($word = 'little') {
6+
"Some basic {$word} string test.";
137
});

0 commit comments

Comments
 (0)