We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830c896 commit 40880cfCopy full SHA for 40880cf
benchmark/filter/filter.php
@@ -0,0 +1,11 @@
1
+<?php
2
+
3
+use Rx\Observable;
4
5
+return function() use ($dummyObserver) {
6
+ Observable::range(1, pow(10, 3))
7
+ ->filter(function($value) {
8
+ return $value % 2 == 0;
9
+ })
10
+ ->subscribe($dummyObserver);
11
+};
0 commit comments