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.

unregister_tick_function<br />

void unregister_tick_function(string name)<br />

Removes the function name, previously set using register_tick_function( ), as a tick function.<br />

It will no longer be called during each tick.<br />

unserialize<br />

mixed unserialize(string data)<br />

Returns the value stored in data, which must be a value previously serialized using<br />

serialize( ).<br />

unset<br />

void unset(mixed name[, mixed name2[, ... mixed nameN]])<br />

Removes the given variables entirely; <strong>PHP</strong> will no longer know about the variables, even if<br />

they previously had values.<br />

urldecode<br />

string urldecode(string url)<br />

Returns a string created from decoding the URI-encoded url. Sequences of characters<br />

beginning with a % followed by a hexadecimal number are replaced with the literal the<br />

sequence represents. See rawurldecode, which this function differs from in only in that it<br />

decodes plus signs (+) as spaces.<br />

urlencode<br />

string urlencode(string url)<br />

Returns a string created by URI encoding url. Certain characters are replaced by sequences<br />

of characters beginning with a % followed by a hexadecimal number; for example, spaces<br />

are replaced with %20. This function differs from rawurlencode( ) in that it encodes spaces<br />

as plus signs (+).<br />

user_error<br />

void user_error(string error[, int type])<br />

This function is an alias for trigger_error( ).<br />

454 | Appendix A: Function Reference<br />

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

Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!