aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-16 13:47:39 +0900
committernsfisis <nsfisis@gmail.com>2026-05-16 13:47:39 +0900
commit94f6bd3f9d8347537f533d4edc414132601389d5 (patch)
tree16cba355d5b49a722f16a6415700bdcf33a91401 /crates/shirabe-php-shim/src
parentcd7d993215e310629f34fc1b48322cd451949893 (diff)
downloadphp-shirabe-94f6bd3f9d8347537f533d4edc414132601389d5.tar.gz
php-shirabe-94f6bd3f9d8347537f533d4edc414132601389d5.tar.zst
php-shirabe-94f6bd3f9d8347537f533d4edc414132601389d5.zip
feat(port): port PathDownloader.php
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index a9d0e3a..78f3cc3 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -480,6 +480,10 @@ pub fn rawurlencode(s: &str) -> String {
todo!()
}
+pub fn urlencode(s: &str) -> String {
+ todo!()
+}
+
pub fn base64_encode(data: &str) -> String {
todo!()
}
@@ -762,6 +766,9 @@ pub const PHP_MAJOR_VERSION: i64 = 8;
pub const PHP_MINOR_VERSION: i64 = 1;
pub const PHP_RELEASE_VERSION: i64 = 0;
+pub const PHP_WINDOWS_VERSION_MAJOR: i64 = 0;
+pub const PHP_WINDOWS_VERSION_MINOR: i64 = 0;
+
pub const GLOB_MARK: i64 = 8;
pub const GLOB_ONLYDIR: i64 = 1024;
pub const GLOB_BRACE: i64 = 4096;