Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit 64f4823

Browse files
committed
+ base.rfc
1 parent 0a4d56d commit 64f4823

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

base.rfc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -494,22 +494,22 @@ echo "next line".__LINE__."\n";
494494
</code>
495495

496496
This code:
497-
1. first returns the contents of the PHP website,
498-
2. then executes the `echo` statement.
497+
1. first returns the contents of the PHP website,
498+
2. then executes the `echo` statement.
499499

500500
<code php>
501501
$coroutine = spawn file_get_contents('https://php.net');
502502
echo "next line".__LINE__."\n";
503503
</code>
504504

505505
This code:
506-
1. starts a coroutine with the `file_get_contents` function.
507-
2. The next line is executed without waiting for the result of `file_get_contents`.
508-
3. The coroutine is executed after the `echo` statement.
506+
1. starts a coroutine with the `file_get_contents` function.
507+
2. The next line is executed without waiting for the result of `file_get_contents`.
508+
3. The coroutine is executed after the `echo` statement.
509509

510510
The `spawn` construct is available in two variations:
511-
* `spawn function_call` - creates a coroutine from a callable expression
512-
* `spawn closure_block` - creates a coroutine and defines a closure
511+
* `spawn function_call` - creates a coroutine from a callable expression
512+
* `spawn closure_block` - creates a coroutine and defines a closure
513513

514514
<code php>
515515
// Executing a known function

0 commit comments

Comments
 (0)