TAILIEUCHUNG - Beginning PHP6, Apache, MySQL Web Development- P25

Beginning PHP6, Apache, MySQL Web Development- P25:Welcome to Beginning PHP6, Apache, MySQL Web Development , your new trusty resource for assistance in creating your own dynamic web sites. There are a lot of technologies available that can be used to deliver great web sites, and we ’ re glad you chose the Apache/MySQL/PHP (sometimes referred to simply as AMP) approach. You may or may not have had a taste of these three components in the past, but either way we ’ re confident that you will be impressed with the power that lies within them | Appendix C PHP6 Functions Miscellaneous Functions Function signatures marked with a are not available when running on Windows. Function Description void halt_compiler void Halt the execution of the PHP compiler. int connection_aborted void Return whether the client connection has been aborted. int connection_status void Return the connection status. mixed constant string name Return the value of a constant. bool define string name mixed value bool case_insensitive Define a constant. bool defined string name Return whether a constant exists. void die mixed status Alias for exit . mixed eval string string Evaluate a string as PHP code. void exit mixed status Terminate execution of the script. mixed get_browser string user_ agent bool return_array Return an object with information about a browser. Information will be returned as an array if return_array is true. Relies on . mixed highlight_file string filename bool return Output the syntax-highlighted source PHP file. The source will be returned as a string instead if return is true. mixed highlight_string string string bool return Output a syntax-highlighted string of PHP code. The string will be returned instead if return is true. int ignore_user_abort bool value Set whether a script should continue executing after the user aborts the connection. string php_strip_ whitespace string filename Return the source code of a file with comments and whitespace removed. mixed show_source string filename Alias for highlight_file . int sleep int seconds Pause execution of the script for a specified number of seconds. 751 Appendix C PHP6 Functions Function Description array sys_getloadavg void Return an array with the system s load averages over the last 1 5 and 15 minutes. mixed time_nanosleep int seconds int nanoseconds Pause execution of the script for a specified number of seconds and nanoseconds. bool time_sleep_until float timestamp Pause execution of the script until a specified time. string uniqid prefix .