05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

define_syslog_variables<br />

void define_syslog_variables( )<br />

Initializes all variables and constants used by the syslog functions openlog( ), syslog( ), and<br />

closelog( ). This function should be called before using any of the syslog functions.<br />

deg2rad<br />

double deg2rad(double number)<br />

Converts number from degrees to radians and returns the result.<br />

dirname<br />

string dirname(string path)<br />

Returns the directory component of path. This includes everything up to the filename<br />

portion (see basename) and doesn’t include the trailing path separator.<br />

disk_free_space<br />

double disk_free_space(string path)<br />

Returns the number of bytes of free space available on the disk partition or filesystem at path.<br />

disk_total_space<br />

double disk_total_space(string path)<br />

Returns the number of bytes of total space available (including both used and free) on the<br />

disk partition or filesystem at path.<br />

dl<br />

int dl(string filename)<br />

Dynamically loads the <strong>PHP</strong> extension given in filename.<br />

doubleval<br />

double doubleval(mixed value)<br />

Returns the floating-point value for value. Ifvalue is a nonscalar value (object or array), the<br />

function returns 0.<br />

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

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

doubleval | 393

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

Saved successfully!

Ooh no, something went wrong!