aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-02 05:12:39 +0900
committernsfisis <nsfisis@gmail.com>2026-07-02 05:12:39 +0900
commit7fd7df848cdbbd8792b0043799018d51408458fc (patch)
tree28aeeef87c3d86a662ed1328b53b1a2865df2c6d /Cargo.lock
parenteab3a31c5750013c53c0eb02adc976d6757dc9f7 (diff)
downloadphp-shirabe-7fd7df848cdbbd8792b0043799018d51408458fc.tar.gz
php-shirabe-7fd7df848cdbbd8792b0043799018d51408458fc.tar.zst
php-shirabe-7fd7df848cdbbd8792b0043799018d51408458fc.zip
feat(php-rpc): implement Runtime::has_constant/get_constant via php-rpc
Runtime::hasConstant/getConstant need a real PHP interpreter's defined()/ constant() to answer platform requirement checks (e.g. PHP_ZTS, PHP_INT_SIZE), which the shim can't provide since Rust constants aren't queryable by string. Extend shirabe-php-rpc's protocol to carry one string argument and return the full PHP scalar range, add defined/constant dispatch entries to the worker, and wire Runtime and get_php_version/get_php_binary onto them.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c5624c6..047ce92 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2055,6 +2055,7 @@ name = "shirabe-php-rpc"
version = "0.0.1"
dependencies = [
"shirabe-external-packages",
+ "shirabe-php-shim",
"tempfile",
]