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.

the table used by htmlspecialchars( ) is returned. Optionally, you can specify which quotes<br />

style you want returned; the possible values are the same as those in the translation<br />

functions:<br />

ENT_COMPAT (default) Converts double quotes, but not single quotes<br />

ENT_NOQUOTES Does not convert either double quotes or single quotes<br />

ENT_QUOTES Converts both single and double quotes<br />

get_included_files<br />

array get_included_files( )<br />

Returns an array of the files included into the current script by include( ), include_once( ),<br />

require( ), and require_once( ).<br />

get_loaded_extensions<br />

array get_loaded_extensions( )<br />

Returns an array containing the names of every extension compiled and loaded into <strong>PHP</strong>.<br />

get_magic_quotes_gpc<br />

bool get_magic_quotes_gpc( )<br />

Returns the current value of the quotes state for GET/POST/cookie operations. If true, all<br />

single quotes (''), double quotes (""), backslashes (\), and NUL-bytes ("\0") are automatically<br />

escaped and unescaped as they go from the server to the client and back.<br />

get_meta_tags<br />

array get_meta_tags(string path[, int include])<br />

Parses the file path and extracts any HTML meta tags it locates. Returns an associative<br />

array, the keys of which are name attributes for the meta tags, and the values of which are<br />

the appropriate values for the tags. The keys are in lowercase, regardless of the case of the<br />

original attributes. If include is specified and true, the function searches for path in the<br />

include path.<br />

get_object_vars<br />

array get_object_vars(object object)<br />

Returns an associative array of the properties for the given object. For each property, an<br />

element with a key of the property name and a value of the current value is added to the<br />

array. Properties that do not have current values are not returned in the array, even if they<br />

are defined in the class.<br />

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

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

get_object_vars | 407

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

Saved successfully!

Ooh no, something went wrong!