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.

ini_set<br />

string ini_set(string variable, string value)<br />

Sets the configuration option variable to value. Returns the previous value if successful or<br />

false if not. The new value is kept for the duration of the current script and is restored<br />

after the script ends.<br />

intval<br />

int intval(mixed value[, int base])<br />

Returns the integer value for value using the optional base base (if unspecified, base 10 is<br />

used). If value is a nonscalar value (object or array), the function returns 0.<br />

ip2long<br />

int ip2long(string address)<br />

Converts a dotted (standard format) IP address to an IPv4 address.<br />

iptcparse<br />

array iptcparse(string data)<br />

Parses the IPTC (International Press Telecommunications Council) data block data into an<br />

array of individual tags with the tag markers as keys. Returns false if an error occurs or if<br />

no IPTC data is found in data.<br />

is_array<br />

bool is_array(mixed value)<br />

Returns true if value is an array; otherwise, returns false.<br />

is_bool<br />

bool is_bool(mixed value)<br />

Returns true if value is a Boolean; otherwise, returns false.<br />

is_dir<br />

bool is_dir(string path)<br />

Returns true if path exists and is a directory; otherwise, returns false. This information is<br />

cached; you can clear the cache with clearstatcache( ).<br />

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

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

is_dir | 415

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

Saved successfully!

Ooh no, something went wrong!