05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

egister_tick_function<br />

void register_tick_function(string name[, mixed arg1[, mixed arg2<br />

[, ... mixed argN]]])<br />

Registers the function name to be called on each tick. The function is called with the given<br />

arguments. Obviously, registering a tick function can have a serious impact on the performance<br />

of your script.<br />

rename<br />

int rename(string old, string new)<br />

Renames the file old to new and returns true if the renaming was successful and false if not.<br />

reset<br />

mixed reset(array array)<br />

Resets the array’s internal pointer to the first element and returns the value of that element.<br />

restore_error_handler<br />

void restore_error_handler( )<br />

Reverts to the error handler in place prior to the most recent call to set_error_handler( ).<br />

rewind<br />

int rewind(int handle)<br />

Sets the file pointer for handle to the beginning of the file. Returns true if the operation was<br />

successful and false if not.<br />

rewinddir<br />

void rewinddir(int handle)<br />

Sets the file pointer for handle to the beginning of the list of files in the directory.<br />

rmdir<br />

int rmdir(string path)<br />

Removes the directory path. If the directory is not empty or the <strong>PHP</strong> process does not have<br />

appropriate permissions, or if any other error occurs, false is returned. If the directory is<br />

successfully deleted, true is returned.<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved.<br />

rmdir | 437

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!