From c18e25b3384c7640b2bc4d77314fddcc90651d21 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 11 Aug 2026 12:31:06 +0900 Subject: chore(php-shim): drop the ob_start()/ob_get_clean() ports Output buffering captures whatever the PHP interpreter would echo to stdout. The shim routes no output through a buffer, so these functions could never capture anything and stayed todo!(). Record the gap in docs/known-incompatibilities.md instead. --- crates/shirabe-php-shim/src/output.rs | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 crates/shirabe-php-shim/src/output.rs (limited to 'crates/shirabe-php-shim/src/output.rs') diff --git a/crates/shirabe-php-shim/src/output.rs b/crates/shirabe-php-shim/src/output.rs deleted file mode 100644 index d4d83200..00000000 --- a/crates/shirabe-php-shim/src/output.rs +++ /dev/null @@ -1,9 +0,0 @@ -// PHP output buffering captures everything the interpreter would echo to stdout. The shim has no -// general echo-to-buffer routing, so a buffer here would silently capture nothing. -pub fn ob_start() -> bool { - todo!() -} - -pub fn ob_get_clean() -> Option { - todo!() -} -- cgit v1.3.1-4-g156e