Code: Select all
<?php
int fseek(int fp, int offset);
?>Thanks for your help...!
Moderator: General Moderators
Code: Select all
<?php
int fseek(int fp, int offset);
?>That's PHP5 - you can force types on parameters of methods. In this case, the two parameters (fp and offset) of the class-method fseek() need to be of type integer. The methods itself will return an integer "int fseek(...)".Calipoop wrote:I'm reading a book that keeps sticking an "int" in front of functions, e.g.
is the int just a temp variable or something? can't find anything about int in the index or the web...Code: Select all
<?php int fseek(int fp, int offset); ?>
Thanks for your help...!