feat(php): Simple web demo
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
# PHP Recommended Run Flags
|
||||
|
||||
```php
|
||||
php -d memory_limit=4G \
|
||||
-d opcache.enable_cli=1 \
|
||||
php -d opcache.enable_cli=1 \
|
||||
-d opcache.jit_buffer_size=256M \
|
||||
-d opcache.jit=tracing \
|
||||
ext/php/run.php run $PATH_TO_ARBORIX_BUNDLE $ARGS
|
||||
```
|
||||
|
||||
For bundle execution test server:
|
||||
|
||||
```php
|
||||
nix build .#tricu-php
|
||||
ARBORICX_LIB=../../../lib/libarboricx.so php \
|
||||
-S localhost:8081 \
|
||||
-t ./result/share/tricu-php/public \
|
||||
-d ffi.enable=true
|
||||
```
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Rule
|
||||
|
||||
Put consumed data first in recursive workers.
|
||||
Put consumed data first in recursive workers in `tricu` code.
|
||||
|
||||
*AVOID* this shape:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user