File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed
Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -46,4 +46,4 @@ install:
4646
4747script :
4848 - vendor/bin/phpunit --coverage-text
49- - time php examples/benchmark-throughput.php
49+ - time php examples/91- benchmark-throughput.php
Original file line number Diff line number Diff line change 88// This simple example only accepts an optional host parameter to send the
99// request to.
1010//
11- // $ php examples/http.php
12- // $ php examples/http.php reactphp.org
11+ // $ php examples/01- http.php
12+ // $ php examples/01- http.php reactphp.org
1313
1414use React \EventLoop \Factory ;
1515use React \Stream \DuplexResourceStream ;
Original file line number Diff line number Diff line change 88// This simple example only accepts an optional host parameter to send the
99// request to.
1010//
11- // $ php examples/https.php
12- // $ php examples/https.php reactphp.org
11+ // $ php examples/02- https.php
12+ // $ php examples/02- https.php reactphp.org
1313
1414use React \EventLoop \Factory ;
1515use React \Stream \DuplexResourceStream ;
Original file line number Diff line number Diff line change 44// This allows you to output everything you type on your keyboard or to redirect
55// the pipes to show contents of files and other streams.
66//
7- // $ php examples/cat.php
8- // $ php examples/cat.php < README.md
9- // $ echo hello | php examples/cat.php
7+ // $ php examples/11- cat.php
8+ // $ php examples/11- cat.php < README.md
9+ // $ echo hello | php examples/11- cat.php
1010
1111use React \EventLoop \Factory ;
1212use React \Stream \ReadableResourceStream ;
Original file line number Diff line number Diff line change 77// This example accepts a number of parameters to control the timeout (-t 1),
88// the input file (-i /dev/zero) and the output file (-o /dev/null).
99//
10- // $ php examples/benchmark-throughput.php
11- // $ php examples/benchmark-throughput.php -t 10 -o zero.bin
12- // $ php examples/benchmark-throughput.php -t 60 -i zero.bin
10+ // $ php examples/91- benchmark-throughput.php
11+ // $ php examples/91- benchmark-throughput.php -t 10 -o zero.bin
12+ // $ php examples/91- benchmark-throughput.php -t 60 -i zero.bin
1313
1414require __DIR__ . '/../vendor/autoload.php ' ;
1515
You can’t perform that action at this time.
0 commit comments