📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 14:01:22
📂
/
/
opt
/
alt
/
tests
/
alt-php85-pecl-http_4.3.1-5.el8
/
tests
✏️
Editing: messagebody008.phpt
--TEST-- message body to callback --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php echo "Test\n"; $file = new http\Message\Body(fopen(__FILE__,"r")); $s = ""; $file->toCallback( function($body, $string) use (&$s) { $s.=$string; } ); var_dump($s === (string) $file); ?> DONE --EXPECT-- Test bool(true) DONE
💾 Save Changes
❌ Cancel