Skip to content

Commit 4f9ce92

Browse files
author
bzick
committed
Merge remote-tracking branch 'origin/master'
2 parents e6e296b + 98059d5 commit 4f9ce92

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

readme.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@ Using command line you may start scripts with [php ion](https://github.com/php-i
1414

1515
# Usage
1616

17-
* `ion run <file.php>`
18-
* `ion eval <php-code>`
19-
* `ion info`
20-
* `ion versions`, `ion versions all`
21-
* `ion version <ion-version>`
22-
23-
24-
# More one thing
25-
26-
> How to detect what script started with ionizer
27-
28-
Check enviroment variable `IONIZER_STARTER` via `getenv('IONIZER_STARTER')`. Or check `ION` class.
17+
* `ion run <file.php>` — parse and execute the specified file, like `php <file.php>`
18+
* `ion eval <php-code>` — evaluate a string as PHP code, like `php -r <code>`
19+
* `ion info` — show summary info
20+
* `ion versions`, `ion versions all` - show available versions
21+
* `ion version <ion-version>` - switch to specific version
22+
* and more, see `ion help`

0 commit comments

Comments
 (0)