feat(php): Simple web demo

This commit is contained in:
2026-05-11 13:07:35 -05:00
parent d37d443021
commit ea748b2e5e
7 changed files with 186 additions and 83 deletions

View File

@@ -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
```

View File

@@ -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: