reorder
BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir)