Page 97 - Open Soource Technologies 304.indd
P. 97

Unit 4: Functions



            Classes and objects                                                                   Notes
            call_user_method, call_user_method_array, class_exists, get_class, get_class_methods, get_class_
            vars, get_declared_classes,get_object_vars, get_parent_class, is_subclass_of, method_exists
            Date and time
            checkdate, date, getdate, gettimeofday, gmdate, gmmktime, gmstrftime, localtime, microtime,
            mktime, strftime, strtotime, time
            Errors and logging

            assert , assert_options, closelog, crc32, define_syslog_variables, error_log, error_reporting, openlog,
            restore_error_handler,set_error_handler, syslog, trigger_error, user_error
            Files, directories, and filesystem

            basename, chdir, chgrp, chmod, chown, chroot, clearstatcache, closedir, copy, dirname,
            disk_free_space, disk_total_space, fclose, feof,fflush, fgetc, fgetcsv, fgets, fgetss, file, file_exists,
            fileatime, filectime, filegroup, fileinode, filemtime, fileowner, fileperms,filesize, filetype, flock,
            fopen, fpassthru, fputs, fread, fscanf, fseek, fstat, ftell, ftruncate, fwrite, getcwd, getlastmod,
            is_dir,is_executable, is_file, is_link, is_readable, is_uploaded_file, is_writable, is_writeable, link,
            linkinfo, lstat, mkdir,move_uploaded_file, opendir, pathinfo, pclose, readdir, readfile, readlink,
            realpath, rename, rewind, rewinddir, rmdir, set_file_buffer,stat, symlink, tempnam, tmpfile,
            touch, umask, unlink
            Functions
            call_user_func, call_user_func_array, create_function, func_get_arg, func_get_args, func_num_
            args, function_exists,get_defined_functions, get_extension_funcs, get_loaded_extensions,
            register_shutdown_function, register_tick_function,unregister_tick_function
            HTTP
            get_browser, get_meta_tags, header, headers_sent, parse_str, parse_url, rawurldecode,
            rawurlencode, setcookie
            Mail
            mail

            Math
            abs , acos, asin, atan, atan2, base_convert, bindec, ceil, cos, decbin, dechex, decoct, deg2rad, exp,
            floor, getrandmax, hexdec, lcg_value, log,log10, max, min, mt_getrandmax, mt_rand, mt_srand,
            number_format, octdec, pi, pow, rad2deg, rand, round, sin, sqrt, srand, tan
            Network

            checkdnsrr, fsockopen, gethostbyaddr, gethostbyname, gethostbynamel, getmxrr, getprotobyname,
            getprotobynumber, getservbyname,getservbyport, ip2long, long2ip, pfsockopen, socket_get_
            status, socket_set_blocking, socket_set_timeout
            Output control
            flush , ob_end_clean, ob_end_flush, ob_get_contents, ob_get_length, ob_gzhandler, ob_implicit_
            flush, ob_start
            PHP options/info

            assert, assert_options, dl, extension_loaded, get_cfg_var, get_current_user, get_extension_funcs,
            get_included_files,get_loaded_extensions, get_magic_quotes_gpc, get_required_files, getenv,
            getlastmod, getmyinode, getmypid, getrusage, highlight_file,highlight_string, ini_alter,


                                             LOVELY PROFESSIONAL UNIVERSITY                                    91
   92   93   94   95   96   97   98   99   100   101   102