Searched refs:desiredpos (Results 1 – 1 of 1) sorted by relevance
411 desiredpos = -1L; in PHP_FUNCTION() local415 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ll", &zsrc, &maxlen, &desiredpos) == FAILU… in PHP_FUNCTION()421 if (desiredpos >= 0) { in PHP_FUNCTION()426 if (position >= 0 && desiredpos > position) { in PHP_FUNCTION()428 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION()429 } else if (desiredpos < position) { in PHP_FUNCTION()431 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION()436 "Failed to seek to position %ld in the stream", desiredpos); in PHP_FUNCTION()
Completed in 8 milliseconds