1--TEST-- 2Bug GH-9441 (fseek does not work with php://input when data is not preread) 3--INI-- 4enable_post_data_reading=0 5--POST_RAW-- 6Content-Type: application/unknown 7a=123456789&b=ZYX 8--FILE-- 9<?php 10$input = fopen("php://input", "r"); 11var_dump(fseek($input, 10)); 12var_dump(ftell($input)); 13var_dump(fread($input, 10)); 14var_dump(file_get_contents("php://input")); 15?> 16--EXPECT-- 17int(0) 18int(10) 19string(7) "9&b=ZYX" 20string(17) "a=123456789&b=ZYX" 21