Results 1 to 7 of 7

Thread: What are the PHP Options and Information PHP?

  1. #1
    Join Date
    Jun 2009
    Posts
    230

    What are the PHP Options and Information PHP?

    Hello friends,
    I have just started with the PHP programming language, so I am not having much idea about it. I have learned some basic codes that are useful for the simple coding that is done in PHP.!! While going through my tutorials I read about the options and information about the PHP, which was not enough to understand. So thought that would get some help from you guys.!! Please explain me what are the PHP Options and Information PHP? Reply me soon.!!

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: What are the PHP Options and Information PHP?

    These functions give you access to extensive information about PHP itself, as the runtime configuration, loaded extensions, version and much more. You'll find functions to edit options. As the star of the PHP function phpinfo (). If the directive magic_quotes_sybase is ON it will override magic_quotes_gpc. Having both directives enabled means only single quotes are escaped with another single quote (''). Double quotes, backslashes and NUL's will be escaped.

  3. #3
    Join Date
    Apr 2008
    Posts
    1,948

    Re: What are the PHP Options and Information PHP?

    The following are an explanation of the use of configuration directives :
    • assert.active boolean - Active feedback type assert ().
    • assert.bail boolean - Terminate script execution on failed assertions.
    • assert.warning boolean - Issue a PHP warning for each failed assertion.
    • assert.callback string - Function defined by the programmer to call on failed assertions.
    • assert.quiet_eval boolean - Use the current setting of error_reporting () during assertion expression evaluation. If enabled, no errors are displayed (error_reporting (0) implicit) during the evaluation. If disabled, errors are displayed depending on the configuration of error_reporting ().

  4. #4
    Join Date
    Nov 2005
    Posts
    1,323

    Re: What are the PHP Options and Information PHP?

    The modes determine when and where a PHP directive may or may not be amended, and each directive of the manual is directed by one of these modes. For example, some guidelines can be changed in a script with the PHP function ini_set (), then others need to be changed in php.ini or httpd.conf files. I am describing more about the configuration directives, which is as follows :
    • enable_dl boolean - This directive is really only useful when PHP is compiled as an Apache module. You can turn dynamic loading of extension with the PHP function dl () on a case by case basis for each virtual server.
    • max_execution_time integer - Sets the maximum time to execute a script, in seconds. This helps prevent poorly written scripts from tying up the server. The default is 30 seconds. When running PHP from the command line, the default is 0.
    • max_input_time integer - This option specifies the maximum time to analyze the input data, like POST, GET and file uploads.

  5. #5
    Join Date
    May 2008
    Posts
    2,389

    Re: What are the PHP Options and Information PHP?

    I have described about the predefined Constants of phpcredits (). The following list is the same :
    • CREDITS_GROUP - A list of core developers.
    • CREDITS_GENERAL - General credits. Design of language, concepts, PHP authors and SAPI module.
    • CREDITS_SAPI - A list of API servers, and their authors.
    • CREDITS_MODULES - A list of PHP extensions, and their authors.
    • CREDITS_DOCS - The appropriations for the documentation team.

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    Re: What are the PHP Options and Information PHP?

    The following are the PHP Options and Info Functions :
    • assert_options - Set / get the various assert flags
    • assert - Checks if assertion is false
    • dl - Loads a PHP extension on the fly
    • extension_loaded - Determines if an extension is loaded or not
    • gc_collect_cycles - Force the passage of the drain of memory
    • gc_disable - Disables the collector of circular references
    • gc_enable - Active collector circular references
    • gc_enabled - Returns the status collector of circular references
    • get_cfg_var - Returns the value of a PHP configuration option
    • get_current_user - Returns the name of the owner of the current script

  7. #7
    Join Date
    Mar 2008
    Posts
    349

    Re: What are the PHP Options and Information PHP?

    I have also provided you with the list of the functions that can be useful for the PHP Options and Information PHP :
    • get_defined_constants - Returns the list of constants and their values
    • get_extension_funcs - List the functions of a module
    • get_include_path - Get the value of the include_path configuration option
    • get_included_files - Returns an array with the names of files that are included in a script
    • get_loaded_extensions - Returns list of all modules compiled and loaded
    • get_magic_quotes_gpc - Gets the current configuration option magic_quotes_gpc
    • get_magic_quotes_runtime - Returns the current setting of magic_quotes_runtime
    • get_required_files - Alias of get_included_files

Similar Threads

  1. Printing Options available in HTC One XL
    By Paandu in forum Portable Devices
    Replies: 4
    Last Post: 23-04-2012, 03:37 PM
  2. Options after B.com in...
    By whatshouldido in forum Education Career and Job Discussions
    Replies: 1
    Last Post: 11-05-2011, 07:22 PM
  3. Replies: 5
    Last Post: 08-04-2011, 10:36 AM
  4. 9920G GPU Options ?
    By Atalaya in forum Monitor & Video Cards
    Replies: 4
    Last Post: 03-09-2010, 02:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,999,886.53834 seconds with 17 queries