aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/preg.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-20 14:53:23 +0900
committernsfisis <nsfisis@gmail.com>2026-06-20 15:08:49 +0900
commit8313c66b5b07e7b8af8db8faa044a0b3a1783fa1 (patch)
tree4add563bca8f6c8188a9fd675288684660e0f3a6 /crates/shirabe-php-shim/src/preg.rs
parent6c30a3e065b4d7f597331b0b79a226f8e3480976 (diff)
downloadphp-shirabe-8313c66b5b07e7b8af8db8faa044a0b3a1783fa1.tar.gz
php-shirabe-8313c66b5b07e7b8af8db8faa044a0b3a1783fa1.tar.zst
php-shirabe-8313c66b5b07e7b8af8db8faa044a0b3a1783fa1.zip
feat(php-shim): implement is_numeric
Was a todo!() that panicked when ProcessExecutor::reset_max_jobs probed COMPOSER_MAX_PARALLEL_PROCESSES (archive, diagnose, init, ...). Ints and floats are numeric; strings delegate to the existing is_numeric_string, which agrees with PHP across the tested vectors. Booleans, null and arrays are not numeric. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/preg.rs')
0 files changed, 0 insertions, 0 deletions