aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 433b8db..f47e221 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -890,10 +890,6 @@ pub trait JsonSerializable {
fn json_serialize(&self) -> PhpMixed;
}
-pub trait Countable {
- fn count(&self) -> i64;
-}
-
pub fn in_array(_needle: PhpMixed, _haystack: &PhpMixed, _strict: bool) -> bool {
todo!()
}
@@ -959,6 +955,10 @@ pub fn touch2(_path: &str, _mtime: i64) -> bool {
todo!()
}
+pub fn touch3(_path: &str, _mtime: i64, _atime: i64) -> bool {
+ todo!()
+}
+
/// PHP `PHP_OS_FAMILY` constant: the family of the host OS.
/// One of "Windows", "BSD", "Darwin", "Solaris", "Linux", "Unknown".
pub fn php_os_family() -> &'static str {